|
|
@ -82,7 +82,8 @@ |
|
|
|
let flag = false; |
|
|
|
if (subList.length > 0) { |
|
|
|
subList.forEach((item) => { |
|
|
|
if (item.itemNumber == val[0]['itemNumber']) { |
|
|
|
if (item.itemNumber == val[0]['itemNumber'] && item.isInAccount == val[0]['isInAccount'] |
|
|
|
) { |
|
|
|
flag = true; |
|
|
|
} |
|
|
|
}) |
|
|
@ -301,6 +302,8 @@ |
|
|
|
try { |
|
|
|
for (let item of tableData.value) { |
|
|
|
if (item.qty > item.availableQty) { |
|
|
|
console.log("item.qty",item.qty); |
|
|
|
console.log("item.availableQty",item.availableQty); |
|
|
|
message.error('要货计划数量不得大于订单可申请库存数量') |
|
|
|
return false; |
|
|
|
} |
|
|
|