diff --git a/src/api/basic/invRelBusTypes.js b/src/api/basic/invRelBusTypes.js index ba39c971..e8d02d8c 100644 --- a/src/api/basic/invRelBusTypes.js +++ b/src/api/basic/invRelBusTypes.js @@ -2,31 +2,48 @@ import axios from "../../utils/request"; export function filterSelectInvUser(query) { - return axios({ - url: "/spms/bus/user/select/filter", - method: "get", - params: query - }); + return axios({ + url: "/spms/bus/user/select/filter", + method: "get", + params: query + }); } +export function filterUnSelectInvUser(query) { + return axios({ + url: "/spms/bus/user/unselect/filter", + method: "get", + params: query + }); +} export function updateInvUser(query) { - return axios( - { - url: "/spms/bus/user/warehouse/update", - method: "post", - data: query - } - ) + return axios( + { + url: "/spms/bus/user/warehouse/update", + method: "post", + data: query + } + ) +} + +export function postInvUser(query) { + return axios( + { + url: "/spms/bus/user/warehouse/post", + method: "post", + data: query + } + ) } export function filterUserBusTypeList(query) { - return axios( - { - url: "spms/bus/user/filterUserBusList", - method: "get", - params: query - } - ) + return axios( + { + url: "spms/bus/user/filterUserBusList", + method: "get", + params: query + } + ) } diff --git a/src/views/inventory/InvSpaceManage.vue b/src/views/inventory/InvSpaceManage.vue index d4cd7684..2c7ac70e 100644 --- a/src/views/inventory/InvSpaceManage.vue +++ b/src/views/inventory/InvSpaceManage.vue @@ -2,15 +2,15 @@
- - + + 查询 新增货位 @@ -39,89 +39,72 @@ - - - - 货位编码: - - - - + + + + - - 货位名称: - - - - + + - - - 货位分类: - - - - + + + - - - 启用状态: - - - + + 禁用 启用 - - - 备注: - - - + + + @@ -179,8 +162,8 @@ export default { 1: "启用" }, formMap: { - add: "添加货位", - edit: "编辑货位" + add: "仓库信息-新增货位", + edit: "仓库信息-编辑货位" }, formName: null, modifyWarehouseDisable: true, @@ -256,19 +239,19 @@ export default { cancelButtonText: "取消", type: "warning", }) - .then(() => { - let params = {id: rowId}; - deleteSpace(params).then((res) => { - if (res.code === 20000) { - this.$message.success("删除成功!"); - this.getList(); - } else { - this.$message.error(res.message); - } + .then(() => { + let params = {id: rowId}; + deleteSpace(params).then((res) => { + if (res.code === 20000) { + this.$message.success("删除成功!"); + this.getList(); + } else { + this.$message.error(res.message); + } + }) }) - }) - .catch(() => { - }); + .catch(() => { + }); }, cancelDialog() { this.modifySpaceVisible = false @@ -277,11 +260,11 @@ export default { getStorage() { this.storageList = []; filterUplLocInv() - .then((response) => { - this.storageList = response.data || []; - }) - .catch(() => { - }); + .then((response) => { + this.storageList = response.data || []; + }) + .catch(() => { + }); }, resetForm() { if (this.$refs["formData"]) { diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index def06e73..4ebf3e92 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -105,7 +105,6 @@ + + + + diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue index eddea3c7..9a8b7258 100644 --- a/src/views/system/dept/invWarehouse.vue +++ b/src/views/system/dept/invWarehouse.vue @@ -32,26 +32,26 @@ > - + - -