Browse Source

1.直接退库,增加半成品库位类型2.非生产领料增加半成品库位类型

dev_pda
李俊城 1 year ago
parent
commit
19d5a73376
  1. 4
      fe/PDA/pages/return/returnToWarehouse.vue
  2. 4
      fe/PDA/pages/task/unProducePickDetail.vue

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

@ -158,12 +158,12 @@
});
locations(code).then(res => {
if (res != null) {
if (res.type == 4||res.type == 5) {
if (res.type == 3||res.type == 4||res.type == 5) {
that.fromLocation = res;
this.openPackLabel();
this.closeScanFromLocationPopup();
} else {
that.showMessage('扫描的库位【' + code + '】不是线边库位或成品库位');
that.showMessage('扫描的库位【' + code + '】不是【半成品库】或【线边库位成品库位');
}
} else {
that.showMessage('未查询到库位【' + code + '】');

4
fe/PDA/pages/task/unProducePickDetail.vue

@ -412,7 +412,7 @@
itemCode: result.data.itemCode,
lot: result.data.lot,
inventoryStatus: 2, //2
locationTypes: [2,4],
locationTypes: [2,3,4],
sortBy: 'PackingCode asc'
};
getBalancesByFilter(params)
@ -420,7 +420,7 @@
if (res.totalCount === 0) {
this.showScanMessage('按零件号【' + result.data.itemCode + '】箱码【' + result.data.code + '】批次【' +
result
.data.lot + '】在【原料库】或【成品库】未查询到库存信息');
.data.lot + '】在【原料库】或【半成品库】或【成品库】未查询到库存信息');
} else {
callback(res);
}

Loading…
Cancel
Save