From 842ce7817c9ac8c688bcb53f588db49cc4acbb5d Mon Sep 17 00:00:00 2001 From: anthonywj Date: Fri, 6 Jan 2023 18:50:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E5=8D=95?= =?UTF-8?q?=E6=8D=AE=E7=B1=BB=E5=9E=8B=EF=BC=8C=E4=BB=93=E5=BA=93=E5=85=B3?= =?UTF-8?q?=E8=81=94=E8=B4=A7=E4=BD=8D=E4=BF=A1=E6=81=AF=EF=BC=8C=E7=AC=AC?= =?UTF-8?q?=E4=B8=89=E6=96=B9=E4=BA=A7=E5=93=81=E4=BF=A1=E6=81=AF=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/invRelBusTypes.js | 55 +++++--- src/views/inventory/InvSpaceManage.vue | 133 ++++++++---------- src/views/monitor/operlog/index.vue | 1 - src/views/system/dept/invUserRelBusTypes.vue | 119 ++++++++++++++++ src/views/system/dept/invWarehouse.vue | 39 ++---- src/views/system/role/index.vue | 6 +- src/views/thirdSys/product/thrProducts.vue | 137 ++++++++++++------- 7 files changed, 315 insertions(+), 175 deletions(-) create mode 100644 src/views/system/dept/invUserRelBusTypes.vue 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 @@ > - + - -