合同邮寄悬浮
This commit is contained in:
@@ -128,6 +128,10 @@ export default {
|
|||||||
if(res.success) {
|
if(res.success) {
|
||||||
let arr = res.result[this.opeStatusKey] || []
|
let arr = res.result[this.opeStatusKey] || []
|
||||||
let result = []
|
let result = []
|
||||||
|
// 我的合同详情后端返回邮寄信息为payMailContract对象,将对象处理为数组
|
||||||
|
if (!(arr instanceof Array)) {
|
||||||
|
arr = [arr]
|
||||||
|
}
|
||||||
arr.map(tt => {
|
arr.map(tt => {
|
||||||
result.push(this.showTemplate(tt))
|
result.push(this.showTemplate(tt))
|
||||||
})
|
})
|
||||||
@@ -151,7 +155,7 @@ export default {
|
|||||||
result = `${item.paymentDate}到账${item.amountReceived}`
|
result = `${item.paymentDate}到账${item.amountReceived}`
|
||||||
} else if(this.statusKey === 'bill') {
|
} else if(this.statusKey === 'bill') {
|
||||||
result = `${item.billDate}新增发票,发票单号:${item.billNo}`
|
result = `${item.billDate}新增发票,发票单号:${item.billNo}`
|
||||||
} else if(this.statusKey === 'mail') {
|
} else if(this.statusKey === 'mail' || this.statusKey === 'payMailContract') {
|
||||||
result = `${item.sendDate}新增邮寄信息,邮寄单号:${item.postNo}`
|
result = `${item.sendDate}新增邮寄信息,邮寄单号:${item.postNo}`
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<project-table :column-data="columns" :table-data="dataSource" @change="handlePageChange">
|
<project-table :column-data="columns" :table-data="dataSource" @change="handlePageChange">
|
||||||
<!-- 打包、需要发票、到账、开票、邮寄-->
|
<!-- 打包、需要发票、到账、开票、邮寄-->
|
||||||
<template v-slot:status="{record, text}">
|
<template v-slot:status="{record, text}">
|
||||||
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="mail"></status-slot>
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="payMailContract" :get-info-func="getContractDetailById"></status-slot>
|
||||||
</template>
|
</template>
|
||||||
<!-- 项目名称-->
|
<!-- 项目名称-->
|
||||||
<template v-slot:projectName="{record, text}">
|
<template v-slot:projectName="{record, text}">
|
||||||
@@ -63,6 +63,7 @@ import { JeroListMixin } from '@/mixins/JeroListMixin'
|
|||||||
import ProjectTable from '@comp/table/ProjectTable'
|
import ProjectTable from '@comp/table/ProjectTable'
|
||||||
import MineContractModule from '@views/mineContract/modules/MineContractModule'
|
import MineContractModule from '@views/mineContract/modules/MineContractModule'
|
||||||
import StatusSlot from '@comp/tools/StatusSlot'
|
import StatusSlot from '@comp/tools/StatusSlot'
|
||||||
|
import { getContractDetailById } from '@api/incomePaymentsApi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'MineContract',
|
name: 'MineContract',
|
||||||
@@ -104,6 +105,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getContractDetailById,
|
||||||
/**
|
/**
|
||||||
* 分页变化获取数据
|
* 分页变化获取数据
|
||||||
* @param pagination
|
* @param pagination
|
||||||
|
|||||||
Reference in New Issue
Block a user