Browse Source

YT-1119 隔离转合格记录从仓库代码

intex
lijuncheng 2 days ago
parent
commit
310dd0bdd6
  1. 6
      src/mycomponents/scan/winScanPackAndLocation.vue
  2. 4
      src/pages/inventoryMove/coms/comMoveRecord.vue

6
src/mycomponents/scan/winScanPackAndLocation.vue

@ -149,7 +149,8 @@
managementPrecision: '', managementPrecision: '',
fromInventoryStatuses: "", fromInventoryStatuses: "",
isCheck: false, isCheck: false,
chooseWhich: '1' chooseWhich: '1',
fromWarehouseCode:""
} }
}, },
created() { created() {
@ -277,6 +278,7 @@
if (available == "TRUE") { if (available == "TRUE") {
if (checkDirectoryItemExist(this.fromLocationAreaTypeList, type)) { if (checkDirectoryItemExist(this.fromLocationAreaTypeList, type)) {
this.location = result; this.location = result;
this.fromWarehouseCode=result.warehouseCode
// this.packGetFocus(); // this.packGetFocus();
// //
if(this.isJustReplay){ if(this.isJustReplay){
@ -470,6 +472,7 @@
let data = { let data = {
label: this.scanResult.label, label: this.scanResult.label,
package: this.scanResult.package, package: this.scanResult.package,
fromWarehouseCode:this.fromWarehouseCode,
balance: datas, balance: datas,
fromLocationCode: this.fromLocationCode, fromLocationCode: this.fromLocationCode,
} }
@ -491,6 +494,7 @@
let data = { let data = {
label: this.scanResult.label, label: this.scanResult.label,
package: this.scanResult.package, package: this.scanResult.package,
fromWarehouseCode:this.fromWarehouseCode,
balance: item, balance: item,
fromLocationCode: this.fromLocationCode, fromLocationCode: this.fromLocationCode,
} }

4
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -157,6 +157,7 @@
itemCodeTypeList: [], itemCodeTypeList: [],
isShowEditLocation: false, isShowEditLocation: false,
isJustReplay: true, // isJustReplay: true, //
fromWarehouseCode:""
} }
}, },
@ -286,6 +287,7 @@
this.toLocationInfo = location; this.toLocationInfo = location;
}, },
getScanResult(result, managementTypeParams) { getScanResult(result, managementTypeParams) {
this.fromWarehouseCode =result.fromWarehouseCode
this.managementType = managementTypeParams this.managementType = managementTypeParams
if (this.showOnePop) { if (this.showOnePop) {
if (this.isJustReplay) { if (this.isJustReplay) {
@ -757,7 +759,7 @@
}) })
this.dataContent.subList = subList; this.dataContent.subList = subList;
this.dataContent.creator = creator; this.dataContent.creator = creator;
this.dataContent.fromWarehouseCode = this.fromLocationInfo.warehouseCode; this.dataContent.fromWarehouseCode = this.fromWarehouseCode;
this.dataContent.toWarehouseCode = this.toLocationInfo.warehouseCode; this.dataContent.toWarehouseCode = this.toLocationInfo.warehouseCode;
this.dataContent.businessType = this.businessTypeCode; this.dataContent.businessType = this.businessTypeCode;
return this.dataContent; return this.dataContent;

Loading…
Cancel
Save