Browse Source

[SBBJ-884][备件领出兼容库位]

master
zengqinyuan 1 month ago
parent
commit
390a0557cc
  1. 5
      src/views/eam/item/itemApplyMain/index.vue

5
src/views/eam/item/itemApplyMain/index.vue

@ -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;
}

Loading…
Cancel
Save