소스 검색

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