|
@@ -167,6 +167,7 @@ export default {
|
|
billStatus: undefined,
|
|
billStatus: undefined,
|
|
dealerProvinceSn: undefined,
|
|
dealerProvinceSn: undefined,
|
|
fullPaymentFlag: undefined,
|
|
fullPaymentFlag: undefined,
|
|
|
|
+ warehouseSn: undefined,
|
|
printStatus: 'NO_PRINT'
|
|
printStatus: 'NO_PRINT'
|
|
},
|
|
},
|
|
totalData: {
|
|
totalData: {
|
|
@@ -215,7 +216,7 @@ export default {
|
|
{ title: '收款单号', dataIndex: 'bookNo', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '收款单号', dataIndex: 'bookNo', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '收款日期', dataIndex: 'receiptDate', width: '9%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '收款日期', dataIndex: 'receiptDate', width: '9%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '客户名称', dataIndex: 'payerName', align: 'left', width: '14%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '客户名称', dataIndex: 'payerName', align: 'left', width: '14%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
- // { title: '仓库', dataIndex: 'warehouse', align: 'left', width: '14%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
|
|
|
+ // { title: '仓库', dataIndex: 'warehouseName', align: 'left', width: '14%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '财务编码', dataIndex: 'dealerEntity.kdMidCustomerFnumber', align: 'left', width: '10%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '财务编码', dataIndex: 'dealerEntity.kdMidCustomerFnumber', align: 'left', width: '10%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '订单金额', dataIndex: 'orderAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
{ title: '订单金额', dataIndex: 'orderAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
{ title: '收款金额', dataIndex: 'receiptAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
{ title: '收款金额', dataIndex: 'receiptAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
@@ -230,16 +231,12 @@ export default {
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '7%', align: 'center' }
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '7%', align: 'center' }
|
|
]
|
|
]
|
|
if (this.isShowWarehouse) {
|
|
if (this.isShowWarehouse) {
|
|
- arr.splice(5, 0, { title: '仓库', dataIndex: 'warehouse', align: 'left', width: '14%', customRender: function (text) { return text || '--' }, ellipsis: true })
|
|
|
|
|
|
+ arr.splice(5, 0, { title: '仓库', dataIndex: 'warehouseName', align: 'left', width: '14%', customRender: function (text) { return text || '--' }, ellipsis: true })
|
|
}
|
|
}
|
|
return arr
|
|
return arr
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- // 选择仓库
|
|
|
|
- handleWarehouse (val) {
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
changeTab (v) {
|
|
changeTab (v) {
|
|
this.currentTab = v
|
|
this.currentTab = v
|
|
this.pageInit()
|
|
this.pageInit()
|
|
@@ -285,7 +282,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
const retArr = []
|
|
const retArr = []
|
|
- const auditInfo = await getBatchLastProcessInstance({ 'businessType': 'FINANCE_BOOK', 'businessSnList': bookSns }).then(res => res.data)
|
|
|
|
|
|
+ const auditInfo = await getBatchLastProcessInstance({ 'businessType': 'FINANCE_BOOK', 'businessSnList': bookSns }).then(res => res.data)
|
|
console.log(auditInfo)
|
|
console.log(auditInfo)
|
|
bookSns.map(item => {
|
|
bookSns.map(item => {
|
|
// 授信明细
|
|
// 授信明细
|
|
@@ -337,7 +334,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- auditInfo = await getBatchLastProcessInstance({ 'businessType': 'FINANCE_BOOK', 'businessSnList': [list.bookSn] }).then(res => res.data)
|
|
|
|
|
|
+ auditInfo = await getBatchLastProcessInstance({ 'businessType': 'FINANCE_BOOK', 'businessSnList': [list.bookSn] }).then(res => res.data)
|
|
}
|
|
}
|
|
console.log(auditInfo)
|
|
console.log(auditInfo)
|
|
this.spinning = true
|
|
this.spinning = true
|
|
@@ -424,6 +421,7 @@ export default {
|
|
billStatus: undefined,
|
|
billStatus: undefined,
|
|
dealerProvinceSn: undefined,
|
|
dealerProvinceSn: undefined,
|
|
fullPaymentFlag: undefined,
|
|
fullPaymentFlag: undefined,
|
|
|
|
+ warehouseSn: undefined,
|
|
printStatus: this.currentTab == 2 ? 'NO_PRINT' : undefined
|
|
printStatus: this.currentTab == 2 ? 'NO_PRINT' : undefined
|
|
}
|
|
}
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|