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