代码更新

This commit is contained in:
2022-11-27 18:40:25 +08:00
parent 10cb9c8718
commit d8c7d47f31
10 changed files with 181 additions and 28 deletions

View File

@@ -95,7 +95,8 @@ export default {
return {
dialogVisible: false,
opendtlParam: '',
rows: []
rows: [],
openShow: true
}
},
watch: {
@@ -113,6 +114,12 @@ export default {
methods: {
[CRUD.HOOK.beforeRefresh]() {
this.crud.query.mater_type = this.opendtlParam
if (this.openShow) {
this.openShow = false
return false
} else {
return true
}
},
close() {
this.crud.resetQuery(false)
@@ -120,7 +127,7 @@ export default {
},
open() {
this.crud.query.mater_type = this.opendtlParam
this.crud.toQuery()
// this.crud.toQuery()
},
submit() {
this.rows = this.$refs.multipleTable.selection