From b5497f29b50091ec0bec69feb5c46b5c20a41059 Mon Sep 17 00:00:00 2001 From: "Mr.sun" <2290907227@qq.com> Date: Fri, 19 Apr 2024 10:09:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../libraryManage/inventory/inventoryAudit.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/views/libraryManage/inventory/inventoryAudit.vue b/src/views/libraryManage/inventory/inventoryAudit.vue index f7a9900..423b223 100644 --- a/src/views/libraryManage/inventory/inventoryAudit.vue +++ b/src/views/libraryManage/inventory/inventoryAudit.vue @@ -75,6 +75,7 @@ export default { handleSelect: [], tableConfig: {}, tableProps: {}, + goodIds: [], paging: { page: 1, // 当前页 size: 10, // 页面大小 @@ -91,6 +92,7 @@ export default { // 表格复选框选中 handleselection(val) { this.handleSelect = val.map((ele) => ele.id) + this.goodIds = val.map((ele) => ele.goodId) }, //查看详情 @@ -146,11 +148,17 @@ export default { }, // 反审 calce() { - let obj = { - invStatus: 'approved', //unapproved - ids: this.handleSelect - } - this.tijiao(obj) + this.$confirm('确认上报吗?', '确认', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + let obj = { + invStatus: 'approved', //unapproved + goodIds: this.goodIds + } + this.tijiao(obj) + }) } } }