|
@ -487,6 +487,9 @@ const submitForm = async (formType, submitData) => { |
|
|
if(data.masterId){ |
|
|
if(data.masterId){ |
|
|
data.id = data.masterId |
|
|
data.id = data.masterId |
|
|
} |
|
|
} |
|
|
|
|
|
tableData.value.forEach((item,index)=>{ |
|
|
|
|
|
item['orderNumber'] = index+1 |
|
|
|
|
|
}) |
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
if(tableData.value.find(item => (item.qty <= 0))) { |
|
|
if(tableData.value.find(item => (item.qty <= 0))) { |
|
|
message.warning('数量必须大于0') |
|
|
message.warning('数量必须大于0') |
|
|