|
@@ -83,7 +83,7 @@
|
|
:rowKey="record => record.id"
|
|
:rowKey="record => record.id"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:data="loadData"
|
|
:data="loadData"
|
|
- :scroll="{ x: 1460, y: tableHeight }"
|
|
|
|
|
|
+ :scroll="{ x: 1660, y: tableHeight }"
|
|
bordered
|
|
bordered
|
|
>
|
|
>
|
|
<!-- 操作 -->
|
|
<!-- 操作 -->
|
|
@@ -172,11 +172,29 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '收款金额',
|
|
|
|
|
|
+ title: '应收金额',
|
|
width: 100,
|
|
width: 100,
|
|
align: 'center',
|
|
align: 'center',
|
|
customRender: function (text, record) {
|
|
customRender: function (text, record) {
|
|
- const val = record.settleState == 'SETTLED' ? record.settledAmount : record.unsettleAmount
|
|
|
|
|
|
+ const val = record.totalAmount
|
|
|
|
+ return val || val == 0 ? '¥' + val : '--'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '已收金额',
|
|
|
|
+ width: 100,
|
|
|
|
+ align: 'center',
|
|
|
|
+ customRender: function (text, record) {
|
|
|
|
+ const val = record.settledAmount
|
|
|
|
+ return val || val == 0 ? '¥' + val : '--'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '待收金额',
|
|
|
|
+ width: 100,
|
|
|
|
+ align: 'center',
|
|
|
|
+ customRender: function (text, record) {
|
|
|
|
+ const val = record.unsettleAmount
|
|
return val || val == 0 ? '¥' + val : '--'
|
|
return val || val == 0 ? '¥' + val : '--'
|
|
}
|
|
}
|
|
},
|
|
},
|