Browse Source

SCP公式

master_hella_20240701
wangyufei 5 months ago
parent
commit
02c6ea4a7a
  1. 4
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

4
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

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

Loading…
Cancel
Save