浏览代码

处方药必填校验

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 = [];