fix: 开票回写发票行匹配结算单金额改用后端冲抵汇总数据

This commit is contained in:
刘泉佳
2026-11-10 17:48:46 +08:00
parent ba1e60d809
commit ff44137a37
@@ -1305,7 +1305,7 @@ export default {
}, },
// 发票信息合并展示:结算单发票行在前 + 金蝶回写开票发票行在后(issued 标记,只读不保存); // 发票信息合并展示:结算单发票行在前 + 金蝶回写开票发票行在后(issued 标记,只读不保存);
// 回写行恒在尾部,保证下方 $index 删除操作与 this.invoices 索引一致; // 回写行恒在尾部,保证下方 $index 删除操作与 this.invoices 索引一致;
// 回写行票种按开票申请字典翻译,可匹配/匹配金额=票面价税合计(开票申请全额匹配本结算单) // 回写行票种按开票申请字典翻译;可匹配金额=票面价税合计,匹配结算单金额=后端票级冲抵明细汇总
invoiceRows() { invoiceRows() {
return [ return [
...this.invoices, ...this.invoices,
@@ -1317,7 +1317,7 @@ export default {
row.invoiceType || row.invoiceType ||
'', '',
availableInvoiceAmount: Number(row.invoiceAmount || 0), availableInvoiceAmount: Number(row.invoiceAmount || 0),
matchedAmount: Number(row.invoiceAmount || 0), matchedAmount: Number(row.matchedAmount || 0),
})), })),
]; ];
}, },