diff --git a/src/views/inventory/InvSpaceManage.vue b/src/views/inventory/InvSpaceManage.vue
index 8a68879..ae65222 100644
--- a/src/views/inventory/InvSpaceManage.vue
+++ b/src/views/inventory/InvSpaceManage.vue
@@ -2,8 +2,8 @@
-
-
+
+
@@ -11,7 +11,7 @@
type="primary"
icon="el-icon-refresh"
@click="onReset"
- >
+ >重置
查询
新增货位
@@ -72,13 +72,13 @@
+ placeholder="请输入货位编码" clearable>
+ placeholder="请输入货位名称" clearable>
@@ -86,7 +86,7 @@
+ placeholder="请输入货位分类" clearable>
@@ -125,6 +125,7 @@ import store from "../../store";
import {filterUplLocInv} from "@/api/system/invWarehouse";
import {filterSubByInv} from "@/api/system/invSubWarehouse";
import {getInvSpaceList, saveSpace, deleteSpace} from "@/api/inventory/invSpace";
+import {isBlank} from "@/utils/strUtil";
export default {
name: "invInfo",
@@ -276,6 +277,10 @@ export default {
this.formData = row;
},
addSpace() {
+ if (isBlank(this.invInfo.invStorageCode)) {
+ this.$message.warning("请先选择仓库!");
+ return;
+ }
this.modifySpaceVisible = true;
this.formName = "add";
this.resetForm();
diff --git a/src/views/remind/invRemindSet.vue b/src/views/remind/invRemindSet.vue
index 01b5397..7a68687 100644
--- a/src/views/remind/invRemindSet.vue
+++ b/src/views/remind/invRemindSet.vue
@@ -82,17 +82,17 @@
-
+
{{ enableMap[scope.row.lowStock] }}
-
+
{{ enableMap[scope.row.lackStock] }}
-
+
{{ enableMap[scope.row.overStock] }}
@@ -102,12 +102,11 @@
{{ enableMap[scope.row.expireDate] }}
-
+
{{ enableMap[scope.row.recentDate] }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue
index 3018ac2..c839caa 100644
--- a/src/views/system/dept/invWarehouse.vue
+++ b/src/views/system/dept/invWarehouse.vue
@@ -58,13 +58,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
- {{ currentRow.name }}-用户列表
+
+ {{ currentRow.name }}-用户列表
-
+
-
+
@@ -436,6 +436,14 @@ export default {
status: "",
};
this.getList();
+
+ //置空用户列表和货位信息列表的参数
+ this.currentRow = {name: "仓库"};
+
+ this.currentInvInfo = {
+ invStorageCode: null,
+ invWarehouseCode: null
+ };
},
onSubmit() { //提交查询
@@ -462,7 +470,7 @@ export default {
if (formName === "edit") {
this.subData = JSON.parse(JSON.stringify(data));
} else if (formName === "add") {
- this.subData = {advanceType: false,spUse:false};
+ this.subData = {advanceType: false, spUse: false};
}
this.subFormVisible = true;
this.getSubThrsysDetailData();