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) {