Browse Source

直接退库 添加目标库位半成品库

dev_pda
李俊城 2 years ago
parent
commit
6a91ce592c
  1. 8
      fe/PDA/pages/return/returnToWarehouse.vue

8
fe/PDA/pages/return/returnToWarehouse.vue

@ -371,7 +371,7 @@
if (res == null) {
that.showMessage('目标库位【' + locationCode + '】不存在');
} else {
if (res.type == 2 || res.type == 6) {
if (res.type == 2 || res.type == 6|| res.type ==3) {
showConfirmMsg('是否要将所有未扫描目标库位的零件,指定目标库位【' + locationCode + '】',
confirm => {
@ -388,7 +388,7 @@
}
});
} else {
that.showMessage('目标库位的库位类型必须是【原料库】或【隔离库】')
that.showMessage('目标库位的库位类型必须是【原料库】或【隔离库】或【半成品库】')
}
}
uni.hideLoading();
@ -418,10 +418,10 @@
that.showMessage('目标库位【' + code + '】不存在');
} else {
if (res.type == 2 || res.type == 6) {
if (res.type == 2 || res.type == 6|| res.type == 3) {
this.handledToLocation(this.currentItem, res);
} else {
this.showMessage('目标库位必须是原料库或者隔离库')
this.showMessage('目标库位必须是原料库或者隔离库或者半成品库')
}
}
uni.hideLoading();

Loading…
Cancel
Save