Browse Source

生产退料增加成品库

dev_pda
李俊城 1 year ago
parent
commit
2113f0ab07
  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 => { locations(code).then(res => {
if (res != null) { if (res != null) {
if (res.type == 5) { if (res.type == 4||res.type == 5) {
that.fromLocation = res; that.fromLocation = res;
this.openPackLabel(); this.openPackLabel();
this.closeScanFromLocationPopup(); this.closeScanFromLocationPopup();
} else { } else {
that.showMessage('扫描的库位【' + code + '】不是线边库位'); that.showMessage('扫描的库位【' + code + '】不是线边库位或成品库位');
} }
} else { } else {
that.showMessage('未查询到库位【' + code + '】'); that.showMessage('未查询到库位【' + code + '】');

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

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

Loading…
Cancel
Save