|
|
@ -101,6 +101,8 @@ |
|
|
|
moldTaxAmountDiff: (Number(alreadyMoldUntaxedAmount) - Number(allAmountNum.moldUntaxedAmount)).toFixed(2), |
|
|
|
// 主数据已分摊价税合计=已分摊模具未税金额+已分摊模具税额 |
|
|
|
alreadyMoldTaxTotal: (Number(alreadyMoldUntaxedAmount) + Number(alreadyMoldTaxAmount)).toFixed(2), |
|
|
|
// 主数据模具税额差异 alreadyMoldTaxAmount = 模具税额 - 已分摊模具税额 |
|
|
|
moldTaxAmountDifference: (Number(allAmountNum.moldTaxAmount) - Number(alreadyMoldTaxAmount)).toFixed(2), |
|
|
|
} |
|
|
|
formRef.value.setValues(sumObject) |
|
|
|
} |
|
|
@ -194,6 +196,8 @@ const onChange =async (field, cur, formRefParams)=>{ |
|
|
|
moldTaxAmountDiff: allAmountNum.moldTaxAmountDiff, |
|
|
|
// 主数据已分摊价税合计=已分摊模具未税金额+已分摊模具税额 |
|
|
|
alreadyMoldTaxTotal: allAmountNum.alreadyMoldTaxTotal, |
|
|
|
// 主数据模具税额差异 alreadyMoldTaxAmount = 模具税额 - 已分摊模具税额 |
|
|
|
moldTaxAmountDifference: (Number(allAmountNum.moldTaxAmount) - Number(allAmountNum.alreadyMoldTaxAmount)).toFixed(2), |
|
|
|
}) |
|
|
|
} |
|
|
|
} else if (field == 'invoiceType') { |
|
|
|