Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
6855149d18

+ 2 - 2
src/xt_pages/dialysis/PatientBox.vue View File

@@ -55,9 +55,9 @@
55 55
       <div class="dislysisInfo">
56 56
         <p>体重(前/后kg):
57 57
           {{ schedule.assessment_before_dislysis ? schedule.assessment_before_dislysis.weight_before : '' }}
58
-          <span v-if="schedule.assessment_after_dislysis>0">/{{ schedule.assessment_after_dislysis ? schedule.assessment_after_dislysis.weight_after : '' }}</span> </p>
58
+          <span v-if="schedule.assessment_after_dislysis && schedule.assessment_after_dislysis.weight_after>0">/{{ schedule.assessment_after_dislysis ? schedule.assessment_after_dislysis.weight_after : '' }}</span> </p>
59 59
         <p>目标超滤量:
60
-          <span v-if="schedule.prescription>0">{{ schedule.prescription ? schedule.prescription.target_ultrafiltration : '' }}</span>
60
+          <span v-if="schedule.prescription && schedule.prescription.target_ultrafiltration>0">{{ schedule.prescription ? schedule.prescription.target_ultrafiltration : '' }}</span>
61 61
        
62 62
         </p>
63 63
         <p :title="schedule.prescription ? schedule.prescription.dialyzer_perfusion_apparatus : ''">

+ 9 - 6
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -109,11 +109,9 @@
109 109
       <ul>
110 110
         <li v-if="isShow('目标超滤量')">
111 111
           <label>目标超滤量 : </label>
112
-          <span class="content">{{
113
-            target_ultrafiltration != "0" ? target_ultrafiltration : ""
114
-          }}</span>
115
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.org_id != 9555" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
116
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id != 40 || this.$store.getters.xt_user.template_info.template_id != 43 || this.$store.getters.xt_user.template_info.template_id != 45 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
112
+          <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
113
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.org_id != 9555 && this.$store.getters.xt_user.template_info.org_id != 9671"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
114
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id != 40 || this.$store.getters.xt_user.template_info.template_id != 43 || this.$store.getters.xt_user.template_info.template_id != 45 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 9671" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
117 115
         </li>
118 116
         <li v-if="isShow('葡萄糖')">
119 117
           <label>葡萄糖 : </label>
@@ -712,7 +710,7 @@ export default {
712 710
     displace_speed:function(){
713 711
       return this.getValueStr('displace_speed','displace_speed')
714 712
     },
715
-
713
+  
716 714
   },
717 715
   created() {
718 716
     console.log("中国出口233232323233223",this.prescription)
@@ -778,6 +776,11 @@ export default {
778 776
        }
779 777
        return name
780 778
     }
779
+  },
780
+  watch:{
781
+     prescription:function(){
782
+     console.log("中国出口233232323233223",this.prescription)
783
+   }
781 784
   }
782 785
 }
783 786
 </script>

+ 1 - 1
src/xt_pages/dialysis/details/NavIgation.vue View File

@@ -635,7 +635,7 @@ export default {
635 635
       this.$refs.assessmentBefore.show(this.predialysis_evaluation,this.last_dryWeight_dislysis,this.last_predialysis_evaluation,this.lastAssessment);
636 636
     },
637 637
     showDoubleCheck: function() {
638
-       
638
+      console.log("h322323232323232332",this.prescription)
639 639
       this.$refs.doubleCheck.show();
640 640
     },
