From e1928139b7d8e476314974d81727e6d792f9cd9b Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 6 Jun 2024 15:57:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/store/modules/user.js | 1 + .../picking/apply/component/home.vue | 8 +- .../claimAndreturn/picking/outbound/index.vue | 7 +- .../return/receive/component/handlePage.vue | 2 +- .../views/repairTest/repair/dialogOneForm.vue | 1100 ++++++++++------- .../forecastWaste/auditing/index.vue | 1 + 6 files changed, 664 insertions(+), 455 deletions(-) diff --git a/sgzb-ui/src/store/modules/user.js b/sgzb-ui/src/store/modules/user.js index 55931659..4b01e180 100644 --- a/sgzb-ui/src/store/modules/user.js +++ b/sgzb-ui/src/store/modules/user.js @@ -117,6 +117,7 @@ const user = { /* 存储当前登录用户的userId */ sessionStorage.setItem('userId', user.userId) sessionStorage.setItem('deptId', user.deptId) + sessionStorage.setItem('userName', user.userName) const avatar = (user.avatar == "" || user.avatar == null) ? require("@/assets/images/profile.jpg") : user.avatar; if (res.roles && res.roles.length > 0) { // 验证返回的roles是否是一个非空数组 commit('SET_ROLES', res.roles) diff --git a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue index fef698c2..0b859950 100644 --- a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue +++ b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue @@ -281,9 +281,10 @@ size="mini" type="text" v-if=" - scope.row.taskStatus == 98 || - scope.row.taskStatus == 99 || - scope.row.taskStatus == 100 + (scope.row.taskStatus == 98 || + scope.row.taskStatus == 99 || + scope.row.taskStatus == 100) && + scope.row.createBy === currentUserName " @click="handleUpdate2(scope.row)" v-hasPermi="['picking:apply:reject:submit']" @@ -367,6 +368,7 @@ export default { }, unitList: [], //来往单位集合 proList: [], //工程集合 + currentUserName: sessionStorage.getItem('userName'), } }, created() { diff --git a/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue b/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue index 250b795e..acbdeb91 100644 --- a/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue +++ b/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue @@ -286,7 +286,7 @@ @click="codeOut(scope.row)" v-if=" scope.row.manageType == 0 && - scope.row.status != 0 + scope.row.status != 2 " > 编码出库 @@ -758,7 +758,10 @@ export default { type: 'warning', }) .then(() => { - outboundCompleted({ id: this.dialogQuery.id, typeId: row.typeId }).then((response) => { + outboundCompleted({ + id: this.dialogQuery.id, + typeId: row.typeId, + }).then((response) => { this.$modal.msgSuccess('完成出库成功') this.handleDialogQuery() this.handleQuery() diff --git a/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue b/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue index fe120ef5..1170d0a5 100644 --- a/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue +++ b/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue @@ -805,7 +805,7 @@ export default { if (response.code == 200) { this.$modal.msgSuccess('操作成功') // this.back() - this.$$emit('goBackPage') + this.$emit('goBackPage') } }) } diff --git a/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue b/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue index cb962bb9..ed1b7901 100644 --- a/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue +++ b/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue @@ -1,480 +1,682 @@ diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/index.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/index.vue index 8dd88109..d27069c7 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/index.vue +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/index.vue @@ -261,6 +261,7 @@ export default { this.$message.success('审核通过!') this.dialogConfig.outerVisible = false this.$refs.tbRef.getList() + this.auditingParams.scrapDetailList = [] } }, /* 审核驳回 */