From 54c25d1997bb915860acd97368792e7afc3fd4ef Mon Sep 17 00:00:00 2001 From: zhouzy062 Date: Mon, 25 Mar 2024 16:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=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 --- .../claimAndRefund/receive/receiveOut.vue | 500 ++++++++++++++++++ .../claimAndRefund/return/returnExamine.vue | 32 ++ sgzb-ui/src/views/dashboard.vue | 1 + .../newBuy/newDevices/newDevicesAccept.vue | 2 +- sgzb-ui/src/views/system/user/index.vue | 7 +- 5 files changed, 540 insertions(+), 2 deletions(-) create mode 100644 sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue new file mode 100644 index 00000000..a7312686 --- /dev/null +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue @@ -0,0 +1,500 @@ + + + + \ No newline at end of file diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue b/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue index df96f048..8059f2e8 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue @@ -433,6 +433,16 @@ width="200" prop="num" > + @@ -730,6 +740,14 @@ export default { }, /** 提交按钮 同意 */ submitForm() { + const isNum = this.loadingList.some( + (item) => item.num == '' || item.num == undefined + ); + if (isNum) { + this.$message.error('退料数量不能为空!'); + return; + } + let params = { ids: this.rowObj.id } @@ -742,6 +760,13 @@ export default { }, /** 提交按钮 拒绝 */ submitForm2() { + const isNum = this.loadingList.some( + (item) => item.num == '' || item.num == undefined + ); + if (isNum) { + this.$message.error('退料数量不能为空!'); + return; + } let params = { ids: this.rowObj.id } @@ -771,6 +796,13 @@ export default { return false } }, + checkNum(row){ + if(row.num>=0){ + row.num = row.num + }else{ + row.num = 0 + } + }, handleExam() { let params = { ids: this.ids.join(',') diff --git a/sgzb-ui/src/views/dashboard.vue b/sgzb-ui/src/views/dashboard.vue index b95f2654..007d10cb 100644 --- a/sgzb-ui/src/views/dashboard.vue +++ b/sgzb-ui/src/views/dashboard.vue @@ -12,6 +12,7 @@ }, created () { this.openNewWindow() + this.$tab.closePage().then(() => { }); }, methods: { openNewWindow() { diff --git a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesAccept.vue b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesAccept.vue index 07030c55..98c6e0e9 100644 --- a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesAccept.vue +++ b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesAccept.vue @@ -94,7 +94,7 @@ size="mini" type="primary" icon="el-icon-edit" - v-show="scope.row.status==0" + v-show="scope.row.checkNum验收