Browse Source

处方药必填校验

Guos 1 week ago
parent
commit
95796f2637
1 changed files with 1 additions and 1 deletions
  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 = [];