From 7cc82ec0606ca68f648633f43270994cad9f2237 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 16 Aug 2024 19:32:33 +0800 Subject: [PATCH] =?UTF-8?q?8/16=20=20=E5=B7=A5=E4=BD=8D=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basic/collectPoint/gatherOrderType.vue | 19 ++-- .../basic/collectPoint/selectWorkplace.vue | 8 +- .../basic/collectPoint/userWorkplace.vue | 8 +- src/views/basic/workplace/workplaceManage.vue | 107 ++++++++++++------ 4 files changed, 96 insertions(+), 46 deletions(-) diff --git a/src/views/basic/collectPoint/gatherOrderType.vue b/src/views/basic/collectPoint/gatherOrderType.vue index 7607ba2b..61d6aab4 100644 --- a/src/views/basic/collectPoint/gatherOrderType.vue +++ b/src/views/basic/collectPoint/gatherOrderType.vue @@ -124,13 +124,13 @@ - - - - - + + + + + + + @@ -247,7 +247,9 @@ export default { genCode().then(res => { if (res.code == 20000){ this.code = res.data - this.formData.code = res.data + this.formData = { + code: res.data + } this.addCollectionPointsDialogVisible = true } }) @@ -288,6 +290,7 @@ export default { this.addCollectionPointsDialogVisible = false }, formSubmit() { + this.formData.invCode = this.$store.getters.locInvCode if (this.fromName == 'add') { this.$refs['dataForm'].validate((valid) => { if (valid) { diff --git a/src/views/basic/collectPoint/selectWorkplace.vue b/src/views/basic/collectPoint/selectWorkplace.vue index 82dd1193..fb1ce51c 100644 --- a/src/views/basic/collectPoint/selectWorkplace.vue +++ b/src/views/basic/collectPoint/selectWorkplace.vue @@ -359,12 +359,14 @@ export default { 3: '按单不校验三期' }, checkInserts: { - 1: '不插入', - 2: '插入', + 1: '插入', + 2: '不插入', + 3: '提醒不插入' }, warnTypeMap: { 1: '信息提醒', - 2: '禁止录入', + 2: '信息弹框提醒', + 3: '不提醒' }, corpTypeMap: { 1: '客户', diff --git a/src/views/basic/collectPoint/userWorkplace.vue b/src/views/basic/collectPoint/userWorkplace.vue index 95d83868..36086931 100644 --- a/src/views/basic/collectPoint/userWorkplace.vue +++ b/src/views/basic/collectPoint/userWorkplace.vue @@ -387,12 +387,14 @@ export default { 3: '按单不校验三期' }, checkInserts: { - 1: '不插入', - 2: '插入' + 1: '插入', + 2: '不插入', + 3: '提醒不插入' }, warnTypeMap: { 1: '信息提醒', - 2: '禁止录入' + 2: '信息弹框提醒', + 3: '不提醒' }, corpTypeMap: { 1: '客户', diff --git a/src/views/basic/workplace/workplaceManage.vue b/src/views/basic/workplace/workplaceManage.vue index 4d19204e..879117c6 100644 --- a/src/views/basic/workplace/workplaceManage.vue +++ b/src/views/basic/workplace/workplaceManage.vue @@ -278,7 +278,7 @@ - + @@ -289,9 +289,10 @@ - - - + + + + @@ -300,14 +301,31 @@ - + + + + + + + + + + + {{ item.name }} + - - + { @@ -951,14 +974,34 @@ export default { }) } + }, + getDeptList() { + this.deptList = []; + filterAllByUser() + .then((response) => { + this.deptList = response.data || []; + this.getInvList(); + }) + .catch(() => { + }); + }, + deptChange() { + this.getInvList(); + this.formData.invCode = ""; + }, + changeCheckInsert(){ + if (this.formData.operationType == 1){ + this.formData.checkInsert = 1 + } } }, created() { this.getList() - this.getInvList() + // this.getInvList() this.getBusType() this.getTree() this.getLstTree() + this.getDeptList() } }