Browse Source

长沙南雅打印单问题修改

28169 2 years ago
parent
commit
3be1a7c79b

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

@@ -142,8 +142,8 @@
142 142
           <label>目标超滤量 : </label>
143 143
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
144 144
           
145
-          <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 != 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.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10441 && this.$store.getters.xt_user.template_info.org_id != 10445 && this.$store.getters.xt_user.template_info.org_id != 9829"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
146
-          <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 == 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.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id==10441 || this.$store.getters.xt_user.template_info.org_id==10445 || this.$store.getters.xt_user.template_info.org_id == 9829" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
145
+          <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 != 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.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10441 && this.$store.getters.xt_user.template_info.org_id != 10445 && this.$store.getters.xt_user.template_info.org_id != 9829 &&  this.$store.getters.xt_user.template_info.org_id != 10440"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
146
+          <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 == 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.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id==10441 || this.$store.getters.xt_user.template_info.org_id==10445 || this.$store.getters.xt_user.template_info.org_id == 9829 ||  this.$store.getters.xt_user.template_info.org_id == 10440" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
147 147
         </li>
148 148
 
149 149
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

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

@@ -95,7 +95,7 @@
95 95
                     </el-col>
96 96
 
97 97
                     <el-col :span="8"
98
-                            v-if="isShows('目标超滤量') && (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 == 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.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 9829)">
98
+                            v-if="isShows('目标超滤量') && (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 == 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.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 9829|| this.$store.getters.xt_user.template_info.org_id == 10440)">
99 99
                         <el-form-item label="目标超滤量(ml):">
100 100
                             <el-input
101 101
                                     type="number"
@@ -106,7 +106,7 @@
106 106
 
107 107
 
108 108
                     <el-col :span="8"
109
-                            v-if="isShows('目标超滤量')  && 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 != 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.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441 && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=9829">
109
+                            v-if="isShows('目标超滤量')  && 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 != 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.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441 && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=9829 && this.$store.getters.xt_user.template_info.org_id != 10440">
110 110
                         <el-form-item label="目标超滤量(L):">
111 111
                             <el-input
112 112
                                     type="number"
@@ -273,7 +273,7 @@
273 273
                     </el-col>
274 274
 
275 275
                     <el-col :span="8" v-if="anticoagulant!=undefined && anticoagulant.shouji != -1 && isShows('首剂')  && dialysisPrescription.anticoagulant!=1 && dialysisPrescription.anticoagulant!=12">
276
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id!=54  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829">
276
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id!=54  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440">
277 277
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
278 278
                             <el-form-item
279 279
                                     v-if='dialysisPrescription.anticoagulant != 1 &&this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.org_id!=9990'
@@ -356,7 +356,7 @@
356 356
 
357 357
 
358 358
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
359
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829">
359
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440">
360 360
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 ">
361 361
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
362 362
                                           v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987  && this.$store.getters.xt_user.template_info.org_id != 54 && this.$store.getters.xt_user.template_info.org_id != 9990">
@@ -420,7 +420,7 @@
420 420
 
421 421
 
422 422
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
423
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829">
423
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440">
424 424
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
425 425
                             <el-form-item
426 426
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990'

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -944,8 +944,8 @@
944 944
                             : "/"
945 945
                         }}
946 946
                       </div>
947
-                      <span v-if="org_id == 10395 || org_id == 9829">ml</span> 
948
-                      <span v-if="org_id!=10395&&org_id!=9829">L</span>
947
+                      <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440">ml</span> 
948
+                      <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440">L</span>
949 949
                     </div>
950 950
                     <div class="inline_block" style="flex: 1">
951 951
                       干体重:
@@ -1052,14 +1052,14 @@
1052 1052
                         }}
1053 1053
                       </div>
1054 1054
                      
1055
-                     <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829">
1055
+                     <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440">
1056 1056
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1057 1057
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1058 1058
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1059 1059
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1060 1060
                     </span>
1061 1061
 
1062
-                    <span v-if="org_id==9675 || org_id==10447 || org_id==9829">
1062
+                    <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id!=10440">
1063 1063
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1064 1064
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1065 1065
                       <span v-if="prescription.anticoagulant == 2">mg</span>
@@ -1098,7 +1098,7 @@
1098 1098
                             : "0"
1099 1099
                         }}
1100 1100
                       </div>
1101
-                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829">
1101
+                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440">
1102 1102
 
1103 1103
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
1104 1104
                           <span v-if="prescription.anticoagulant == 4">mg/h</span>
@@ -1106,7 +1106,7 @@
1106 1106
                           <span v-if="prescription.anticoagulant == 2">iu/h</span>
1107 1107
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1108 1108
                       </span>
1109
-                      <span v-if="org_id==9675 || org_id==10447 || org_id== 9829">
1109
+                      <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440">
1110 1110
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1111 1111
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
1112 1112
                           <span v-if="prescription.anticoagulant == 4">ml</span>
@@ -1171,13 +1171,13 @@
1171 1171
                             : "/"
1172 1172
                         }}
1173 1173
                       </div>
1174
-                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829">
1174
+                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440">
1175 1175
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1176 1176
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1177 1177
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1178 1178
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1179 1179
                      </span>
1180
-                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829">
1180
+                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440">
1181 1181
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1182 1182
                        <span v-if="prescription.anticoagulant == 3">iu</span>
1183 1183
                        <span v-if="prescription.anticoagulant == 4">ml</span>

+ 351 - 351
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue View File

@@ -1,375 +1,375 @@
1 1
 <template>
