Browse Source

修改推荐库位

hella_vue3
lijuncheng 8 months ago
parent
commit
4f173f179d
  1. 2
      src/api/request2.js
  2. 4
      src/pages/productionReturn/record/returnToStore.vue
  3. 9
      src/pages/putaway/record/putawayRecord.vue

2
src/api/request2.js

@ -441,7 +441,7 @@ export function validateItemAndLocation(parmas) {
export function getPutawayRecommendLocation(params) {
return request({
url: baseApi + "/wms/location/recommendLocation",
url: baseApi + "/wms/location/recommendLocationNew",
method: "post",
data: params,
});

4
src/pages/productionReturn/record/returnToStore.vue

@ -227,7 +227,6 @@
})
} else {
debugger
var detail = item.subList.find(r => {
if (r.packingNumber == label.packingNumber &&
r.batch == label.batch) {
@ -325,7 +324,8 @@
itemCode: label.itemCode,
batch: label.batch,
inventoryStatus: label.inventoryStatus,
supplierCode: pack.supplierCode
supplierCode: pack.supplierCode,
businessCode:this.businessTypeCode
};
console.log(JSON.stringify(param))
getPutawayRecommendLocation(param).then(res => {

9
src/pages/putaway/record/putawayRecord.vue

@ -118,13 +118,13 @@
businessType: {},
showToLoaction: true,
recommendLocationList: [], //
fromWarehouseCode: '' //
fromWarehouseCode: '' ,//
businessTypeCode:"PurchasePutaway"
};
},
onLoad(option) {
this.clearData();
var typeCode = "PurchasePutaway"
getBusinessType(typeCode, res => {
getBusinessType(this.businessTypeCode, res => {
if (res.success) {
this.businessType = res.businessType;
this.fromLocationAreaTypeList = res.fromLocationAreaTypeList;
@ -206,7 +206,8 @@
itemCode: balance.itemCode,
batch: balance.batch,
inventoryStatus: balance.inventoryStatus,
supplierCode: pack.supplierCode
supplierCode: pack.supplierCode,
businessCode:this.businessTypeCode
};
console.log(JSON.stringify(param))
getPutawayRecommendLocation(param).then(res => {

Loading…
Cancel
Save