Browse Source

YT-2617销售开票模具税额差异

intex_online20250522
张立 3 weeks ago
parent
commit
3f1920a75f
  1. 13
      src/views/wms/deliversettlementManage/customerSaleInvoiceRecordMain/customerSaleInvoiceRecordMain.data.ts
  2. 4
      src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue
  3. 13
      src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/customerSaleInvoiceRequestMain.data.ts

13
src/views/wms/deliversettlementManage/customerSaleInvoiceRecordMain/customerSaleInvoiceRecordMain.data.ts

@ -352,6 +352,19 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '模具税额差异',
field: 'moldTaxAmountDifference',
formatter: accountantFormart,
table: {
width: 160
},
form: {
componentProps: {
disabled: true,
}
},
},
{
label: '金税票号',
field: 'goldenTaxInvoiceNumber',

4
src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue

@ -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') {

13
src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/customerSaleInvoiceRequestMain.data.ts

@ -356,6 +356,19 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '模具税额差异',
field: 'moldTaxAmountDifference',
formatter: accountantFormart,
table: {
width: 160
},
form: {
componentProps: {
disabled: true,
}
},
},
{
label: '金税票号',
field: 'goldenTaxInvoiceNumber',

Loading…
Cancel
Save