|
@@ -144,6 +144,10 @@ export default {
|
|
|
handleClose () {
|
|
|
this.$emit('close')
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
+ this.form = {
|
|
|
+ id: 'all',
|
|
|
+ priceType: undefined
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -154,8 +158,7 @@ export default {
|
|
|
// 重定义的弹框状态
|
|
|
isShow (newValue, oldValue) {
|
|
|
if (!newValue) {
|
|
|
- this.$emit('close')
|
|
|
- this.$refs.ruleForm.resetFields()
|
|
|
+ this.handleClose()
|
|
|
} else {
|
|
|
if (this.nowType == 'dbflPrint') {
|
|
|
this.getTypeData()
|