Parcourir la source

bug-1 如果不显示快递标志,将配送置为否 isPs = 1

cc12458 il y a 1 an
Parent
commit
e2b7dc901d
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      src/components/ChineseMedicine.vue
  2. 1 0
      src/utils/minix/prescribing.js

+ 1 - 0
src/components/ChineseMedicine.vue

@@ -2535,6 +2535,7 @@ export default {
 
     // 切换中药类型时 切换 药房 获取 药品里面有没有这条数据
     async changePharmacy(type, val) {
+      // TODO 此处 if 不会调用 触发在 [this.$emit("updateDp", res.Data)](src/components/ChineseMedicine.vue:2831)
       if (this.recipe_tabs[this.recipe_tabs_c].radio == val) {
         this.$parent.openAddress();
         return;

+ 1 - 0
src/utils/minix/prescribing.js

@@ -145,6 +145,7 @@ export default {
             this.isShowDj = isShowDj
             this.isShowPs = isShowPs
 
+            if (!this.isShowDj) this.isPs = 1;
             this.openAddress()
 
         },