Explorar el Código

处方药必填校验

Guos hace 1 semana
padre
commit
95796f2637
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 = [];