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