소스 검색

【修改】bug

莫绍宝 3 년 전
부모
커밋
540f9ac8bf
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 3
      src/views/supply/apply/components/apply_form.vue
  2. 3 3
      src/views/supply/apply/components/apply_return_form.vue

+ 3 - 3
src/views/supply/apply/components/apply_form.vue

@@ -395,9 +395,9 @@ export default {
       if(!this.screenForm.warehouse) {
         return this.$errorMsg('请选择仓库');
       }
-      // if(!this.screenForm.type) {
-      //   return this.$errorMsg('请选择存货类别');
-      // }
+      if(!this.screenForm.type) {
+        return this.$errorMsg('请选择存货类别');
+      }
       this.currentPage = 1;
       this.getGoodsList();
     },

+ 3 - 3
src/views/supply/apply/components/apply_return_form.vue

@@ -387,9 +387,9 @@ export default {
       // if(!this.screenForm.warehouse) {
       //   return this.$errorMsg('请选择仓库');
       // }
-      // if(!this.screenForm.type) {
-      //   return this.$errorMsg('请选择存货类别');
-      // }
+      if(!this.screenForm.type) {
+        return this.$errorMsg('请选择存货类别');
+      }
       this.currentPage = 1;
       this.getSalesGoodsList();
     },