소스 검색

表单验证

三七 2 달 전
부모
커밋
1e96305075
3개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/his/doctorArticle/index.vue
  2. 2 0
      src/views/his/integralGoods/index.vue
  3. 2 0
      src/views/hisStore/integralGoods/index.vue

+ 2 - 0
src/views/his/doctorArticle/index.vue

@@ -481,12 +481,14 @@ export default {
             updateArticle(this.form).then(response => {
               this.msgSuccess("修改成功");
               this.open = false;
+              this.reset();
               this.getList();
             });
           } else {
             addArticle(this.form).then(response => {
               this.msgSuccess("新增成功");
               this.open = false;
+              this.reset();
               this.getList();
             });
           }

+ 2 - 0
src/views/his/integralGoods/index.vue

@@ -484,12 +484,14 @@ export default {
             updateIntegralGoods(this.form).then(response => {
               this.msgSuccess("修改成功");
               this.open = false;
+              this.reset();
               this.getList();
             });
           } else {
             addIntegralGoods(this.form).then(response => {
               this.msgSuccess("新增成功");
               this.open = false;
+              this.reset();
               this.getList();
             });
           }

+ 2 - 0
src/views/hisStore/integralGoods/index.vue

@@ -481,12 +481,14 @@ export default {
             updateIntegralGoods(this.form).then(response => {
               this.msgSuccess("修改成功");
               this.open = false;
+              this.reset();
               this.getList();
             });
           } else {
             addIntegralGoods(this.form).then(response => {
               this.msgSuccess("新增成功");
               this.open = false;
+              this.reset();
               this.getList();
             });
           }