소스 검색

feat: 商品和套餐添加所属公司

xdd 2 달 전
부모
커밋
4297797a1c
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      src/views/store/storeProductPackage/index.vue

+ 5 - 2
src/views/store/storeProductPackage/index.vue

@@ -717,10 +717,13 @@ export default {
                 modifyStoreProductPackages(this.form1).then(response => {
                     if (response.code === 200) {
                       this.msgSuccess("操作成功");
-                      this.open1 = false;
                       this.getList();
                     }
-                });
+                }).finally(()=>{
+                  this.open1 = false;
+                  this.form1.status = null;
+                  this.form1.companyId = null;
+                })
            }
          }
       });