diff --git a/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue b/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue index acc7b60eb..af19b3c2e 100644 --- a/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue +++ b/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue @@ -101,8 +101,8 @@ moldTaxAmountDiff: Math.round((Number(alreadyMoldUntaxedAmount) - Number(allAmountNum.moldUntaxedAmount))* 100) / 100, // 主数据已分摊价税合计=已分摊模具未税金额+已分摊模具税额 alreadyMoldTaxTotal: Math.round((Number(alreadyMoldUntaxedAmount) + Number(alreadyMoldTaxAmount))* 100) / 100, - // 主数据模具税额差异 alreadyMoldTaxAmount = 模具税额 - 已分摊模具税额 - moldTaxAmountDifference: Math.round((Number(allAmountNum.moldTaxAmount) - Number(alreadyMoldTaxAmount))* 100) / 100, + // 主数据模具税额差异 alreadyMoldTaxAmount = 已分摊模具税额 - 模具税额 + moldTaxAmountDifference: Math.round((Number(alreadyMoldTaxAmount) - Number(allAmountNum.moldTaxAmount))* 100) / 100, } formRef.value.setValues(sumObject) } @@ -196,8 +196,8 @@ const onChange =async (field, cur, formRefParams)=>{ moldTaxAmountDiff: allAmountNum.moldTaxAmountDiff, // 主数据已分摊价税合计=已分摊模具未税金额+已分摊模具税额 alreadyMoldTaxTotal: allAmountNum.alreadyMoldTaxTotal, - // 主数据模具税额差异 alreadyMoldTaxAmount = 模具税额 - 已分摊模具税额 - moldTaxAmountDifference: Math.round((Number(allAmountNum.moldTaxAmount) - Number(allAmountNum.alreadyMoldTaxAmount))* 100) / 100, + // 主数据模具税额差异 alreadyMoldTaxAmount = 已分摊模具税额-模具税额 + moldTaxAmountDifference: Math.round((Number(allAmountNum.alreadyMoldTaxAmount) - Number(allAmountNum.moldTaxAmount))* 100) / 100, }) } } else if (field == 'invoiceType') {