From 50786ad74a3609a8ebd6ce9d0291816e65daa522 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Mon, 30 Jan 2023 10:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E4=BB=93=E5=BA=93?= =?UTF-8?q?=EF=BC=8C=E4=BB=93=E5=BA=93=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/sidebar.scss | 1 + src/views/inventory/InvSpaceManage.vue | 85 ++- src/views/system/dept/invRelBusType.vue | 95 +++ src/views/system/dept/invRelUsers.vue | 312 ++++++++++ src/views/system/dept/invUserRelBusTypes.vue | 20 +- src/views/system/dept/invWarehouse.vue | 551 ++++++------------ .../system/dept/invWarehouseRelBusTypes.vue | 134 ----- src/views/thirdSys/inv/index.vue | 148 +++-- 8 files changed, 716 insertions(+), 630 deletions(-) create mode 100644 src/views/system/dept/invRelBusType.vue create mode 100644 src/views/system/dept/invRelUsers.vue delete mode 100644 src/views/system/dept/invWarehouseRelBusTypes.vue diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss index ed308b8d..92bbf180 100644 --- a/src/assets/styles/sidebar.scss +++ b/src/assets/styles/sidebar.scss @@ -74,6 +74,7 @@ overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; + height: 45px; //侧边菜单栏高度 } // menu hover diff --git a/src/views/inventory/InvSpaceManage.vue b/src/views/inventory/InvSpaceManage.vue index 57cff1a6..c0213bf9 100644 --- a/src/views/inventory/InvSpaceManage.vue +++ b/src/views/inventory/InvSpaceManage.vue @@ -8,9 +8,9 @@ 查询 新增货位 @@ -39,34 +39,33 @@ - - + @@ -76,7 +75,6 @@ placeholder="请输入货位编码"> - - @@ -99,7 +96,6 @@ - @@ -109,7 +105,6 @@ -
提交 @@ -146,7 +141,7 @@ export default { invStorageCode: null, key: null, page: 1, - limit: 20, + limit: 10, customerId: null, }, list: [], @@ -204,7 +199,7 @@ export default { invWarehouseCode: this.invInfo.invWarehouseCode, invStorageCode: this.invInfo.invStorageCode, page: 1, - limit: 20, + limit: 10, }; this.getList(); }, @@ -239,19 +234,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 @@ -260,11 +255,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/system/dept/invRelBusType.vue b/src/views/system/dept/invRelBusType.vue new file mode 100644 index 00000000..9fb46a27 --- /dev/null +++ b/src/views/system/dept/invRelBusType.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/src/views/system/dept/invRelUsers.vue b/src/views/system/dept/invRelUsers.vue new file mode 100644 index 00000000..a9fe949f --- /dev/null +++ b/src/views/system/dept/invRelUsers.vue @@ -0,0 +1,312 @@ + + + + + diff --git a/src/views/system/dept/invUserRelBusTypes.vue b/src/views/system/dept/invUserRelBusTypes.vue index 2b8458a6..a1b0109e 100644 --- a/src/views/system/dept/invUserRelBusTypes.vue +++ b/src/views/system/dept/invUserRelBusTypes.vue @@ -1,9 +1,17 @@