From cfa6aa1bba4e4c55a8f88174aa93afab86bb33cd Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 13 九月 2023 15:49:24 +0800
Subject: [PATCH] lingyang配置问卷
---
web_standard/src/components/ext/OperaWrollOutStore.vue | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/web_standard/src/components/ext/OperaWrollOutStore.vue b/web_standard/src/components/ext/OperaWrollOutStore.vue
index 6b4f08e..1c1ecb3 100644
--- a/web_standard/src/components/ext/OperaWrollOutStore.vue
+++ b/web_standard/src/components/ext/OperaWrollOutStore.vue
@@ -581,6 +581,18 @@
this.pagination.pageIndex = res.page
this.tempMaterials = res.records
this.isSelectMaterial = true
+ if (this.selectedAllMaterails[this.pagination.pageIndex]) {
+ for (const item of this.selectedAllMaterails[this.pagination.pageIndex]) {
+ this.$nextTick(() => {
+ this.tempMaterials.forEach(tempItem => {
+ if (tempItem.id === item.id) {
+ console.log(tempItem.mmodelUnionName);
+ this.$refs.materials.toggleRowSelection(tempItem, true)
+ }
+ })
+ })
+ }
+ }
}).catch(err => {
this.$tip.error(err)
})
@@ -592,6 +604,7 @@
handleSelectionChange (selectedRows) {
// console.log(selectedRows)
this.selectedAllMaterails[this.pagination.pageIndex] = selectedRows
+ console.log(this.selectedMaterails);
},
selectData () {
console.log(this.selectedAllMaterails)
--
Gitblit v1.9.3