Browse Source

采购收货管理-- 供应商发票申请--新增--税后金额

master_hella_20240701
yufei0306 8 months ago
parent
commit
93435c15ef
  1. 3
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  2. 1
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

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

@ -50,7 +50,8 @@
:sumFormDataByForm ="(formRef,formModel)=>{ :sumFormDataByForm ="(formRef,formModel)=>{
const {taxRate=0,amount=0} = formModel const {taxRate=0,amount=0} = formModel
formRef.value.setValues({ formRef.value.setValues({
taxAmount:taxRate*amount taxAmount:taxRate*amount,
afterTaxAmount:amount+taxRate*amount
}) })
}" }"
:apiUpdate="SupplierinvoiceRequestMainApi.updateSupplierinvoiceRequestMain" :apiUpdate="SupplierinvoiceRequestMainApi.updateSupplierinvoiceRequestMain"

1
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -207,6 +207,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
componentProps: { componentProps: {
min: 0, min: 0,
precision: 6, precision: 6,
disabled: true,
} }
}, },
tableForm: { tableForm: {

Loading…
Cancel
Save