浏览代码

no message

linwenxin 4 月之前
父节点
当前提交
e22a2deb00
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/salesPurchasing/goodsPurchasedStored/index.vue

+ 2 - 2
src/views/salesPurchasing/goodsPurchasedStored/index.vue

@@ -406,7 +406,7 @@ export default {
     // 关闭弹窗
     handleClose() {
       this.$refs?.formRef?.resetFields()
-      this.$data.formData = this.$options.data().formData
+      this.formData = this.$options?.data()?.formData
       this.formDialog = false
       this.formDialogType = 0
       this.activeName = 'goodsInfo'
@@ -501,8 +501,8 @@ export default {
               type: 'success',
               message: '保存成功'
             })
-            this.handleClose()
             this.$refs.pageRef.refreshList()
+            this.handleClose()
           })
         }
       })