|
|
@@ -991,7 +991,6 @@
|
|
|
]
|
|
|
});
|
|
|
}
|
|
|
- console.log('货架', allocationReqList);
|
|
|
return { kq: kqArr, hj: hjArr, hw: hwArr };
|
|
|
},
|
|
|
async getDetail(id) {
|
|
|
@@ -1579,7 +1578,11 @@
|
|
|
// ...this.areaForm.allocationReqList, //货位
|
|
|
// ...this.areaForm.areaGoodsshelvesList, //货架
|
|
|
// ...this.areaForm.warehouseAreasSaveList //库区
|
|
|
-
|
|
|
+ // console.log('没有处理过的===', newObj);
|
|
|
+ // console.log(
|
|
|
+ // '处理过的数据===',
|
|
|
+ // this.handleNewSource(newObj)
|
|
|
+ // );
|
|
|
this.loading = true;
|
|
|
try {
|
|
|
let res = await warehouseDefinition.warehouseareaSave(
|
|
|
@@ -1632,7 +1635,7 @@
|
|
|
attribute: item.attribute,
|
|
|
address: item.address,
|
|
|
areaLength: item.areaLength,
|
|
|
- areaWidth: item.areaWidth,
|
|
|
+ areaWide: item.areaWidth,
|
|
|
areaHigh: item.areaHigh,
|
|
|
num: item.subCount,
|
|
|
areaRemark: item.remark
|
|
|
@@ -1650,20 +1653,22 @@
|
|
|
goodsshelvesHigh: item.areaHigh,
|
|
|
inUseAllocationNumber: item.subCount,
|
|
|
isRegular: item.isRegular,
|
|
|
- goodsshelvesRemark: item.remark
|
|
|
+ goodsshelvesRemark: item.remark,
|
|
|
+ warehouseAreaGoodsCode: item.code
|
|
|
};
|
|
|
}
|
|
|
);
|
|
|
let allocationListArr = this.objExit(allocationList).map((item) => {
|
|
|
return {
|
|
|
warehouseAreaCode: item.reservoirAreaCode,
|
|
|
- goodsAllocationCode: item.goodsShelvesCode,
|
|
|
+ goodsAllocationCode: item.code,
|
|
|
goodsAllocationLength: item.goodsAllocationLength,
|
|
|
goodsAllocationWide: item.goodsAllocationWide,
|
|
|
goodsAllocationHigh: item.goodsAllocationHigh,
|
|
|
weightLimit: item.goodsAllocationHigh,
|
|
|
inUseAllocationNumber: item.weightLimit,
|
|
|
- volumeUnit: item.volumeUnit
|
|
|
+ volumeUnit: item.volumeUnit,
|
|
|
+ warehouseAreaGoodsCode: item.goodsShelvesCode
|
|
|
};
|
|
|
});
|
|
|
let params = {
|