Jelajahi Sumber

开方切换药房重新获取合理安全用药

cc12458 1 tahun lalu
induk
melakukan
091715ea42
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      src/components/ChineseMedicine.vue

+ 4 - 0
src/components/ChineseMedicine.vue

@@ -2540,6 +2540,10 @@ export default {
           }
         );
         this._splitDataToView();
+        this.$parent.rationalMed = [];
+        this.recipe_tabs[this.recipe_tabs_c].totalTableD.forEach(item => {
+          this.$parent.getRationalMed(item.medid)
+        });
 
         // this.recipe_tabs[this.recipe_tabs_c].lastType = this.recipe_tabs[this.recipe_tabs_c]
         //     .radio // 存储这一次的 药房类型