2
-    <div id='invoice-print'>
2
+  <div id='invoice-print'>
3 3
 
4
-        <div style="display:flex;justify-content: space-between;">
4
+      <div style="display:flex;justify-content: space-between;">
5 5
 
6
-            <div style="position: absolute;top:5px;left:30px">
7
-                <!-- 发票代码 -->
6
+          <div style="position: absolute;top:5px;left:30px">
7
+              <!-- 发票代码 -->
8 8
 
9
-            </div>
10
-
11
-            <div  style="position: absolute;top:40px;left:300px"></div>
12
-
13
-            <div style="position: absolute;top:40px;left:560px"></div>
14
-        </div>
15
-
16
-        <div style="display:flex;justify-content: space-between;">
17
-            <!-- 机构名称 -->
18
-            <div style="position: absolute;top:70px;left:40px">机构名称:赤峰费森血液透析中心</div>
19
-            <!-- 单据号 -->
20
-            <!-- <div  style="position: absolute;top:70px;left:200px">单据号:{{ list.number }}</div> -->
21
-            <!-- <div></div> -->
22
-            <!-- 发票序号 -->
23
-            <!-- <div  style="position: absolute;left:560px;top:70px;">
24
-
25
-            </div> -->
26
-          <div  style="position: absolute;left:400px;top:70px;" v-if="insutype == '390'">
27
-            类别:城乡居民基本医疗保险
28
-          </div>
29
-          <div  style="position: absolute;left:400px;top:70px;" v-else-if ="insutype == '310'">
30
-            类别:职工基本医疗保险
31 9
           </div>
32
-        </div>
33
-
34
-        <div style="display:flex;justify-content: space-between;">
35
-            <!-- 姓名 -->
36
-            <div style="position: absolute;top:90px;left:40px;"> 姓名:{{ paramsObj.name }}</div>
37
-            <!-- 个人电脑编号 -->
38
-            <div style="position: absolute;top:90px;left:220px;">个人编号:{{psn_no}}</div>
39
-            <!-- 科室 -->
40
-            <div style="position: absolute;top:90px;left:530px;">科室:{{'血液透析室'}}</div>
41
-            <!-- 床号 -->
42
-            <div style="position: absolute;top:90px;left:700px;">床号:</div>
43
-        </div>
44
-
45
-        <div style="display:flex;justify-content: space-between;">
46
-            <!-- 住院号 -->
47
-            <div style="position: absolute;top:120px;left:40px;"> 住院号:{{ number?number:'' }}</div>
48
-            <!-- 入院日期 -->
49
-            <div style="position: absolute;top:120px;left:280px;">入院日期:{{in_hosptial_time?in_hosptial_time.split(' ')[0]:''}}</div>
50
-            <!-- 出院日期 -->
51
-            <div style="position: absolute;top:120px;left:460px;">出院日期:{{out_hosptial_time?out_hosptial_time.split(' ')[0]:''}}</div>
52
-            <!-- 住院天数 -->
53
-          <div style="position: absolute;top:120px;left:640px;">住院天数:{{getDay(in_hosptial_time.split(' ')[0] ,out_hosptial_time.split(' ')[0])}}</div>
54
-        </div>
55
-
56
-        <!-- <div style="display:flex;justify-content: space-between;">
57
-            <div style="position: absolute;top:110px;left:260px;">{{ (totalPrice - list.psn_cash_money).toFixed(2) }}</div>
58
-            <div style="position: absolute;top:110px;left:440px;">{{ list.psn_cash_money  }}</div>
59
-            <div style="position: absolute;top:110px;left:580px;">门特</div>
60
-        </div> -->
61
-
62
-
63
-        <div style="display:flex;justify-content: space-between;">
64
-            <div style="position: absolute;top:160px;left:40px">西药费</div>
65
-            <div style="position: absolute;top:160px;left:110px">{{ list.westernMedicineCostTotal?list.westernMedicineCostTotal:'0.00' }}</div>
66
-            <div style="position: absolute;top:160px;left:220px">检查费</div>
67
-            <div style="position: absolute;top:160px;left:290px">{{ list.checkCostTotal?list.checkCostTotal:'0.00' }}</div>
68
-            <div style="position: absolute;top:160px;left:400px">材料费</div>
69
-            <div style="position: absolute;top:160px;left:470px">{{list.materialCostTotal?list.materialCostTotal:"0.00"}}</div>
70
-            <div style="position: absolute;top:160px;left:580px">麻醉费</div>
71
-            <div style="position: absolute;top:160px;left:650px">0.00</div>
72
-        </div>
73
-        <div style="display:flex;justify-content: space-between;">
74
-            <div style="position: absolute;top:190px;left:40px">中成药费</div>
75
-            <div style="position: absolute;top:190px;left:110px">0.00</div>
76
-            <div style="position: absolute;top:190px;left:220px">治疗费</div>
77
-            <div style="position: absolute;top:190px;left:290px">{{list.treatCostTotal?list.treatCostTotal:'0.00'}}</div>
78
-            <div style="position: absolute;top:190px;left:400px">护理费</div>
79
-            <div style="position: absolute;top:190px;left:470px">0.00</div>
80
-            <div style="position: absolute;top:190px;left:580px">床位费</div>
81
-            <div style="position: absolute;top:190px;left:650px">0.00</div>
82
-        </div>
83
-        <div style="display:flex;justify-content: space-between;">
84
-            <div style="position: absolute;top:220px;left:40px">中草药费</div>
85
-            <div style="position: absolute;top:220px;left:110px">0.00</div>
86
-            <div style="position: absolute;top:220px;left:220px">手术费</div>
87
-            <div style="position: absolute;top:220px;left:290px">{{ list.operationCostTotal?list.operationCostTotal:'0.00' }}</div>
88
-            <div style="position: absolute;top:220px;left:400px">输血费</div>
89
-            <div style="position: absolute;top:220px;left:470px">0.00</div>
90
-            <div style="position: absolute;top:220px;left:580px">取暖费</div>
91
-            <div style="position: absolute;top:220px;left:650px">0.00</div>
92
-        </div>
93
-        <div style="display:flex;justify-content: space-between;">
94
-            <div style="position: absolute;top:250px;left:40px">高压氧费</div>
95
-            <div style="position: absolute;top:250px;left:110px">0.00</div>
96
-            <div style="position: absolute;top:250px;left:220px">化验费</div>
97
-            <div style="position: absolute;top:250px;left:290px">{{ list.laboratoryCostTotal?list.laboratoryCostTotal:'0.00' }}</div>
98
-            <div style="position: absolute;top:250px;left:400px">氧气费</div>
99
-            <div style="position: absolute;top:250px;left:470px">0.00</div>
100
-            <div style="position: absolute;top:250px;left:580px">其他费</div>
101
-            <div style="position: absolute;top:250px;left:650px">{{ list.otherCostTotal?list.otherCostTotal:'0.00' }}</div>
102
-        </div>
103 10
 
