소스 검색

处方药必填校验

Guos 1 주 전
부모
커밋
95796f2637
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/store/storeProduct/index.vue

+ 1 - 1
src/views/store/storeProduct/index.vue

@@ -1309,7 +1309,7 @@ export default {
     'form.cateId': {
       handler(newVal) {
         const cateName = this.cateIdToNameMap[newVal];
-        if (newVal == 224 || (cateName !== undefined && cateName.includes('器械'))) {
+        if (cateName !== undefined && cateName.includes('器械')) {
           this.rules.indications = [];
           this.rules.ingredient = [];
           this.rules.dosage = [];