Browse Source

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

intex_online20250522
张立 4 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

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

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

@ -101,6 +101,8 @@
moldTaxAmountDiff: (Number(alreadyMoldUntaxedAmount) - Number(allAmountNum.moldUntaxedAmount)).toFixed(2), moldTaxAmountDiff: (Number(alreadyMoldUntaxedAmount) - Number(allAmountNum.moldUntaxedAmount)).toFixed(2),
// =+ // =+
alreadyMoldTaxTotal: (Number(alreadyMoldUntaxedAmount) + Number(alreadyMoldTaxAmount)).toFixed(2), alreadyMoldTaxTotal: (Number(alreadyMoldUntaxedAmount) + Number(alreadyMoldTaxAmount)).toFixed(2),
// alreadyMoldTaxAmount = -
moldTaxAmountDifference: (Number(allAmountNum.moldTaxAmount) - Number(alreadyMoldTaxAmount)).toFixed(2),
} }
formRef.value.setValues(sumObject) formRef.value.setValues(sumObject)
} }
@ -194,6 +196,8 @@ const onChange =async (field, cur, formRefParams)=>{
moldTaxAmountDiff: allAmountNum.moldTaxAmountDiff, moldTaxAmountDiff: allAmountNum.moldTaxAmountDiff,
// =+ // =+
alreadyMoldTaxTotal: allAmountNum.alreadyMoldTaxTotal, alreadyMoldTaxTotal: allAmountNum.alreadyMoldTaxTotal,
// alreadyMoldTaxAmount = -
moldTaxAmountDifference: (Number(allAmountNum.moldTaxAmount) - Number(allAmountNum.alreadyMoldTaxAmount)).toFixed(2),
}) })
} }
} else if (field == 'invoiceType') { } 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: '金税票号', label: '金税票号',
field: 'goldenTaxInvoiceNumber', field: 'goldenTaxInvoiceNumber',

Loading…
Cancel
Save