diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index a01953172..d1c733701 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -54,10 +54,10 @@ :tableFormRules="SupplierinvoiceRequestDetailRules" :tableData="tableData" :sumFormDataByForm ="(formRef,formModel)=>{ - const {taxRate=0,amount=0,adjustingTaxAmount=0} = formModel + const {taxRate=0,amount=0,taxAmount=0,adjustingTaxAmount=0} = formModel formRef.value.setValues({ taxAmount:taxRate*amount*0.01+adjustingTaxAmount, - afterTaxAmount:amount+taxRate*amount*0.01 + afterTaxAmount:amount+taxAmount }) }" :sumFormDataByTableCustom ="(formRef,formModel,tableData)=>{