|
@@ -91,7 +91,6 @@ export default {
|
|
|
this.dialogFormVisible = !this.dialogFormVisible
|
|
|
},
|
|
|
confirm() {
|
|
|
- this.dialogFormVisible = false
|
|
|
if (this.type == 1) {
|
|
|
this.$emit('confirm', this.inputForm.fws, this.inputForm.manufacturer)
|
|
|
} else if (this.type == 2) {
|
|
@@ -101,6 +100,9 @@ export default {
|
|
|
} else if (this.type == 4) {
|
|
|
this.$emit('confirm', this.inputForm.status, this.inputForm.yssjwcsj)
|
|
|
}
|
|
|
+ this.dialogFormVisible = false
|
|
|
+ this.inputForm.status = ''
|
|
|
+ this.inputForm.yssjwcsj = ''
|
|
|
}
|
|
|
},
|
|
|
mounted() {}
|