From 26ed9693e96f85c00faf5d94e25dfda5bd89833e Mon Sep 17 00:00:00 2001 From: woody Date: Mon, 23 Jun 2025 11:54:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(emptyOrder):=20=E7=A9=BA=E5=8D=95=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E6=89=B9=E9=87=8F=E6=93=8D=E4=BD=9C=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../information/specialBusiness/emptyOrder/dataList.vue | 5 ++++- src/views/information/specialBusiness/emptyOrder/index.vue | 7 ++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/information/specialBusiness/emptyOrder/dataList.vue b/src/views/information/specialBusiness/emptyOrder/dataList.vue index 2cebe2f..ace27ab 100644 --- a/src/views/information/specialBusiness/emptyOrder/dataList.vue +++ b/src/views/information/specialBusiness/emptyOrder/dataList.vue @@ -1558,7 +1558,7 @@ export default { } }, changeAllData() { - this.tableData.forEach((item) => { + this.tableData.forEach((item, idx) => { if (this.changeData.placeDept != '') { item.placeDept = this.changeData.placeDept item.placeDeptVal = this.changeData.placeDeptVal @@ -1634,6 +1634,9 @@ export default { item.autoFlag = this.changeData.autoFlag item.autoFlagVal = this.changeData.autoFlagVal } + item.autoFlag = 1 + item.autoFlagVal = '否' + this.$set(this.tableData, idx, item) }) }, handleSelectionChange(val) { diff --git a/src/views/information/specialBusiness/emptyOrder/index.vue b/src/views/information/specialBusiness/emptyOrder/index.vue index b53ad23..3c8356f 100644 --- a/src/views/information/specialBusiness/emptyOrder/index.vue +++ b/src/views/information/specialBusiness/emptyOrder/index.vue @@ -1702,9 +1702,7 @@ export default { } }, changeAllData() { - this.tableData.forEach((item) => { - item.autoFlag = '' - item.autoFlagVal = '' + this.tableData.forEach((item, idx) => { if (this.changeData.placeDept != '') { item.placeDept = this.changeData.placeDept item.placeDeptVal = this.changeData.placeDeptVal @@ -1782,6 +1780,9 @@ export default { item.autoFlagVal = this.changeData.autoFlagVal this.$forceUpdate() } + item.autoFlag = 1 + item.autoFlagVal = '否' + this.$set(this.tableData, idx, item) }) }, handleSelectionChange(val) {