|
@ -653,6 +653,11 @@ const submitForm = async (formType, submitData) => { |
|
|
data.id = data.masterId |
|
|
data.id = data.masterId |
|
|
} |
|
|
} |
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
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 { |
|
|
try { |
|
|
if (formType === 'create') { |
|
|
if (formType === 'create') { |
|
|
console.log('【报废出库子列表】', data.subList) |
|
|
console.log('【报废出库子列表】', data.subList) |
|
|