|
|
@ -840,7 +840,7 @@ const submitForm = async (formType, submitData) => { |
|
|
|
}) |
|
|
|
let alalQty = 0 |
|
|
|
tableData.value.forEach(item => { |
|
|
|
alalQty += parseFloat(item.qty) |
|
|
|
alalQty += item.qty ? parseFloat(item.qty) : 0 |
|
|
|
}) |
|
|
|
if (alalQty == 0) { |
|
|
|
message.error('收货总数量不可以为0') |
|
|
|