diff --git a/src/views/mes/wm/inPlan/index.vue b/src/views/mes/wm/inPlan/index.vue
index fbc3a3b..192d716 100644
--- a/src/views/mes/wm/inPlan/index.vue
+++ b/src/views/mes/wm/inPlan/index.vue
@@ -405,8 +405,10 @@ export default {
const params = {
pageNum: 1,
pageSize: 100,
- // 物料名称
- itemName: areaName
+ // 库位名称
+ areaName: areaName,
+ // 库区ID 立体库
+ locationId: 222
}
listArea(params).then(response => {
this.areaList = response.rows;
@@ -537,7 +539,7 @@ export default {
this.form.planTypeCode = filter[0].code;
this.form.planTypeName = filter[0].name;
} else {
- this.$message.error("系统错误,请联系管理员");
+ this.$message.error("计划类型查找失败");
console.error("计划类型查找失败")
return;
}
diff --git a/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue b/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue
index dbb0047..22aef96 100644
--- a/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue
+++ b/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue
@@ -51,13 +51,18 @@ export default {
},
},
methods: {
- /** 获取库位列表 */
+ /**
+ * 获取库位列表
+ * @param areaName
+ */
getAreaList(areaName = "") {
const params = {
pageNum: 1,
pageSize: 100,
- // 物料名称
- itemName: areaName
+ // 库位名称
+ areaName: areaName,
+ // 库区ID 立体库
+ locationId: 222
}
listArea(params).then(response => {
this.areaList = response.rows;
@@ -131,7 +136,7 @@ export default {
this.inPlanTypeList = response.rows;
});
},
- handleAreaSelectChange(){
+ handleAreaSelectChange() {
let result = this.areaList.filter(item => item.areaId == this.wmsInPlanDetailForm.cellId)
this.queryParams.areaCode = result[0].areaCode
@@ -249,16 +254,19 @@ export default {
库位包含物料
-
-
-
+
+
+
-
+