Pārlūkot izejas kodu

处方药必填校验

Guos 1 nedēļu atpakaļ
vecāks
revīzija
95796f2637
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 = [];