fix: 开票回写发票行回显票面金额作为可匹配与匹配结算单金额
This commit is contained in:
@@ -473,9 +473,7 @@
|
|||||||
min-width="180"
|
min-width="180"
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
<template #default="{ row }">{{
|
<template #default="{ row }">{{ formatMoney(row.availableInvoiceAmount) }}</template>
|
||||||
row.issued ? '-' : formatMoney(row.availableInvoiceAmount)
|
|
||||||
}}</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="matchedAmount"
|
prop="matchedAmount"
|
||||||
@@ -493,7 +491,7 @@
|
|||||||
:precision="2"
|
:precision="2"
|
||||||
:controls="false"
|
:controls="false"
|
||||||
/>
|
/>
|
||||||
<span v-else>{{ row.issued ? '-' : formatMoney(row.matchedAmount) }}</span>
|
<span v-else>{{ formatMoney(row.matchedAmount) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -1306,7 +1304,8 @@ export default {
|
|||||||
return !this.readonly;
|
return !this.readonly;
|
||||||
},
|
},
|
||||||
// 发票信息合并展示:结算单发票行在前 + 金蝶回写开票发票行在后(issued 标记,只读不保存);
|
// 发票信息合并展示:结算单发票行在前 + 金蝶回写开票发票行在后(issued 标记,只读不保存);
|
||||||
// 回写行恒在尾部,保证下方 $index 删除操作与 this.invoices 索引一致;回写行票种按开票申请字典翻译
|
// 回写行恒在尾部,保证下方 $index 删除操作与 this.invoices 索引一致;
|
||||||
|
// 回写行票种按开票申请字典翻译,可匹配/匹配金额=票面价税合计(开票申请全额匹配本结算单)
|
||||||
invoiceRows() {
|
invoiceRows() {
|
||||||
return [
|
return [
|
||||||
...this.invoices,
|
...this.invoices,
|
||||||
@@ -1317,6 +1316,8 @@ export default {
|
|||||||
invoiceTypeOptions.find(item => item.value === row.invoiceType)?.label ||
|
invoiceTypeOptions.find(item => item.value === row.invoiceType)?.label ||
|
||||||
row.invoiceType ||
|
row.invoiceType ||
|
||||||
'',
|
'',
|
||||||
|
availableInvoiceAmount: Number(row.invoiceAmount || 0),
|
||||||
|
matchedAmount: Number(row.invoiceAmount || 0),
|
||||||
})),
|
})),
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user