|
@ -54,9 +54,9 @@ |
|
|
:tableFormRules="SupplierinvoiceRequestDetailRules" |
|
|
:tableFormRules="SupplierinvoiceRequestDetailRules" |
|
|
:tableData="tableData" |
|
|
:tableData="tableData" |
|
|
:sumFormDataByForm ="(formRef,formModel)=>{ |
|
|
:sumFormDataByForm ="(formRef,formModel)=>{ |
|
|
const {taxRate=0,amount=0} = formModel |
|
|
const {taxRate=0,amount=0,adjustingTaxAmount=0} = formModel |
|
|
formRef.value.setValues({ |
|
|
formRef.value.setValues({ |
|
|
taxAmount:taxRate*amount*0.01, |
|
|
taxAmount:taxRate*amount*0.01+adjustingTaxAmount, |
|
|
afterTaxAmount:amount+taxRate*amount*0.01 |
|
|
afterTaxAmount:amount+taxRate*amount*0.01 |
|
|
}) |
|
|
}) |
|
|
}" |
|
|
}" |
|
|