|
@@ -16,8 +16,8 @@
|
|
|
<table border cellspacing="0" cellpadding="5" width="100%">
|
|
|
<tr>
|
|
|
<td>款项用途:供应商结算</td>
|
|
|
- <td>付款日期:2022-12-12 12:12:12</td>
|
|
|
- <td>付款金额:¥8000.00</td>
|
|
|
+ <td>付款日期:{{ $methodsTools.onlyForma(formData.payTime) }}</td>
|
|
|
+ <td>付款金额:¥{{ formData.settleMoney }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
@@ -102,6 +102,9 @@
|
|
|
<span v-if="items.scope === 'time'">{{
|
|
|
$methodsTools.onlyForma(item[items.prop])
|
|
|
}}</span>
|
|
|
+ <div v-else-if="items.scope === 'businessList'">
|
|
|
+ <div v-for="item in item[items.prop]">{{ item }}</div>
|
|
|
+ </div>
|
|
|
<span v-else>
|
|
|
{{ items.leftCh }}{{ item[items.prop]
|
|
|
}}{{ items.prop1 ? item[items.prop1] : "" }}
|
|
@@ -149,7 +152,12 @@ export default {
|
|
|
{ label: "业务员", prop: "createUsername", width: "80" },
|
|
|
{ label: "业务号", prop: "createNo", width: "80" },
|
|
|
{ label: "下单客户", prop: "clientName" },
|
|
|
- { label: "业务类型", prop: "educationName", prop1: "businessName" },
|
|
|
+ {
|
|
|
+ label: "业务类型",
|
|
|
+ prop: "businessNames",
|
|
|
+ scope: "businessList",
|
|
|
+ width: "180",
|
|
|
+ },
|
|
|
{ label: "姓名", prop: "userName", width: "60" },
|
|
|
{ label: "身份证号", prop: "userCard" },
|
|
|
{ label: "交资料日期", prop: "submitDataTime", scope: "time" },
|
|
@@ -181,7 +189,7 @@ export default {
|
|
|
return function (array) {
|
|
|
let num = 0;
|
|
|
array.forEach((i) => (num += i.settleMoney));
|
|
|
- return parseFloat(num);
|
|
|
+ return num.toFixed(2);
|
|
|
};
|
|
|
},
|
|
|
isShow: {
|