Browse Source

直接退库添加半成品库

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

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

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

Loading…
Cancel
Save