Browse Source

合计单价位数改成11

intex_online20250427
张立 15 hours ago
parent
commit
3ff87b01ae
  1. 2
      src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue

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

@ -332,7 +332,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
// //
const initTableDataPrice = ()=>{ const initTableDataPrice = ()=>{
tableData.value.forEach(item=>{ tableData.value.forEach(item=>{
item['sumPrice'] = (item['price'] + item['allocationPrice']).toFixed(5) item['sumPrice'] = (item['price'] + item['allocationPrice']).toFixed(11)
// *2 // *2
item['beforeTaxAmount'] = Number(new Decimal(Number(item['sumPrice'])).mul(new Decimal(item['qty'])).toNumber().toFixed(2)) item['beforeTaxAmount'] = Number(new Decimal(Number(item['sumPrice'])).mul(new Decimal(item['qty'])).toNumber().toFixed(2))

Loading…
Cancel
Save