给采购入库和销售出库增加最终欠款的展示列
This commit is contained in:
@@ -186,10 +186,10 @@
|
||||
</span>
|
||||
<template slot="customRenderDebt" slot-scope="value, record">
|
||||
<a-tooltip title="有付款单">
|
||||
<span style="color:green" v-if="value>0 && record.hasFinancialFlag">{{value}}</span>
|
||||
<span style="color:green" v-if="value>0 && value>record.lastDebt">{{value}}</span>
|
||||
</a-tooltip>
|
||||
<a-tooltip title="暂未付款">
|
||||
<span style="color:red" v-if="value>0 && !record.hasFinancialFlag">{{value}}</span>
|
||||
<span style="color:red" v-if="value>0 && value===record.lastDebt">{{value}}</span>
|
||||
</a-tooltip>
|
||||
<span v-if="value===0">{{value}}</span>
|
||||
</template>
|
||||
@@ -279,7 +279,7 @@
|
||||
},
|
||||
// 默认索引
|
||||
defDataIndex:['action','organName','number','materialsList','operTimeStr','userName','materialCount','totalPrice','totalTaxLastMoney',
|
||||
'needInMoney','changeAmount','debt','status'],
|
||||
'changeAmount','debt','lastDebt','status'],
|
||||
// 默认列
|
||||
defColumns: [
|
||||
{
|
||||
@@ -326,6 +326,7 @@
|
||||
{ title: '本次欠款', dataIndex: 'debt',width:80,
|
||||
scopedSlots: { customRender: 'customRenderDebt' }
|
||||
},
|
||||
{ title: '最终欠款', dataIndex: 'lastDebt',width:80},
|
||||
{ title: '备注', dataIndex: 'remark',width:200},
|
||||
{ title: '状态', dataIndex: 'status', width: 80, align: "center",
|
||||
scopedSlots: { customRender: 'customRenderStatus' }
|
||||
|
||||
@@ -196,10 +196,10 @@
|
||||
</span>
|
||||
<template slot="customRenderDebt" slot-scope="value, record">
|
||||
<a-tooltip title="有收款单">
|
||||
<span style="color:green" v-if="value>0 && record.hasFinancialFlag">{{value}}</span>
|
||||
<span style="color:green" v-if="value>0 && value>record.lastDebt">{{value}}</span>
|
||||
</a-tooltip>
|
||||
<a-tooltip title="暂未收款">
|
||||
<span style="color:red" v-if="value>0 && !record.hasFinancialFlag">{{value}}</span>
|
||||
<span style="color:red" v-if="value>0 && value===record.lastDebt">{{value}}</span>
|
||||
</a-tooltip>
|
||||
<span v-if="value===0">{{value}}</span>
|
||||
</template>
|
||||
@@ -289,7 +289,7 @@
|
||||
},
|
||||
// 默认索引
|
||||
defDataIndex:['action','organName','number','materialsList','operTimeStr','userName','materialCount','totalPrice','totalTaxLastMoney',
|
||||
'needOutMoney','changeAmount','debt','status'],
|
||||
'changeAmount','debt','lastDebt','status'],
|
||||
// 默认列
|
||||
defColumns: [
|
||||
{
|
||||
@@ -336,6 +336,7 @@
|
||||
{ title: '本次欠款', dataIndex: 'debt',width:80,
|
||||
scopedSlots: { customRender: 'customRenderDebt' }
|
||||
},
|
||||
{ title: '最终欠款', dataIndex: 'lastDebt',width:80},
|
||||
{ title: '销售人员', dataIndex: 'salesManStr',width:120},
|
||||
{ title: '备注', dataIndex: 'remark',width:200},
|
||||
{ title: '状态', dataIndex: 'status', width: 80, align: "center",
|
||||
|
||||
Reference in New Issue
Block a user