641 641
     showrTeatmentSummary: function() {

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -1750,7 +1750,7 @@ export default {
1750 1750
   created(){
1751 1751
     //获取自备药
1752 1752
     this.getSelfMedicalList()
1753
-    console.log("模板数据",this.adviceTemplates)
1753
+    
1754 1754
   }
1755 1755
 };
1756 1756
 </script>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

@@ -1296,7 +1296,7 @@
1296 1296
       this.record_date = date ? uParseTime(date, "{y}-{m}-{d}") : parseTime(new Date(), '{y}-{m}-{d}')
1297 1297
       //获取皮肤
1298 1298
       this.skins = getDataConfig('hemodialysis','skin')
1299
-      console.log("皮肤",this.skins)
1299
+      
1300 1300
       this.pinholings = getDataConfig('hemodialysis','pinholing')
1301 1301
       console.log("针眼",this.pinholings)
1302 1302
       this.catheter_maintenancelist = getDataConfig('hemodialysis','catheter_maintenance')

+ 17 - 9
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -2257,7 +2257,7 @@
2257 2257
             ParamsQuery['patient'] = this.patient.id
2258 2258
             ParamsQuery['record_date'] = this.record_date
2259 2259
             ParamsQuery['mode'] = '1'
2260
-
2260
+            ParamsQuery['patient_id'] = this.patient.id
2261 2261
             console.log('第一', ParamsQuery)
2262 2262
             postPrescription(ParamsQuery).then(response => {
2263 2263
               if (response.data.state == 0) {
@@ -2300,6 +2300,7 @@
2300 2300
               ParamsQuery['patient'] = this.patient.id
2301 2301
               ParamsQuery['record_date'] = this.record_date
2302 2302
               ParamsQuery['mode'] = '1'
2303
+              ParamsQuery['patient_id'] = this.patient.id
2303 2304
                console.log('第二')
2304 2305
               postPrescription(ParamsQuery).then(response => {
2305 2306
                 if (response.data.state == 0) {
@@ -2347,8 +2348,9 @@
2347 2348
               ParamsQuery['patient'] = this.patient.id
2348 2349
               ParamsQuery['record_date'] = this.record_date
2349 2350
               ParamsQuery['mode'] = '1'
2351
+              ParamsQuery['patient_id'] = this.patient.id
2350 2352
               console.log('第三')
2351
-
2353
+            
2352 2354
               postPrescription(ParamsQuery).then(response => {
2353 2355
                 if (response.data.state == 0) {
2354 2356
                   this.$message.error(response.data.msg)
@@ -2420,6 +2422,7 @@
2420 2422
               ParamsQuery['record_date'] = this.record_date
2421 2423
               // console.log(this.prescription);
2422 2424
               console.log('第四')
2425
+              ParamsQuery['patient_id'] = this.patient.id
2423 2426
               postPrescription(ParamsQuery).then(response => {
2424 2427
                 if (response.data.state == 0) {
2425 2428
                   this.$message.error(response.data.msg)
@@ -2461,6 +2464,7 @@
2461 2464
               ParamsQuery['patient'] = this.patient.id
2462 2465
               ParamsQuery['record_date'] = this.record_date
2463 2466
               ParamsQuery['mode'] = '1'
2467
+              ParamsQuery['patient_id'] = this.patient.id
2464 2468
               console.log('第五')
2465 2469
               postPrescription(ParamsQuery).then(response => {
2466 2470
                 if (response.data.state == 0) {
@@ -2504,6 +2508,7 @@
2504 2508
                 ParamsQuery['record_date'] = this.record_date
2505 2509
                 ParamsQuery['mode'] = '1'
2506 2510
                 console.log('第6')
2511
+                ParamsQuery['patient_id'] = this.patient.id
2507 2512
                 postPrescription(ParamsQuery).then(response => {
2508 2513
                   if (response.data.state == 0) {
2509 2514
                     this.$message.error(response.data.msg)
@@ -2552,6 +2557,7 @@
2552 2557
                 ParamsQuery['record_date'] = this.record_date
2553 2558
                 ParamsQuery['mode'] = '1'
2554 2559
                 console.log('第七')
2560
+                ParamsQuery['patient_id'] = this.patient.id
2555 2561
                 postPrescription(ParamsQuery).then(response => {
2556 2562
                   if (response.data.state == 0) {
2557 2563
                     this.$message.error(response.data.msg)
@@ -2621,7 +2627,9 @@
2621 2627
                 ParamsQuery['patient'] = this.patient.id
2622 2628
                 ParamsQuery['record_date'] = this.record_date
2623 2629
                 ParamsQuery['mode'] = '1'
2630
+                ParamsQuery['patient_id'] = this.patient.id
2624 2631
                 console.log('第八')
2632
+                
2625 2633
                 postPrescription(ParamsQuery).then(response => {
2626 2634
                   if (response.data.state == 0) {
2627 2635
                     this.$message.error(response.data.msg)
@@ -2660,14 +2668,15 @@
2660 2668
             ParamsQuery['patient'] = this.patient.id
2661 2669
             ParamsQuery['record_date'] = this.record_date
2662 2670
             ParamsQuery['mode'] = '2'
2663
-
2671
+            ParamsQuery['patient_id'] = this.patient.id
2672
+          
2664 2673
             if (
2665 2674
               this.$store.getters.xt_user.user.id !=
2666 2675
               this.dialysisPrescription.creater
2667 2676
             ) {
2668 2677
               ParamsQuery['mode'] = '3'
2669 2678
             }
2670
-            console.log('第九')
2679
+            console.log('第九',ParamsQuery)
2671 2680
             postPrescription(ParamsQuery).then(response => {
2672 2681
               if (response.data.state == 0) {
2673 2682
                 this.$message.error(response.data.msg)
@@ -3221,13 +3230,12 @@
3221 3230
       isShows(name) {
3222 3231
         var filedList = store.getters.xt_user.fileds
3223 3232
         for (let i = 0; i < filedList.length; i++) {
3224
-          if (
3225
-            filedList[i].module == 1 &&
3226
-            filedList[i].filed_name_cn == name &&
3227
-            filedList[i].is_show == 1
3228
-          ) {
3233
+         
3234
+          if (filedList[i].module == 1 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
3235
+
3229 3236
             return true
3230 3237
           }
3238
+
3231 3239
         }
3232 3240
         return false
3233 3241
       },

+ 89 - 34
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue View File

@@ -222,7 +222,7 @@
222 222
                   '{y}-{m}-{d} {h}:{i}'
223 223
                 ).split(' ')[1]
224 224
 
225
-                console.log('真性感')
225
+                
226 226
             }
227 227
 
228 228
           }else if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
@@ -326,7 +326,7 @@
326 326
            
327 327
 
328 328
             let doublecheck_resp = response.data.data.doubleCheck
329
-            console.log("双核2332322323",doublecheck_resp)
329
+            console.log("处方233232323232232332",this.prescription)
330 330
             var doubleCheck = this.double_check
331 331
             for (var index in doublecheck_resp) {        
332 332
               this.$set(doubleCheck, index, doublecheck_resp[index])
@@ -920,40 +920,95 @@
920 920
     },
921 921
     watch: {
922 922
       isVisibility(val) {
923
-        
923
+         
924 924
         if(this.prescription!=null && this.prescription.id!=0){
925
+          if(this.prescription.dialyzer_perfusion_apparatus !="" || this.prescription.dialysis_dialyszers!="" || this.prescription.dialysis_irrigation!=""){
926
+            this.diazes = ""
927
+            this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
928
+            this.diazes = this.diazes + this.prescription.dialysis_dialyszers+this.prescription.dialysis_irrigation
929
+          }else{
930
+            this.diazes = ""
931
+            this.diazes = this.diazes 
932
+          }
933
+          
934
+          if(this.prescription.dialysate_formulation!=""){
935
+             this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
936
+          }else{
937
+            this.dialysate_formulation = this.dialysate_formulation 
938
+          }
939
+          
940
+          if(this.prescription.kalium!=""){
941
+           this.kalium = this.kalium + (this.prescription.kalium?this.prescription.kalium:"")
942
+          }else{
943
+            this.kalium = this.kalium 
944
+          }
945
+       
946
+          if(this.prescription.calcium!=""){
947
+           this.calcium = this.calcium + (this.prescription.calcium?this.prescription.calcium:"")
948
+          }else{
949
+            this.calcium = this.calcium
950
+          }
951
+         
952
+          if(this.prescription.mode_id > 0){
953
+            this.dialys_mode = this.dialys_mode + this.getMode(this.prescription.mode_id) 
954
+          }else{
955
+             this.dialys_mode = this.dialys_mode
956
+          }
957
+          
958
+          if(this.prescription.dialysis_duration_hour !="" || this.prescription.dialysis_duration_minute!=""){
959
+            this.long_time = this.long_time + (this.prescription.dialysis_duration_hour?this.prescription.dialysis_duration_hour:"") +"小时" +(this.prescription.dialysis_duration_minute?this.prescription.dialysis_duration_minute:"") +"分"
960
+          }else{
961
+             this.long_time = this.long_time
962
+          }
963
+          
964
+          if(this.prescription.target_ultrafiltration!=""){
965
+           this.target_ultrafiltration = this.target_ultrafiltration + (this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:"")
966
+          }else{
967
+            this.target_ultrafiltration = this.target_ultrafiltration
968
+          }
925 969
           
926
-          this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
927
-          this.diazes = this.diazes + this.prescription.dialysis_dialyszers+this.prescription.dialysis_irrigation
928
-          this.prescription.dialyzer_perfusion_apparatus = ""
929
-          this.prescription.dialysis_dialyszers = ""
930
-          this.prescription.dialysis_irrigation = ""
931
-          this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
932
-          // this.prescription.dialysate_formulation = ""
933
-          this.kalium = this.kalium + (this.prescription.kalium?this.prescription.kalium:"")
934
-          this.prescription.kalium = ""
935
-          this.calcium = this.calcium + (this.prescription.calcium?this.prescription.calcium:"")
936
-          this.prescription.calcium = ""
937
-          this.dialys_mode = this.dialys_mode + this.getMode(this.prescription.mode_id)
938
-          this.prescription.mode_id= ""
939
-          this.long_time = this.long_time + (this.prescription.dialysis_duration_hour?this.prescription.dialysis_duration_hour:"") +"小时" +this.prescription.dialysis_duration_minute +"分"
940
-          this.prescription.dialysis_duration_hour=""
941
-          this.target_ultrafiltration = this.target_ultrafiltration + (this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:"")
942
-          this.prescription.target_ultrafiltration = ""
943
-          this.anticoagulant = this.anticoagulant + this.getAnticoagulant(this.prescription.anticoagulant)
944
-          this.prescription.anticoagulant=""
945
-          this.anticoagulant_shouji = this.anticoagulant_shouji + (this.prescription.anticoagulant_shouji?this.prescription.anticoagulant_shouji:"")
946
-          this.prescription.anticoagulant_shouji = ""
947
-          this.anticoagulant_weichi = this.anticoagulant_weichi + (this.prescription.anticoagulant_weichi?this.prescription.anticoagulant_weichi:"")
948
-         this.prescription.anticoagulant_weichi=""
949
-         this.anticoagulant_zongliang = this.anticoagulant_zongliang+(this.prescription.anticoagulant_zongliang?this.prescription.anticoagulant_zongliang:"")
950
-         this.prescription.anticoagulant_zongliang = ""
951
-         this.displace_liqui_part = this.displace_liqui_part + (this.prescription.displace_liqui_part?this.prescription.displace_liqui_part:"")
952
-          this.prescription.displace_liqui_part
953
-          this.replacement_total = this.replacement_total + (this.prescription.replacement_total?this.prescription.replacement_total:"")
954
-          this.prescription.replacement_total= ""
955
-          this.dialysate_flow = this.dialysate_flow + (this.prescription.dialysate_flow?this.prescription.dialysate_flow:"")
956
-          this.prescription.dialysate_flow= ""
970
+          if(this.prescription.anticoagulant!=""){
971
+            this.anticoagulant = this.anticoagulant + this.getAnticoagulant(this.prescription.anticoagulant)
972
+          }else{
973
+            this.anticoagulant = this.anticoagulant 
974
+          }
975
+         
976
+          if(this.prescription.anticoagulant_shouji!=""){
977
+            this.anticoagulant_shouji = this.anticoagulant_shouji + (this.prescription.anticoagulant_shouji?this.prescription.anticoagulant_shouji:"")
978
+          }else{
979
+             this.anticoagulant_shouji = this.anticoagulant_shouji
980
+          }
981
+          
982
+          if(this.prescription.anticoagulant_weichi!=""){
983
+             this.anticoagulant_weichi = this.anticoagulant_weichi + (this.prescription.anticoagulant_weichi?this.prescription.anticoagulant_weichi:"")
984
+          }else{
985
+           this.anticoagulant_weichi = this.anticoagulant_weichi 
986
+          }
987
+          
988
+          if(this.prescription.anticoagulant_zongliang!=""){
989
+             this.anticoagulant_zongliang = this.anticoagulant_zongliang+(this.prescription.anticoagulant_zongliang?this.prescription.anticoagulant_zongliang:"")
990
+          }else{
991
+             this.anticoagulant_zongliang = this.anticoagulant_zongliang
992
+          }
993
+       
994
+          if(this.prescription.displace_liqui_part!=""){
995
+            this.displace_liqui_part = this.displace_liqui_part + (this.prescription.displace_liqui_part?this.prescription.displace_liqui_part:"")
996
+          }else{
997
+             this.displace_liqui_part = this.displace_liqui_part
998
+          }
999
+          
1000
+          if(this.prescription.replacement_total!=""){
1001
+             this.replacement_total = this.replacement_total + (this.prescription.replacement_total?this.prescription.replacement_total:"")
1002
+          }else{
1003
+             this.replacement_total = this.replacement_total
1004
+          }
1005
+        
1006
+          if(this.prescription.dialysate_flow!=""){
1007
+             this.dialysate_flow = this.dialysate_flow + (this.prescription.dialysate_flow?this.prescription.dialysate_flow:"")
1008
+          }else{
1009
+             this.dialysate_flow = this.dialysate_flow
1010
+          }
1011
+
957 1012
         }
958 1013
         if(this.predialysis_evaluation!=null && this.predialysis_evaluation.id!=0){
959 1014
           this.puncture_needle = this.puncture_needle + this.predialysis_evaluation.puncture_needle

+ 8 - 1
src/xt_pages/dialysis/details/index.vue View File

@@ -981,6 +981,7 @@ export default {
981 981
           var schedual = resp.data.schedual // 患者排班信息
982 982
           console.log("排班22222222222",schedual)
983 983
           var prescription = resp.data.prescription // 透析处方
984
+          console.log("中华人民共和过2332233232323223",prescription)
984 985
           if (prescription != null) {
985 986
             if (prescription.body_fluid == -2) {
986 987
               prescription.body_fluid = 0
@@ -1338,7 +1339,13 @@ export default {
1338 1339
         var resp = rs.data
1339 1340
         if (resp.state == 1) {
1340 1341
           var schedules = resp.data.schedules
1341
-          console.log("当前排班信息4444444444444444",schedules)
1342
+          console.log("恭喜发慈爱2323232323323323223322332",schedules,this.prescription.patient_id)
1343
+          for(let i=0;i<schedules.length;i++){
1344
+            if(this.prescription.patient_id == schedules[i].patient_id){
1345
+               this.prescription = schedules[i].prescription
1346
+            }
1347
+          }
1348
+          console.log("hh2332223323232",this.prescription)
1342 1349
           this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1343 1350
           const patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
1344 1351
           if (this.activeName == 'first') {

+ 1 - 4
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

@@ -3232,11 +3232,8 @@
3232 3232
           }, 400)
3233 3233
         }
3234 3234
       }
3235
-    },
3236
-    created(){
3237
-      console.log("中华任命工商过多水分我333323232",this.org_id)
3238
-      console.log("jjjjjjjjjjjjjjjjjjjjjjjjjjjj",this.drugs)
3239 3235
     }
3236
+  
3240 3237
 
3241 3238
   }
3242 3239
 </script>