Explorar o código

Merge branch '20241231/39' into develop

* 20241231/39:
  智能开方:清空处方保留当前的中药类型数据(配送、代煎)
cc12458 hai 1 ano
pai
achega
ba76c753b8
Modificáronse 1 ficheiros con 5 adicións e 9 borrados
  1. 5 9
      src/components/ChineseMedicine.vue

+ 5 - 9
src/components/ChineseMedicine.vue

@@ -1571,12 +1571,10 @@ export default {
         }
       ];
       this.recipe_tabs[this.recipe_tabs_c].tableData1 = [];
-      this.recipe_tabs[this.recipe_tabs_c].radio = this.pharmacyTypes[0].ptype;
-      this.recipe_tabs[
-        this.recipe_tabs_c
-      ].lastType = this.pharmacyTypes[0].ptype;
-      let moneyMsg = this.recipe_tabs[this.recipe_tabs_c].bottom_form.moneyMsg;
+      // this.recipe_tabs[this.recipe_tabs_c].radio = this.pharmacyTypes[0].ptype;
+      // this.recipe_tabs[this.recipe_tabs_c].lastType = this.pharmacyTypes[0].ptype;
       this.recipe_tabs[this.recipe_tabs_c].bottom_form = {
+        ...this.recipe_tabs[this.recipe_tabs_c].bottom_form,
         preType: "", // 协定方的时候 切换 中药类型带入
         disable: false, // 协定方 配方转方 为 true
         doseNum: "",
@@ -1592,8 +1590,8 @@ export default {
         timeList: [], // 服药时间后台数据
         caozuo: "",
         zhutuo: "",
-        radio: 1,
-        isDaiJian: 2,
+        // radio: 1,
+        // isDaiJian: 2,
         provinceList: [],
         cityList: [],
         areaList: [],
@@ -1608,8 +1606,6 @@ export default {
         nowRecipeMoney: 0, //单剂金额
         nowRecipeMoney1: 0, //当前处方金额
         allMoney: 0, // 合计金额
-
-        moneyMsg: moneyMsg // 价格数据
       };
       this.nowRecipeMoney = 0;