代码更新
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user