lilei 2 年之前
父節點
當前提交
c24edbf41a
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/views/allocationManagement/transferOut/printModal.vue

+ 5 - 2
src/views/allocationManagement/transferOut/printModal.vue

@@ -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()