Commit cb64dd55 by caoyanzhi

update: 选择成员

parent 988c5394
...@@ -109,11 +109,6 @@ export default { ...@@ -109,11 +109,6 @@ export default {
visible(flag) { visible(flag) {
if (flag) { if (flag) {
this.show = true; this.show = true;
this.params.storeGroup = [];
this.params.storeGroupId = '';
this.params.storeSearchParams = '';
this.params.clerkSearchParams = '';
this.params.pageNum = 1;
this.selected = JSON.parse(JSON.stringify(this.data)); this.selected = JSON.parse(JSON.stringify(this.data));
this.getStoreClerkList(); this.getStoreClerkList();
} }
...@@ -333,11 +328,16 @@ export default { ...@@ -333,11 +328,16 @@ export default {
this.selectAll.indeterminate = false; this.selectAll.indeterminate = false;
this.selectAll.disabled = false; this.selectAll.disabled = false;
this.selected = []; this.selected = [];
this.params.storeGroup = [];
this.params.storeGroupId = '';
this.params.storeSearchParams = '';
this.params.clerkSearchParams = '';
this.params.pageNum = 1;
this.$emit('update:visible', false); this.$emit('update:visible', false);
}, },
onSave() { onSave() {
this.$emit('save', JSON.parse(JSON.stringify(this.selected))); this.$emit('save', JSON.parse(JSON.stringify(this.selected)));
this.onCancel(); this.show = false;
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment