see999 3 년 전
부모
커밋
cc07db8888

+ 2 - 0
src/xt_pages/dialysis/components/dialysisParametersDialog.vue 파일 보기

@@ -33,6 +33,7 @@
33 33
                 <template slot-scope="scope">
34 34
                    <span v-if="scope.row.anticoagulant==1">无肝素</span>
35 35
                    <span v-if="scope.row.anticoagulant==2">普通肝素</span>
36
+                   <span v-if="scope.row.anticoagulant==3">低分子肝素</span>
36 37
                    <span v-if="scope.row.anticoagulant==4">阿加曲班</span>
37 38
                    <span v-if="scope.row.anticoagulant==5">枸橼酸钠</span>
38 39
                    <span v-if="scope.row.anticoagulant==6">低分子肝素钙</span>
@@ -40,6 +41,7 @@
40 41
                    <span v-if="scope.row.anticoagulant==8">依诺肝素</span>
41 42
                    <span v-if="scope.row.anticoagulant==9">达肝素</span>
42 43
                    <span v-if="scope.row.anticoagulant==10">体外抗凝</span>
44
+                   <span v-if="scope.row.anticoagulant==11">那曲肝素</span>
43 45
                 </template>
44 46
             </el-table-column>
45 47
             <el-table-column align="center" prop="name"label="数量">

+ 9 - 1
src/xt_pages/dialysis/details/BasicInfor.vue 파일 보기

@@ -29,7 +29,7 @@
29 29
       </li>
30 30
       <li>
31 31
         <label>年龄:</label>
32
-        <span>{{ getAge(patient) }}</span>
32
+        <span>{{ tranAge(patient)}}</span>
33 33
       </li>
34 34
       <li>
35 35
         <label>透析号 : </label>
@@ -112,6 +112,7 @@ export default {
112 112
   },
113 113
   methods: {
114 114
     getAge: function(val) {
115
+      console.log("val323232323223322332323",val)
115 116
       if (val.id_card_no) {
116 117
         var thisLen = val.id_card_no.length
117 118
 
@@ -132,12 +133,19 @@ export default {
132 133
         return age
133 134
       }
134 135
     },
136
+   tranAge(val) {
137
+        if(val.birthday){
138
+          var birth = uParseTime(val.birthday, '{y}-{m}-{d}');
139
+          return jsGetAge(birth, '-');
140
+        }
141
+    },
135 142
 
136 143
     stepState: function() {
137 144
       return parseInt(Math.random() * 1000 + '') % 2 == 1
138 145
     }
139 146
   },
140 147
   created() {
148
+    // console.log("hh23323233232332233223",this.$store.getters.xt_user.org.id)
141 149
     this.dialysis_time = this.$route.query.date ? parseTime(this.$route.query.date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
142 150
   }
143 151
 }

+ 2 - 0
src/xt_pages/dialysis/dialysisDrugs_print.vue 파일 보기

@@ -33,6 +33,7 @@
33 33
                                     <td>
34 34
                                       <span v-if="item.anticoagulant==1">无肝素</span>
35 35
                                       <span v-if="item.anticoagulant==2">普通肝素</span>
36
+                                      <span v-if="item.anticoagulant==3">低分子肝素</span>
36 37
                                       <span v-if="item.anticoagulant==4">阿加曲班</span>
37 38
                                       <span v-if="item.anticoagulant==5">枸橼酸钠</span>
38 39
                                       <span v-if="item.anticoagulant==6">低分子肝素钙</span>
@@ -40,6 +41,7 @@
40 41
                                       <span v-if="item.anticoagulant==8">依诺肝素</span>
41 42
                                       <span v-if="item.anticoagulant==9">达肝素</span>
42 43
                                       <span v-if="item.anticoagulant==10">体外抗凝</span> 
44
+                                      <span v-if="item.anticoagulant==11">那曲肝素</span> 
43 45
                                     </td>
44 46
                                     <td>
45 47
                                       {{item.count}}

+ 85 - 32
src/xt_pages/hospitalStation/components/deskPrescription.vue 파일 보기

@@ -287,11 +287,11 @@
287 287
                     </el-table-column>
288 288
                     <el-table-column label="库存" width="60">
289 289
                       <template slot-scope="scope">
290
-                        {{scope.row.total}}{{scope.row.total?scope.row.min_unit:''}}
291
-                        <!--/ {{-->
292
-                        <!--scope.row.total * (scope.row.dose / scope.row.min_number)}}-->
293
-                        <!--{{(scope.row.total * (scope.row.dose /-->
294
-                        <!--scope.row.min_number))?scope.row.max_unit:''}}-->
290
+                         <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
291
+                             <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
292
+                             <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
293
+                          </span>
294
+                         <span v-else> {{scope.row.total}}{{scope.row.total?scope.row.min_unit:''}}</span>
295 295
                       </template>
296 296
                     </el-table-column>
297 297
                     <el-table-column label="单价" width="40">
@@ -382,7 +382,12 @@
382 382
                       <template slot-scope="scope">{{ scope.row.single_dose }}</template>
383 383
                     </el-table-column>
384 384
                     <el-table-column label="库存" width="40">
385
-                      <template slot-scope="scope">{{ scope.row.total }}</template>
385
+                      <template slot-scope="scope">
386
+                         <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
387
+                            {{scope.row.stock_count}}
388
+                        </span>
389
+                       <span v-else> {{ scope.row.total }}</span>
390
+                      </template>
386 391
                     </el-table-column>
387 392
                     <el-table-column label="单价" width="40">
388 393
                       <template slot-scope="scope">{{ scope.row.price }}</template>
@@ -503,6 +508,7 @@
503 508
       month_prescriptions: Array,
504 509
       isloading: false,
505 510
       loading: false,
511
+      org_id:Number,
506 512
       other_sick: {
507 513
         type: Array,
508 514
         default: function() {
@@ -2649,20 +2655,34 @@
2649 2655
         this.$refs.additionalCharges.show()
2650 2656
       },
2651 2657
       selectDrugs(selection, row) {
2652
-        console.log('selection', selection)
2653
-        console.log('row', row)
2654
-        if (row.total <= 0) {
2655
-          if (selection) {
2656
-            selection.forEach(row => {
2657
-              if (row.total <= 0) {
2658
-                this.$refs.multipleTable.toggleRowSelection(row)
2658
+      if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919){
2659
+            if (row.count <= 0) {
2660
+              if (selection) {
2661
+                selection.forEach(row => {
2662
+                  if (row.count <= 0) {
2663
+                    this.$refs.multipleTable.toggleRowSelection(row)
2664
+                  }
2665
+                })
2666
+              } else {
2667
+                this.$refs.multipleTable.clearSelection()
2659 2668
               }
2660
-            })
2661
-          } else {
2662
-            this.$refs.multipleTable.clearSelection()
2663
-          }
2664
-          this.$message.error(row.drug_name + '库存不足')
2665
-          return
2669
+              this.$message.error(row.drug_name + '库存不足')
2670
+              return
2671
+            }
2672
+        }else{
2673
+           if (row.total <= 0) {
2674
+              if (selection) {
2675
+                selection.forEach(row => {
2676
+                  if (row.total <= 0) {
2677
+                    this.$refs.multipleTable.toggleRowSelection(row)
2678
+                  }
2679
+                })
2680
+              } else {
2681
+                this.$refs.multipleTable.clearSelection()
2682
+              }
2683
+              this.$message.error(row.drug_name + '库存不足')
2684
+              return
2685
+            }
2666 2686
         }
2667 2687
         this.curDrugs = selection
2668 2688
       },
@@ -2909,20 +2929,39 @@
2909 2929
       },
2910 2930
       selectChange(selection, row) {
2911 2931
         console.log('row', row)
2912
-        if (row.total <= 0) {
2913
-          if (row.type == 3) {
2914
-            if (selection) {
2915
-              selection.forEach(row => {
2916
-                if (row.total <= 0) {
2917
-                  this.$refs.tables.toggleRowSelection(row)
2918
-                }
2919
-              })
2920
-            } else {
2921
-              this.$refs.tables.clearSelection()
2932
+          if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 || this.org_id == 9919 ){
2933
+           if (row.stock_count <= 0) {
2934
+            if (row.type == 3) {
2935
+              if (selection) {
2936
+                selection.forEach(row => {
2937
+                  if (row.stock_count <= 0) {
2938
+                    this.$refs.tables.toggleRowSelection(row)
2939
+                  }
2940
+                })
2941
+              } else {
2942
+                this.$refs.tables.clearSelection()
2943
+              }
2944
+              this.$message.error(row.project_name + '库存不足')
2945
+              return
2922 2946
             }
2923
-            this.$message.error(row.project_name + '库存不足')
2924
-            return
2925 2947
           }
2948
+        }else{
2949
+           if (row.total <= 0) {
2950
+            if (row.type == 3) {
2951
+              if (selection) {
2952
+                selection.forEach(row => {
2953
+                  if (row.total <= 0) {
2954
+                    this.$refs.tables.toggleRowSelection(row)
2955
+                  }
2956
+                })
2957
+              } else {
2958
+                this.$refs.tables.clearSelection()
2959
+              }
2960
+              this.$message.error(row.project_name + '库存不足')
2961
+              return
2962
+            }
2963
+          }
2964
+
2926 2965
         }
2927 2966
         this.teamList.push(row)
2928 2967
       },
@@ -2948,6 +2987,7 @@
2948 2987
                 total: project[i].total,
2949 2988
                 is_special_diseases: project[i].disease_directory,
2950 2989
                 project: project[i],
2990
+                stock_count:0,
2951 2991
               }
2952 2992
 
2953 2993
               this.tabProject.push(obj)
@@ -2956,6 +2996,12 @@
2956 2996
             var good_info = response.data.data.good_info
2957 2997
 
2958 2998
             for (let i = 0; i < good_info.length; i++) {
2999
+               good_info[i].stock_count = 0
3000
+              if(good_info[i].good_stock_in.length >0 ){
3001
+                for(let j=0;j<good_info[i].good_stock_in.length;j++){
3002
+                   good_info[i].stock_count += good_info[i].good_stock_in[j].stock_count
3003
+                }
3004
+              }
2959 3005
               let obj = {
2960 3006
                 id: good_info[i].id,
2961 3007
                 project_name: good_info[i].good_name,
@@ -2972,6 +3018,7 @@
2972 3018
                 total: good_info[i].total,
2973 3019
                 is_special_diseases: good_info[i].is_special_diseases,
2974 3020
                 good_info: good_info[i],
3021
+                stock_count:good_info[i].stock_count,
2975 3022
               }
2976 3023
               this.tabProject.push(obj)
2977 3024
             }
@@ -3154,7 +3201,9 @@
3154 3201
       clearSelection() {
3155 3202
         this.$refs.tabProjectTeam.clearSelection()
3156 3203
       }
3157
-    }, mounted() {
3204
+    }, 
3205
+    mounted() {
3206
+     
3158 3207
       this.request_record_date = this.record_date
3159 3208
       // this.getInitData()
3160 3209
       //获取所有项目
@@ -3183,6 +3232,10 @@
3183 3232
           }, 400)
3184 3233
         }
3185 3234
       }
3235
+    },
3236
+    created(){
3237
+      console.log("中华任命工商过多水分我333323232",this.org_id)
3238
+      console.log("jjjjjjjjjjjjjjjjjjjjjjjjjjjj",this.drugs)
3186 3239
     }
3187 3240
 
3188 3241
   }

+ 13 - 2
src/xt_pages/hospitalStation/doctorDesk.vue 파일 보기

@@ -121,6 +121,7 @@
121 121
                                    :month_prescriptions="month_prescriptions"
122 122
                                    ref="prescriptions" :prescriptions="prescriptions" :patientInfo="patientInfo"
123 123
                                    :hisPatientInfo="hisPatientInfo" @event1="changetwo($event)"
124
+                                   :org_id="org_id"
124 125
                                    v-if="titleType == '电子处方'" style="flex:1;"></desk-prescription>
125 126
 
126 127
 
@@ -941,7 +942,16 @@
941 942
             this.$message.error(response.data.msg)
942 943
             return false
943 944
           } else {
944
-            this.drugs = response.data.data.drugs
945
+            var drugs = response.data.data.drugs
946
+            for(let i=0;i<drugs.length;i++){
947
+                drugs[i].count = 0
948
+              if(drugs[i].stock_in.length > 0){
949
+                 for(let j=0;j<drugs[i].stock_in.length;j++){
950
+                    drugs[i].count += (drugs[i].stock_in[j].stock_max_number * drugs[i].min_number + drugs[i].stock_in[j].stock_min_number)
951
+                 }
952
+              }
953
+            }
954
+            this.drugs = drugs
945 955
             console.log("所有药品信息",this.drugs)
946 956
             this.allDrugs = response.data.data.drugs
947 957
             this.advices_template = response.data.data.advices_template
@@ -4189,7 +4199,8 @@
4189 4199
       // this.other_sick = this.getDictionaryDataConfig('system', 'other_sick_history')
4190 4200
       let tableHeight = document.body.clientHeight - 323
4191 4201
       this.tableHeight = tableHeight
4192
-
4202
+      this.org_id = this.$store.getters.xt_user.template_info.org_id
4203
+     
4193 4204
     },
4194 4205
 
4195 4206
     mounted() {

+ 1 - 1
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue 파일 보기

@@ -688,7 +688,7 @@ export default {
688 688
             stockIn: this.recordInfo.recordData
689 689
           };
690 690
           console.log("params22222222222",params)
691
-         
691
+        
692 692
           EditDrugWarehouse(
693 693
             params,
694 694
             this.warehousing_time,

+ 2 - 2
src/xt_pages/stock/stockPrint.vue 파일 보기

@@ -42,7 +42,7 @@
42 42
                                       <span v-if="getWareInfo(item.xt_warehouse_info)>0">{{getWareInfo(item.xt_warehouse_info)}}{{item.packing_unit}}</span>
43 43
                                    </td>
44 44
                                    <td>
45
-                                      <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245">
45
+                                      <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779">
46 46
                                         <span>
47 47
                                           {{getWareInfo(item.xt_warehouse_info) - getOverFlushInfo(item.xt_warehouse_info) + getCancelSotckInfo(item.cancel_stock_info) }}
48 48
                                           </span>
@@ -51,7 +51,7 @@
51 51
                                    </td>
52 52
                                   
53 53
                                    <td>
54
-                                     <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245">{{getOverFlushInfo(item.xt_warehouse_info)}}</span>
54
+                                     <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779">{{getOverFlushInfo(item.xt_warehouse_info)}}</span>
55 55
                                      <span v-else>{{getWareInfo(item.xt_warehouse_info) - getAutoCount(item.id) - getOutCount(item.id) + getCancelCount(item.id) }}</span>
56 56
                                     
57 57
                                    </td>

+ 40 - 12
src/xt_pages/stock/stockQuery.vue 파일 보기

@@ -106,9 +106,9 @@
106 106
            <span v-if="getWareInfo(scope.row.xt_warehouse_info)>0">{{getWareInfo(scope.row.xt_warehouse_info)}}{{scope.row.packing_unit}}</span>
107 107
          </template>
108 108
        </el-table-column>
109
-       <el-table-column label="出库数量" align="center">
109
+       <el-table-column label="出库数量" align="center" v-if="showOne">
110 110
          <template slot-scope="scope">
111
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245">
111
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779">
112 112
             <span>
113 113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
114 114
             </span>
@@ -117,12 +117,24 @@
117 117
          </template>
118 118
        </el-table-column>
119 119
 
120
-       <el-table-column label="剩余库存量" align="center">
120
+       <el-table-column label="出库数量" align="center" v-if="showTwo">
121 121
          <template slot-scope="scope">
122
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
122
+          <span>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
123
+         </template>
124
+       </el-table-column>
125
+
126
+       <el-table-column label="剩余库存量" align="center" v-if="showThree">
127
+         <template slot-scope="scope">
128
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
123 129
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
124 130
          </template>
125 131
        </el-table-column>
132
+
133
+      <el-table-column label="剩余库存量" align="center" v-if="showFour">
134
+         <template slot-scope="scope">
135
+          <span>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
136
+         </template>
137
+       </el-table-column>
126 138
        <el-table-column label="操作" align="center" width="260px">
127 139
           <template slot-scope="scope">
128 140
               <el-button
@@ -218,6 +230,10 @@ export default {
218 230
       autoCountList:[],
219 231
       cancelCountList:[],
220 232
       org_id:0,
233
+      showOne:true,
234
+      showTwo:false,
235
+      showThree:true,
236
+      showFour:false
221 237
     };
222 238
   },
223 239
   methods: {
@@ -343,13 +359,13 @@ export default {
343 359
            this.tableList[i].inCount =  this.getWareInfo(this.tableList[i].xt_warehouse_info)
344 360
 
345 361
         
346
-          if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245){
362
+          if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779){
347 363
              this.tableList[i].outCount  = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getOverFlushInfo(this.tableList[i].xt_warehouse_info) + this.getCancelSotckInfo(this.tableList[i].cancel_stock_info) 
348 364
           }else{
349 365
             this.tableList[i].outCount =  this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
350 366
           }
351 367
           
352
-           if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245){
368
+           if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779){
353 369
               this.tableList[i].overplus = this.getOverFlushInfo(this.tableList[i].xt_warehouse_info)
354 370
            }else{
355 371
              this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)
@@ -412,8 +428,21 @@ export default {
412 428
       };
413 429
     getAllStockList(params).then(response=>{
414 430
          if(response.data.state == 1){
431
+         
432
+          if(this.end_time == ""){
433
+             this.showOne = true
434
+             this.showTwo = false
435
+             this.showThree = true
436
+             this.showFour = false
437
+          }
438
+          if(this.end_time !=""){
439
+            this.showOne = false
440
+            this.showTwo = true
441
+            this.showThree = false
442
+            this.showFour = true
443
+          }
415 444
           var list = response.data.data.list
416
-          // console.log("总库存数量",list)
445
+
417 446
           this.tableList = list
418 447
           var total = response.data.data.total
419 448
           this.total = total
@@ -468,13 +497,13 @@ export default {
468 497
       getStockDrugCount(params).then(response=>{
469 498
          if(response.data.state == 1){
470 499
            var outlist = response.data.data.outList
471
-          //  console.log("出库数量",outlist)
500
+        
472 501
            this.outCountList = outlist
473 502
            var autoCount = response.data.data.autoCount
474
-          //  console.log("autoCount",autoCount)
503
+        
475 504
            this.autoCountList = autoCount
476 505
            var totalCount = response.data.data.totalCount
477
-          //  console.log("totalcount",totalCount)
506
+         
478 507
            this.cancelCountList = totalCount
479 508
          }
480 509
       })
@@ -567,14 +596,13 @@ export default {
567 596
      return total
568 597
    },
569 598
    getCancelSotckInfo(arr){
570
-     console.log("2332323232322332",arr)
599
+    
571 600
      var cancle_toal = 0
572 601
      if(arr.length >0){
573 602
       for(let z=0;z<arr.length;z++){
574 603
         cancle_toal += arr[z].count
575 604
       }
576 605
      }
577
-     console.log("total",cancle_toal)
578 606
      return cancle_toal
579 607
    }
580 608
   }

+ 14 - 21
src/xt_pages/workforce/remind_print_setting.vue 파일 보기

@@ -33,7 +33,7 @@
33 33
                 <div v-if="printObj.anticoagulant == 1">抗凝剂:
34 34
                   <span v-if="org_id == 10138 ">{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name + ' 5000iu/瓶' : ''}}</span>
35 35
                   <span v-else >
36
-                   <span>{{getAnticoagulant(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)}}</span>
36
+                   <span>{{getAnticoagulant(main_collection.dialysissolution.mode_id)}}</span>
37 37
                   </span>
38 38
                 </div>
39 39
                <div v-if="org_id == 10188">首剂:{{main_collection.dialysissolution.anticoagulant_shouji}}</div>
@@ -41,37 +41,37 @@
41 41
                 <div v-if="printObj.anticoagulant_zongliang == 1">
42 42
                   用量:
43 43
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
44
-                  {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'mg'}}
44
+                   {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
45 45
                   </span>
46 46
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
47
-                    {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'mg'}}
47
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
48 48
                   </span>
49 49
                   <span v-if="main_collection.dialysissolution.anticoagulant == 3">
50
-                    {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'iu'}}
50
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
51 51
                   </span>
52 52
                   <span v-if="main_collection.dialysissolution.anticoagulant == 4">
53
-                    {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'mg'}}
53
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
54 54
                   </span>
55 55
                   <span v-if="main_collection.dialysissolution.anticoagulant == 5">
56
-                     {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'mg'}}
56
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
57 57
                    </span>
58 58
                   <span v-if="main_collection.dialysissolution.anticoagulant == 6">
59
-                   {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'iu'}}
59
+                   {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
60 60
                   </span>
61 61
                   <span v-if="main_collection.dialysissolution.anticoagulant == 7">
62
-                    {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'iu'}}
62
+                    {main_collection.dialysissolution.anticoagulant_zongliang}}iu
63 63
                    </span>
64 64
                   <span v-if="main_collection.dialysissolution.anticoagulant == 8">
65
-                     {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'iu'}}
65
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
66 66
                   </span>
67 67
                   <span v-if="main_collection.dialysissolution.anticoagulant == 9">
68
-                     {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'iu'}}
68
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
69 69
                   </span>
70 70
                   <span v-if="main_collection.dialysissolution.anticoagulant == 10">
71
-                     {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'iu'}}
71
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
72 72
                     </span>
73 73
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
74
-                    {{getAnticoagulantZonliang(main_collection.solution ? main_collection.solution : [],main_collection.mode_id)+'iu'}}
74
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
75 75
                    </span>
76 76
                 </div>
77 77
                 <div v-if="org_id == 10188">干体重:{{main_collection.assessmentbefor.dry_weight}}</div>
@@ -457,14 +457,8 @@
457 457
         }
458 458
       });
459 459
      },
460
-      getAnticoagulant(arr,mode_id){
461
-       var name = ""
462
-       if(arr.length > 0){
463
-           for(let i=0;i<arr.length;i++){
464
-          if(mode_id == arr[i].mode_id){
465
-            name = arr[i].anticoagulant
466
-          }
467
-       } 
460
+    getAnticoagulant(name){
461
+     
468 462
       if(name == 0){
469 463
          name = ""
470 464
        }
@@ -492,7 +486,6 @@
492 486
        }
493 487
 
494 488
        return name
495
-      }
496 489
      },
497 490
      getAnticoagulantZonliang(arr,mode_id){
498 491
        var name = 0