|
|
@ -653,6 +653,11 @@ const submitForm = async (formType, submitData) => { |
|
|
|
data.id = data.masterId |
|
|
|
} |
|
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
data.subList.forEach(item=>{ |
|
|
|
item.qty = Number(item.qty).toFixed(2) |
|
|
|
item.singlePrice = Number(item.singlePrice).toFixed(2) |
|
|
|
item.amount = Number(item.amount).toFixed(2) |
|
|
|
}) |
|
|
|
try { |
|
|
|
if (formType === 'create') { |
|
|
|
console.log('【报废出库子列表】', data.subList) |
|
|
|