Преглед изворни кода

修复 协定方 转方弹出 请和患者确认以下信息 保存时数据不正确

cc12458 пре 1 година
родитељ
комит
2a423c5640
2 измењених фајлова са 5 додато и 23 уклоњено
  1. 4 22
      src/utils/minix/prescribing.js
  2. 1 1
      src/views/diagnosis/Prescribing.vue

+ 4 - 22
src/utils/minix/prescribing.js

@@ -170,28 +170,10 @@ export default {
         },
         },
         // 提交地址信息
         // 提交地址信息
         submitAddress() {
         submitAddress() {
-            this.showAddress = false
-            return
-            let zhongPrescriptionVo = this.dealRecipe1();
-            let chengPrescriptionVo = {};
-            setTimeout(() => {
-                chengPrescriptionVo = this.dealRecipe2();
-            }, 100);
-            let technologyPrescriptionVo = {};
-            setTimeout(() => {
-                technologyPrescriptionVo = this.dealRecipe3();
-            }, 200);
-            setTimeout(() => {
-
-
-                this._getRecipePriview(
-                    zhongPrescriptionVo,
-                    chengPrescriptionVo,
-                    technologyPrescriptionVo
-                );
-
-
-            }, 500);
+            const model = this.$refs.medAdress.form;
+            this.psChange(model.iskD)
+            this.djChange(model.isDaiJian)
+            this.showAddress = false;
         },
         },
         // 获取医保规则最大/最小药味数
         // 获取医保规则最大/最小药味数
         async getMaxMinDoaseNumber() {
         async getMaxMinDoaseNumber() {

+ 1 - 1
src/views/diagnosis/Prescribing.vue

@@ -1107,7 +1107,7 @@
     <!-- 选择代煎 地址栏 -->
     <!-- 选择代煎 地址栏 -->
     <Popup
     <Popup
       :showDialog="showAddress"
       :showDialog="showAddress"
-      @cancle="showAddress=false"
+      @cancle="submitAddress"
       @confim="submitAddress"
       @confim="submitAddress"
       title="请和患者确认以下信息"
       title="请和患者确认以下信息"
       width="700px"
       width="700px"