104
-        <div>
105
-            <span>
106
-            <span style="position: absolute;top:280px;left:40px">合计金额(大写):</span>
107
-            <!-- <span  style="position: absolute;top:280px;left:180px">
108
-                <span v-if="zhongwen.indexOf('万') > -1 && zhongwen.indexOf('拾') > -1 && zhongwen.indexOf('拾') == 1">
109
-                    {{ zhongwen.substring(0,1) }}十万
110
-                </span>
111
-                <span v-else>零十万</span>
112
-            </span>
113
-            <span  style="position: absolute;top:280px;left:230px">
114
-                <span v-if="zhongwen.indexOf('万') > -1">
115
-                    {{ zhongwen.substring(zhongwen.indexOf('万') - 1,zhongwen.indexOf('万')) }}万
116
-                </span>
117
-                <span v-else>零万</span>
118
-            </span>
119
-            <span  style="position: absolute;top:280px;left:270px">
120
-                <span v-if="zhongwen.indexOf('仟') > -1">
121
-                    {{ zhongwen.substring(zhongwen.indexOf('仟') - 1,zhongwen.indexOf('仟')) }}仟
122
-                </span>
123
-                <span v-else>零仟</span>
124
-            </span>
125
-            <span  style="position: absolute;top:280px;left:310px">
126
-                <span v-if="zhongwen.indexOf('佰') > -1">
127
-                    {{ zhongwen.substring(zhongwen.indexOf('佰') - 1,zhongwen.indexOf('佰')) }}佰
128
-                </span>
129
-                <span v-else>零佰</span>
130
-            </span>
131
-            <span style="position: absolute;top:280px;left:350px">
132
-                <span v-if="zhongwen.indexOf('拾') > -1">
133
-                {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
134
-
135
-                </span>
136
-                <span v-else>零拾</span>
137
-            </span>
138
-            <span  style="position: absolute;top:280px;left:390px">
139
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
140
-                    {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
141
-                </span>
142
-                <span v-else>零元</span>
143
-            </span>
144
-            <span  style="position: absolute;top:280px;left:430px">
145
-                <span v-if="zhongwen.indexOf('角') > -1">
146
-                    {{ zhongwen.substring(zhongwen.indexOf('角') - 1,zhongwen.indexOf('角')) }}角
147
-                </span>
148
-                <span v-else>零角</span>
149
-            </span>
150
-            <span  style="position: absolute;top:280px;left:470px">
151
-                <span v-if="zhongwen.indexOf('分') > -1">
152
-                    {{ zhongwen.substring(zhongwen.indexOf('分') - 1,zhongwen.indexOf('分')) }}分
153
-                </span>
154
-                <span v-else>零分</span>
155
-            </span> -->
156
-            <span style="position: absolute;top:280px;left:170px;letter-spacing: 15px;">{{zhongwen}}</span>
157
-            </span>
158
-            <span style="position: absolute;top:280px;left:615px">合计:{{ list.order.medfee_sumamt }}</span>
159
-        </div>
11
+          <div  style="position: absolute;top:40px;left:300px"></div>
160 12
 
13
+          <div style="position: absolute;top:40px;left:560px"></div>
14
+      </div>
161 15
 
162
-        <div style="position: absolute;top:310px;left:40px">
163
-            <!-- 个人账户支付 -->
164
-          个人账户支付:{{list.order.acct_pay?list.order.acct_pay:'0.00'}}
165
-        </div>
166
-        <div style="position: absolute;top:310px;left:250px">
167
-            <!-- 统筹支付 -->
168
-          统筹支付:{{list.order.hifp_pay?list.order.hifp_pay:'0.00'}}
169
-        </div>
16
+      <div style="display:flex;justify-content: space-between;">
17
+          <!-- 机构名称 -->
18
+          <div style="position: absolute;top:70px;left:40px">机构名称:赤峰费森血液透析中心</div>
19
+          <!-- 单据号 -->
20
+          <!-- <div  style="position: absolute;top:70px;left:200px">单据号:{{ list.number }}</div> -->
21
+          <!-- <div></div> -->
22
+          <!-- 发票序号 -->
23
+          <!-- <div  style="position: absolute;left:560px;top:70px;">
170 24
 
171
-        <div style="position: absolute;top:310px;left:400px">
172
-          现金支付:{{list.order.psn_cash_pay?list.order.psn_cash_pay:'0.00'}}
173
-          <!-- 现金支付 -->
25
+          </div> -->
26
+        <div  style="position: absolute;left:400px;top:70px;" v-if="insutype == '390'">
27
+          类别:城乡居民基本医疗保险
174 28
         </div>
175
-        <div style="position: absolute;top:310px;left:560px">
176
-          职工大额补助:{{list.order.hifob_pay?list.order.hifob_pay:'0.00'}}
29
+        <div  style="position: absolute;left:400px;top:70px;" v-else-if ="insutype == '310'">
30
+          类别:职工基本医疗保险
177 31
         </div>
32
+      </div>
33
+
34
+      <div style="display:flex;justify-content: space-between;">
35
+          <!-- 姓名 -->
36
+          <div style="position: absolute;top:90px;left:40px;"> 姓名:{{ paramsObj.name }}</div>
37
+          <!-- 个人电脑编号 -->
38
+          <div style="position: absolute;top:90px;left:220px;">个人编号:{{psn_no}}</div>
39
+          <!-- 科室 -->
40
+          <div style="position: absolute;top:90px;left:530px;">科室:{{'血液透析室'}}</div>
41
+          <!-- 床号 -->
42
+          <div style="position: absolute;top:90px;left:700px;">床号:</div>
43
+      </div>
44
+
45
+      <div style="display:flex;justify-content: space-between;">
46
+          <!-- 住院号 -->
47
+          <div style="position: absolute;top:120px;left:40px;"> 住院号:{{ number?number:'' }}</div>
48
+          <!-- 入院日期 -->
49
+          <div style="position: absolute;top:120px;left:280px;">入院日期:{{in_hosptial_time?in_hosptial_time.split(' ')[0]:''}}</div>
50
+          <!-- 出院日期 -->
51
+          <div style="position: absolute;top:120px;left:460px;">出院日期:{{out_hosptial_time?out_hosptial_time.split(' ')[0]:''}}</div>
52
+          <!-- 住院天数 -->
53
+        <div style="position: absolute;top:120px;left:640px;">住院天数:{{getDay(in_hosptial_time.split(' ')[0] ,out_hosptial_time.split(' ')[0])}}</div>
54
+      </div>
55
+
56
+      <!-- <div style="display:flex;justify-content: space-between;">
57
+          <div style="position: absolute;top:110px;left:260px;">{{ (totalPrice - list.psn_cash_money).toFixed(2) }}</div>
58
+          <div style="position: absolute;top:110px;left:440px;">{{ list.psn_cash_money  }}</div>
59
+          <div style="position: absolute;top:110px;left:580px;">门特</div>
60
+      </div> -->
61
+
62
+
63
+      <div style="display:flex;justify-content: space-between;">
64
+          <div style="position: absolute;top:160px;left:40px">西药费</div>
65
+          <div style="position: absolute;top:160px;left:110px">{{ list.westernMedicineCostTotal?list.westernMedicineCostTotal:'0.00' }}</div>
66
+          <div style="position: absolute;top:160px;left:220px">检查费</div>
67
+          <div style="position: absolute;top:160px;left:290px">{{ list.checkCostTotal?list.checkCostTotal:'0.00' }}</div>
68
+          <div style="position: absolute;top:160px;left:400px">材料费</div>
69
+          <div style="position: absolute;top:160px;left:470px">{{list.materialCostTotal?list.materialCostTotal:"0.00"}}</div>
70
+          <div style="position: absolute;top:160px;left:580px">麻醉费</div>
71
+          <div style="position: absolute;top:160px;left:650px">0.00</div>
72
+      </div>
73
+      <div style="display:flex;justify-content: space-between;">
74
+          <div style="position: absolute;top:190px;left:40px">中成药费</div>
75
+          <div style="position: absolute;top:190px;left:110px">{{list.chineseTraditionalMedicineCostTotal?list.chineseTraditionalMedicineCostTotal:'0.00'}}</div>
76
+          <div style="position: absolute;top:190px;left:220px">治疗费</div>
77
+          <div style="position: absolute;top:190px;left:290px">{{list.treatCostTotal?list.treatCostTotal:'0.00'}}</div>
78
+          <div style="position: absolute;top:190px;left:400px">护理费</div>
79
+          <div style="position: absolute;top:190px;left:470px">0.00</div>
80
+          <div style="position: absolute;top:190px;left:580px">床位费</div>
81
+          <div style="position: absolute;top:190px;left:650px">0.00</div>
82
+      </div>
83
+      <div style="display:flex;justify-content: space-between;">
84
+          <div style="position: absolute;top:220px;left:40px">中草药费</div>
85
+          <div style="position: absolute;top:220px;left:110px">0.00</div>
86
+          <div style="position: absolute;top:220px;left:220px">手术费</div>
87
+          <div style="position: absolute;top:220px;left:290px">{{ list.operationCostTotal?list.operationCostTotal:'0.00' }}</div>
88
+          <div style="position: absolute;top:220px;left:400px">输血费</div>
89
+          <div style="position: absolute;top:220px;left:470px">0.00</div>
90
+          <div style="position: absolute;top:220px;left:580px">取暖费</div>
91
+          <div style="position: absolute;top:220px;left:650px">0.00</div>
92
+      </div>
93
+      <div style="display:flex;justify-content: space-between;">
94
+          <div style="position: absolute;top:250px;left:40px">高压氧费</div>
95
+          <div style="position: absolute;top:250px;left:110px">0.00</div>
96
+          <div style="position: absolute;top:250px;left:220px">化验费</div>
97
+          <div style="position: absolute;top:250px;left:290px">{{ list.laboratoryCostTotal?list.laboratoryCostTotal:'0.00' }}</div>
98
+          <div style="position: absolute;top:250px;left:400px">氧气费</div>
99
+          <div style="position: absolute;top:250px;left:470px">0.00</div>
100
+          <div style="position: absolute;top:250px;left:580px">其他费</div>
101
+          <div style="position: absolute;top:250px;left:650px">{{ list.otherCostTotal?list.otherCostTotal:'0.00' }}</div>
102
+      </div>
103
+
104
+      <div>
105
+          <span>
106
+          <span style="position: absolute;top:280px;left:40px">合计金额(大写):</span>
107
+          <!-- <span  style="position: absolute;top:280px;left:180px">
108
+              <span v-if="zhongwen.indexOf('万') > -1 && zhongwen.indexOf('拾') > -1 && zhongwen.indexOf('拾') == 1">
109
+                  {{ zhongwen.substring(0,1) }}十万
110
+              </span>
111
+              <span v-else>零十万</span>
112
+          </span>
113
+          <span  style="position: absolute;top:280px;left:230px">
114
+              <span v-if="zhongwen.indexOf('万') > -1">
115
+                  {{ zhongwen.substring(zhongwen.indexOf('万') - 1,zhongwen.indexOf('万')) }}万
116
+              </span>
117
+              <span v-else>零万</span>
118
+          </span>
119
+          <span  style="position: absolute;top:280px;left:270px">
120
+              <span v-if="zhongwen.indexOf('仟') > -1">
121
+                  {{ zhongwen.substring(zhongwen.indexOf('仟') - 1,zhongwen.indexOf('仟')) }}仟
122
+              </span>
123
+              <span v-else>零仟</span>
124
+          </span>
125
+          <span  style="position: absolute;top:280px;left:310px">
126
+              <span v-if="zhongwen.indexOf('佰') > -1">
127
+                  {{ zhongwen.substring(zhongwen.indexOf('佰') - 1,zhongwen.indexOf('佰')) }}佰
128
+              </span>
129
+              <span v-else>零佰</span>
130
+          </span>
131
+          <span style="position: absolute;top:280px;left:350px">
132
+              <span v-if="zhongwen.indexOf('拾') > -1">
133
+              {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
134
+
135
+              </span>
136
+              <span v-else>零拾</span>
137
+          </span>
138
+          <span  style="position: absolute;top:280px;left:390px">
139
+              <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
140
+                  {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
141
+              </span>
142
+              <span v-else>零元</span>
143
+          </span>
144
+          <span  style="position: absolute;top:280px;left:430px">
145
+              <span v-if="zhongwen.indexOf('角') > -1">
146
+                  {{ zhongwen.substring(zhongwen.indexOf('角') - 1,zhongwen.indexOf('角')) }}角
147
+              </span>
148
+              <span v-else>零角</span>
149
+          </span>
150
+          <span  style="position: absolute;top:280px;left:470px">
151
+              <span v-if="zhongwen.indexOf('分') > -1">
152
+                  {{ zhongwen.substring(zhongwen.indexOf('分') - 1,zhongwen.indexOf('分')) }}分
153
+              </span>
154
+              <span v-else>零分</span>
155
+          </span> -->
156
+          <span style="position: absolute;top:280px;left:170px;letter-spacing: 15px;">{{zhongwen}}</span>
157
+          </span>
158
+          <span style="position: absolute;top:280px;left:615px">合计:{{ list.order.medfee_sumamt }}</span>
159
+      </div>
160
+
161
+
162
+      <div style="position: absolute;top:310px;left:40px">
163
+          <!-- 个人账户支付 -->
164
+        个人账户支付:{{list.order.acct_pay?list.order.acct_pay:'0.00'}}
165
+      </div>
166
+      <div style="position: absolute;top:310px;left:250px">
167
+          <!-- 统筹支付 -->
168
+        统筹支付:{{list.order.hifp_pay?list.order.hifp_pay:'0.00'}}
169
+      </div>
170
+
171
+      <div style="position: absolute;top:310px;left:400px">
172
+        现金支付:{{list.order.psn_cash_pay?list.order.psn_cash_pay:'0.00'}}
173
+        <!-- 现金支付 -->
174
+      </div>
175
+      <div style="position: absolute;top:310px;left:560px">
176
+        职工大额补助:{{list.order.hifob_pay?list.order.hifob_pay:'0.00'}}
177
+      </div>
178
+
179
+      <div style="position: absolute;top:340px;left:40px">
180
+        公务员补助:{{list.order.cvlserv_pay?list.order.cvlserv_pay:'0.00'}}
181
+        <!-- 公务员补助 -->
182
+      </div>
183
+      <div style="position: absolute;top:340px;left:250px">
184
+        医疗救助:{{list.order.maf_pay?list.order.maf_pay:'0.00'}}
185
+        <!-- 医疗救助 -->
186
+      </div>
187
+      <!-- 大病 -->
188
+      <div style="position: absolute;top:340px;left:400px">
189
+        大病补助:{{list.order.hifmi_pay?list.order.hifmi_pay:'0.00'}}
190
+      </div>
191
+      <!-- 其他基金支付 -->
192
+      <div style="position: absolute;top:340px;left:560px">
193
+        预交押金:{{(parseFloat(pre_pay_money) + parseFloat(list.order.decimal)).toFixed(2)}}
194
+      </div>
195
+      <div style="position: absolute;top:370px;left:40px">
196
+          <!-- 预交款合计 -->
197
+        押金支付:{{list.order.decimal}}
198
+      </div>
199
+      <div style="position: absolute;top:370px;left:250px">
200
+          <!-- 补交款 -->
201
+        实付:{{(parseFloat(list.order.psn_cash_pay) - parseFloat(list.order.decimal)).toFixed(2)}}
202
+      </div>
203
+      <div style="position: absolute;top:370px;left:480px">
204
+          <!-- 应退款 -->
205
+          应退款:{{parseFloat(pre_pay_money)}}
206
+      </div>
207
+      <div>
208
+          <div style="position: absolute;top:400px;left:40px">
209
+              <!-- 开票日期 -->
210
+            开票日期:{{printDate}}
178 211
 
179
-        <div style="position: absolute;top:340px;left:40px">
180
-          公务员补助:{{list.order.cvlserv_pay?list.order.cvlserv_pay:'0.00'}}
181
-          <!-- 公务员补助 -->
182
-        </div>
183
-        <div style="position: absolute;top:340px;left:250px">
184
-          医疗救助:{{list.order.maf_pay?list.order.maf_pay:'0.00'}}
185
-          <!-- 医疗救助 -->
186
-        </div>
187
-        <!-- 大病 -->
188
-        <div style="position: absolute;top:340px;left:400px">
189
-          大病补助:{{list.order.hifmi_pay?list.order.hifmi_pay:'0.00'}}
190
-        </div>
191
-        <!-- 其他基金支付 -->
192
-        <div style="position: absolute;top:340px;left:560px">
193
-          预交押金:{{(parseFloat(pre_pay_money) + parseFloat(list.order.decimal)).toFixed(2)}}
194
-        </div>
195
-        <div style="position: absolute;top:370px;left:40px">
196
-            <!-- 预交款合计 -->
197
-          押金支付:{{list.order.decimal}}
198
-        </div>
199
-        <div style="position: absolute;top:370px;left:250px">
200
-            <!-- 补交款 -->
201
-          实付:{{(parseFloat(list.order.psn_cash_pay) - parseFloat(list.order.decimal)).toFixed(2)}}
202
-        </div>
203
-        <div style="position: absolute;top:370px;left:480px">
204
-            <!-- 应退款 -->
205
-            应退款:{{parseFloat(pre_pay_money)}}
206
-        </div>
207
-        <div>
208
-            <div style="position: absolute;top:400px;left:40px">
209
-                <!-- 开票日期 -->
210
-              开票日期:{{printDate}}
211
-
212
-            </div>
213
-            <div style="position: absolute;top:400px;left:280px">
214
-                <!-- 结算日期: -->
215
-              结算日期:{{list.order.setl_time?list.order.setl_time.split(' ')[0]:''}}
216
-            </div>
217
-            <div style="position: absolute;top:400px;left:500px">
218
-               经手人:<!-- 经手人: -->
219
-              {{list.admin_user_name}}
220
-            </div>
221
-        </div>
212
+          </div>
213
+          <div style="position: absolute;top:400px;left:280px">
214
+              <!-- 结算日期: -->
215
+            结算日期:{{list.order.setl_time?list.order.setl_time.split(' ')[0]:''}}
216
+          </div>
217
+          <div style="position: absolute;top:400px;left:500px">
218
+             经手人:<!-- 经手人: -->
219
+            {{list.admin_user_name}}
220
+          </div>
221
+      </div>
222 222
 
223
-        <div>
224
-            <div style="position: absolute;top:600px;left:40px">
225
-                <!-- 开票人: -->
226
-            </div>
227
-        </div>
228
-    </div>
223
+      <div>
224
+          <div style="position: absolute;top:600px;left:40px">
225
+              <!-- 开票人: -->
226
+          </div>
227
+      </div>
228
+  </div>
229 229
 </template>
230 230
 
231 231
 <script>
232 232
 import { getInvoice } from '@/api/project/project'
233 233
 export default {
234
-    props:{
235
-        paramsObj:Object
236
-    },
237
-    data(){
238
-        return{
239
-            list:null,
240
-            printDate:'',
241
-            zhongwen:'',
242
-            totalPrice:0.0,
243
-            org_id:'',
244
-            org_name:'',
245
-          psn_no:"",
246
-          in_hosptial_time:'',
247
-          out_hosptial_time:'',
248
-          number:'',
249
-          insutype:'',
250
-          pre_pay_money:"",
251
-        }
252
-    },
253
-    mounted(){
254
-        console.log('paramsObj',this.paramsObj)
255
-        let params = {
256
-            order_id: this.paramsObj.order_id,
257
-            patient_id: this.paramsObj.patient_id,
258
-        }
259
-        this.getInvoice(params)
260
-        // var data = new Date();
261
-        // var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
262
-        // var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
263
-        // this.printDate = data.getFullYear() + "-" + month + "-" + date;
264
-        // this.smalltoBIG(982732.21)
265
-        this.org_id = this.$store.getters.xt_user.org_id
266
-        this.org_name = this.$store.getters.xt_user.org.org_name
267
-    },
268
-    methods:{
269
-      getDay(dateString1,dateString2){
270
-        var  startDate = Date.parse(dateString1);
271
-        var  endDate = Date.parse(dateString2);
272
-        if (startDate>endDate){
273
-          return 0;
274
-        }
275
-        if (startDate==endDate){
276
-          return 1;
277
-        }
278
-        var days=(endDate - startDate)/(1*24*60*60*1000);
279
-        return  days;
280
-
281
-      },
282
-        getInvoice(params){
283
-            getInvoice(params).then((res) => {
284
-                console.log('res',res)
285
-                this.list = res.data.data
286
-                console.log(this.list)
287
-              console.log(this.list.his_hospital_record)
288
-
289
-              this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
290
-                                    this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
291
-                this.smalltoBIG( this.list.order.medfee_sumamt)
292
-                // var data = new Date(res.data.data.date * 1000);
293
-                var data = new Date(this.paramsObj.setl_time);
294
-                var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
295
-                var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
296
-                this.printDate = data.getFullYear() + "-" + month + "-" + date;
297
-
298
-              if(this.list.his.id > 0){
299
-                this.in_hosptial_time = this.getTime()
300
-                this.out_hosptial_time = this.list.order.setl_time.split(' ')[0]
301
-              }else{
302
-                this.in_hosptial_time = this.list.his_hospital_record.in_hosptial_time.split(' ')[0]
303
-                this.out_hosptial_time = this.list.his_hospital_record.out_hosptial_time.split(' ')[0]
304
-              }
305
-              this.insutype = this.list.order.insutype
306
-              this.id_card_no = this.list.his_hospital_record.id_card_no
307
-              this.number = this.list.his_hospital_record.number
308
-              this.psn_no = this.list.his_hospital_record.psn_no
309
-              this.pre_pay_money = this.list.pre_pay_money
310
-
311
-              this.balance_accounts_type = this.list.his_hospital_record.balance_accounts_type
312
-              this.gend= this.list.his_hospital_record.gend
313
-            })
314
-        },
315
-        smalltoBIG(n) {
316
-            // let fraction = ['角', '分'];
317
-            // let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
318
-            // let unit = [['元.', '万,', '亿,'], ["元",'拾', '佰', '仟']];
319
-            // let head = price < 0 ? '欠' : '';
320
-            // price = Math.abs(price);
321
-            // let upper = '';
322
-            // for (let i = 0; i < fraction.length; i++) {
323
-            // upper += (digit[Math.floor(price * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
324
-            // }
325
-            // upper = upper || '整';
326
-            // price = Math.floor(price);
327
-            // for (let i = 0; i < unit[0].length && price > 0; i++) {
328
-            // let p = '';
329
-            // for (let j = 0; j < unit[1].length && price > 0; j++) {
330
-            //     p = digit[price % 10] + unit[1][j] + p;
331
-            //     price = Math.floor(price / 10);
332
-            // }
333
-            // upper = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + upper;
334
-            // }
335
-            // this.zhongwen = head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整')
336
-            // console.log('6666',head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整'))
337
-            if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){
338
-                return "数据非法";  //判断数据是否大于0
339
-            }
340
-
341
-            var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
342
-            n += "00";
343
-
344
-            var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
345
-
346
-            if (indexpoint >= 0){
347
-
348
-                n = n.substring(0, indexpoint) + n.substr(indexpoint+1, 2);   // 若为小数,截取需要使用的unit单位
349
-            }
234
+  props:{
235
+      paramsObj:Object
236
+  },
237
+  data(){
238
+      return{
239
+          list:null,
240
+          printDate:'',
241
+          zhongwen:'',
242
+          totalPrice:0.0,
243
+          org_id:'',
244
+          org_name:'',
245
+        psn_no:"",
246
+        in_hosptial_time:'',
247
+        out_hosptial_time:'',
248
+        number:'',
249
+        insutype:'',
250
+        pre_pay_money:"",
251
+      }
252
+  },
253
+  mounted(){
254
+      console.log('paramsObj',this.paramsObj)
255
+      let params = {
256
+          order_id: this.paramsObj.order_id,
257
+          patient_id: this.paramsObj.patient_id,
258
+      }
259
+      this.getInvoice(params)
260
+      // var data = new Date();
261
+      // var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
262
+      // var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
263
+      // this.printDate = data.getFullYear() + "-" + month + "-" + date;
264
+      // this.smalltoBIG(982732.21)
265
+      this.org_id = this.$store.getters.xt_user.org_id
266
+      this.org_name = this.$store.getters.xt_user.org.org_name
267
+  },
268
+  methods:{
269
+    getDay(dateString1,dateString2){
270
+      var  startDate = Date.parse(dateString1);
271
+      var  endDate = Date.parse(dateString2);
272
+      if (startDate>endDate){
273
+        return 0;
274
+      }
275
+      if (startDate==endDate){
276
+        return 1;
277
+      }
278
+      var days=(endDate - startDate)/(1*24*60*60*1000);
279
+      return  days;
350 280
 
351
-            unit = unit.substr(unit.length - n.length);  // 若为整数,截取需要使用的unit单位
352
-            for (var i=0; i < n.length; i++){
353
-                str += "零壹贰叁肆伍陆柒捌玖".charAt(n.charAt(i)) + unit.charAt(i);  //遍历转化为大写的数字
281
+    },
282
+      getInvoice(params){
283
+          getInvoice(params).then((res) => {
284
+              console.log('res',res)
285
+              this.list = res.data.data
286
+              console.log(this.list)
287
+            console.log(this.list.his_hospital_record)
288
+
289
+            this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
290
+                                  this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
291
+              this.smalltoBIG( this.list.order.medfee_sumamt)
292
+              // var data = new Date(res.data.data.date * 1000);
293
+              var data = new Date(this.paramsObj.setl_time);
294
+              var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
295
+              var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
296
+              this.printDate = data.getFullYear() + "-" + month + "-" + date;
297
+
298
+            if(this.list.his.id > 0){
299
+              this.in_hosptial_time = this.getTime()
300
+              this.out_hosptial_time = this.list.order.setl_time.split(' ')[0]
301
+            }else{
302
+              this.in_hosptial_time = this.list.his_hospital_record.in_hosptial_time.split(' ')[0]
303
+              this.out_hosptial_time = this.list.his_hospital_record.out_hosptial_time.split(' ')[0]
354 304
             }
305
+            this.insutype = this.list.order.insutype
306
+            this.id_card_no = this.list.his_hospital_record.id_card_no
307
+            this.number = this.list.his_hospital_record.number
308
+            this.psn_no = this.list.his_hospital_record.psn_no
309
+            this.pre_pay_money = this.list.pre_pay_money
310
+
311
+            this.balance_accounts_type = this.list.his_hospital_record.balance_accounts_type
312
+            this.gend= this.list.his_hospital_record.gend
313
+          })
314
+      },
315
+      smalltoBIG(n) {
316
+          // let fraction = ['角', '分'];
317
+          // let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
318
+          // let unit = [['元.', '万,', '亿,'], ["元",'拾', '佰', '仟']];
319
+          // let head = price < 0 ? '欠' : '';
320
+          // price = Math.abs(price);
321
+          // let upper = '';
322
+          // for (let i = 0; i < fraction.length; i++) {
323
+          // upper += (digit[Math.floor(price * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
324
+          // }
325
+          // upper = upper || '整';
326
+          // price = Math.floor(price);
327
+          // for (let i = 0; i < unit[0].length && price > 0; i++) {
328
+          // let p = '';
329
+          // for (let j = 0; j < unit[1].length && price > 0; j++) {
330
+          //     p = digit[price % 10] + unit[1][j] + p;
331
+          //     price = Math.floor(price / 10);
332
+          // }
333
+          // upper = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + upper;
334
+          // }
335
+          // this.zhongwen = head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整')
336
+          // console.log('6666',head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整'))
337
+          if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){
338
+              return "数据非法";  //判断数据是否大于0
339
+          }
340
+
341
+          var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
342
+          n += "00";
343
+
344
+          var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
345
+
346
+          if (indexpoint >= 0){
347
+
348
+              n = n.substring(0, indexpoint) + n.substr(indexpoint+1, 2);   // 若为小数,截取需要使用的unit单位
349
+          }
350
+
351
+          unit = unit.substr(unit.length - n.length);  // 若为整数,截取需要使用的unit单位
352
+          for (var i=0; i < n.length; i++){
353
+              str += "零壹贰叁肆伍陆柒捌玖".charAt(n.charAt(i)) + unit.charAt(i);  //遍历转化为大写的数字
354
+          }
355
+
356
+          this.zhongwen =  str.replace(/零(仟|佰|拾|角)/g, "零").replace(/(零)+/g, "零").replace(/零(万|亿|元)/g, "$1").replace(/(亿)万|壹(拾)/g, "$1$2").replace(/^元零?|零分/g, "").replace(/元$/g, "元整");
357
+          //console.log(this.zhongwen)
358
+      },
355 359
 
356
-            this.zhongwen =  str.replace(/零(仟|佰|拾|角)/g, "零").replace(/(零)+/g, "零").replace(/零(万|亿|元)/g, "$1").replace(/(亿)万|壹(拾)/g, "$1$2").replace(/^元零?|零分/g, "").replace(/元$/g, "元整");
357
-            console.log(this.zhongwen)
358
-        },
360
+  },
361
+  watch:{
362
+      paramsObj:{//深度监听,可监听到对象、数组的变化
363
+          handler(val, oldVal){
364
+              let params = {
365
+                  order_id: val.order_id,
366
+                  patient_id: val.patient_id,
367
+              }
368
+              this.getInvoice(params)
359 369
 
360
-    },
361
-    watch:{
362
-        paramsObj:{//深度监听,可监听到对象、数组的变化
363
-            handler(val, oldVal){
364
-                let params = {
365
-                    order_id: val.order_id,
366
-                    patient_id: val.patient_id,
367
-                }
368
-                this.getInvoice(params)
369
-
370
-            },
371
-            deep:true
372
-        }
373
-    }
370
+          },
371
+          deep:true
372
+      }
373
+  }
374 374
 }
375 375
 </script>

+ 2 - 2
src/xt_pages/hospitalStation/shouJuTemplate/shouJuPrintOne.vue View File

@@ -53,7 +53,7 @@
53 53
     </div>
54 54
     <div style="display:flex;justify-content: space-between;">
55 55
       <div style="position: absolute;top:190px;left:40px">中成药费</div>
56
-      <div style="position: absolute;top:190px;left:110px">0.00</div>
56
+      <div style="position: absolute;top:190px;left:110px">{{list.chineseTraditionalMedicineCostTotal?list.chineseTraditionalMedicineCostTotal:'0.00'}}</div>
57 57
       <div style="position: absolute;top:190px;left:180px">治疗费</div>
58 58
       <div style="position: absolute;top:190px;left:260px">{{list.treatCostTotal?list.treatCostTotal:"0.00"}}</div>
59 59
       <div style="position: absolute;top:190px;left:340px">CT核磁</div>
@@ -217,7 +217,7 @@ export default {
217 217
     }
218 218
   },
219 219
   created(){
220
-    console.log('paramsObj',this.paramsObj)
220
+    //console.log('paramsObj',this.paramsObj)
221 221
     let params = {
222 222
       order_id: this.paramsObj.order_id,
223 223
       patient_id: this.paramsObj.patient_id,