see999 4 anni fa
parent
commit
f69e349263

+ 475 - 179
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue Vedi File

@@ -1,212 +1,508 @@
1 1
 <template>
2 2
     <div id='prescription-print' class="prescription-print">
3
-        <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
4
-        <div class="infoMain">
5
-            <div class="infoP">医院(药店)编号:</div>
6
-            <div class="infoP">名称:血液透析中心</div>
7
-            <div class="infoP">医生工号:</div>
8
-            <div class="infoP">门诊流水号:</div>
9
-            <div class="infoP">科别:{{list.p_info.departments?list.p_info.departments:""}}</div>
10
-            <div class="infoP">处方单据号:</div>
11
-            <div class="infoP">姓名:{{patient.name}}</div>
12
-            <div class="infoP">医疗账号:</div>
13
-            <div class="infoP">医疗类别:普通</div>
14
-        </div>
15
-        <div class="chargeBox">
16
-            <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
17
-                <div class="chargeUl" style="width:20%;">
18
-                    <p style="width:50%;border-right:1px solid #000;">费用类型</p>
19
-                    <p style="width:50%;border-right:1px solid #000;">金额</p>
20
-                </div>
21
-                <div class="chargeUl" style="width:80%;">
22
-                    <p style="width:40%;border-right:1px solid #000;">明细名称</p>
23
-                    <p style="width:15%;border-right:1px solid #000;">规格</p>
24
-                    <p style="width:15%;border-right:1px solid #000;">数量</p>
25
-                    <p style="width:15%;border-right:1px solid #000;">单价</p>
26
-                    <p style="width:15%;">金额</p>
27
-                </div>
3
+        <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538">
4
+            <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
5
+            <div class="infoMain">
6
+                <div class="infoP">医院(药店)编号:{{org_code}}</div>
7
+                <div class="infoP">名称:{{orgname}}</div>
8
+                <div class="infoP">医生工号:{{doctor_code}}</div>
9
+                <div class="infoP">门诊流水号:{{result.transBody.akc190}}</div>
10
+                <div class="infoP">科别:{{全科}}</div>
11
+                <div class="infoP">处方单据号:</div>
12
+                <div class="infoP">姓名:{{patient_name}}</div>
13
+                <div class="infoP">医疗账号:</div>
14
+                <div class="infoP">医疗类别:普通</div>
28 15
             </div>
29
-            <div style="display:flex;justify-content: space-between;">
30
-                <div style="width:20%;">
31
-                    <div class="chargeUl" v-for="(item,index) in 1" :key="index">
32
-                        <p style="width:50%;">材料费</p>
33
-                        <p style="width:50%;"></p>
34
-                    </div>
35
-                    <div class="chargeUl" style="border-top:1px solid #000;">
36
-                        <p style="width:50%;">费用合计</p>
37
-                        <p style="width:50%;">{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:""}}</p>
16
+            <div class="chargeBox">
17
+                <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
18
+                    <div class="chargeUl" style="width:20%;">
19
+                        <p style="width:50%;border-right:1px solid #000;">费用类型</p>
20
+                        <p style="width:50%;border-right:1px solid #000;">金额</p>
38 21
                     </div>
39
-                    <div class="chargeUl" style="border-top:1px solid #000;">
40
-                        <p style="width:50%;">记账支付</p>
41
-                        <p style="width:50%;"></p>
22
+                    <div class="chargeUl" style="width:80%;">
23
+                        <p style="width:40%;border-right:1px solid #000;">明细名称</p>
24
+                        <p style="width:15%;border-right:1px solid #000;">规格</p>
25
+                        <p style="width:15%;border-right:1px solid #000;">数量</p>
26
+                        <p style="width:15%;border-right:1px solid #000;">单价</p>
27
+                        <p style="width:15%;">金额</p>
42 28
                     </div>
43
-                    <div class="chargeUl" style="border-top:1px solid #000;">
44
-                        <p style="width:50%;">个人账号</p>
45
-                        <p style="width:50%;"></p>
29
+                </div>
30
+                <div style="display:flex;justify-content: space-between;">
31
+                    <div style="width:20%;">
32
+                        <div class="chargeUl" v-for="(item,index) in result.transBody.outputlist2" :key="index">
33
+                            <p style="width:50%;">{{getItemName(item.aka111)}}</p>
34
+                            <p style="width:50%;">{{item.bka058}}</p>
35
+                        </div>
36
+                        <div class="chargeUl" style="border-top:1px solid #000;">
37
+                            <p style="width:50%;">费用合计</p>
38
+                            <p style="width:50%;">{{result.transBody.akc264}}</p>
39
+                        </div>
40
+                        <div class="chargeUl" style="border-top:1px solid #000;">
41
+                            <p style="width:50%;">记账支付</p>
42
+                            <p style="width:50%;">{{result.transBody.akb068}}</p>
43
+                        </div>
44
+                        <div class="chargeUl" style="border-top:1px solid #000;">
45
+                            <p style="width:50%;">个人账号</p>
46
+                            <p style="width:50%;">{{result.transBody.akc264}}</p>
47
+                        </div>
48
+                        <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
49
+                            <p style="width:50%;">现金支付</p>
50
+                            <p style="width:50%;">{{result.transBody.akb067}}</p>
51
+                        </div>
46 52
                     </div>
47
-                    <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
48
-                        <p style="width:50%;">现金支付</p>
49
-                        <p style="width:50%;">{{list.order_info.psn_cash_pay}}</p>
53
+                    <div style="width:80%;display:flex;height:300px;">
54
+
55
+                        <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
56
+                            <p v-for="(item,i) in name_arr" :key="i" class="chargeP">
57
+                                {{item}}</p>
58
+                        </div>
59
+                        <div style="border-right:1px solid #000;width:15%;text-align:center;">
60
+                            <p v-for="(item,y) in spec_arr" :key="y" class="chargeP">
61
+                                {{item}}</p>
62
+                        </div>
63
+                        <div style="border-right:1px solid #000;width:15%;text-align:center;">
64
+                            <p v-for="(item,z) in count_arr" :key="z" class="chargeP">
65
+                                {{item}}次</p>
66
+                        </div>
67
+                        <div style="border-right:1px solid #000;width:15%;text-align:center;">
68
+                            <p v-for="(item,f) in price_arr" :key="f" class="chargeP">{{item}}</p>
69
+                        </div>
70
+                        <div style="width:15%;text-align:center;">
71
+                            <p v-for="(item,d) in total_arr" :key="d" class="chargeP">{{item}}</p>
72
+                        </div>
50 73
                     </div>
51 74
                 </div>
52
-                <div style="width:80%;display:flex;height:300px;">
53 75
 
54
-                    <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
55
-                        <p v-for="(item,i) in prescription[0].advices" :key="i" class="chargeP">{{item.advice_name}}</p>
56
-                    </div>
57
-                    <div style="border-right:1px solid #000;width:15%;text-align:center;">
58
-                        <p v-for="(item,y) in prescription[0].advices" :key="y" class="chargeP">{{item.advice_desc}}</p>
76
+            </div>
77
+            <div class="moneyBox">
78
+                <p>实收金:{{result.transBody.akc264}}</p>
79
+                <p>记账前金额:{{0.00}}</p>
80
+                <p>扣款金额:{{0.00}}</p>
81
+                <p>记账后金额:{{0.00}}</p>
82
+                <p>找赎金:{{0.00}}</p>
83
+            </div>
84
+            <div class="actionBar">
85
+                <div>收费员:{{doctor_name}}</div>
86
+                <div>日期:{{this.$route.query.record_date}}</div>
87
+            </div>
88
+        </div>
89
+
90
+        <div v-else>
91
+            <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
92
+            <div class="infoMain">
93
+                <div class="infoP">医院(药店)编号:</div>
94
+                <div class="infoP">名称:{{orgname}}</div>
95
+                <div class="infoP">医生工号:</div>
96
+                <div class="infoP">门诊流水号:</div>
97
+                <div class="infoP">科别:{{list.p_info.departments?list.p_info.departments:''}}</div>
98
+                <div class="infoP">处方单据号:</div>
99
+                <div class="infoP">姓名:{{patient.name}}</div>
100
+                <div class="infoP">医疗账号:</div>
101
+                <div class="infoP">医疗类别:普通</div>
102
+            </div>
103
+            <div class="chargeBox">
104
+                <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
105
+                    <div class="chargeUl" style="width:20%;">
106
+                        <p style="width:50%;border-right:1px solid #000;">费用类型</p>
107
+                        <p style="width:50%;border-right:1px solid #000;">金额</p>
59 108
                     </div>
60
-                    <div style="border-right:1px solid #000;width:15%;text-align:center;">
61
-                        <p v-for="(item,z) in prescription[0].advices" :key="z" class="chargeP">{{item.single_dose}}个</p>
109
+                    <div class="chargeUl" style="width:80%;" >
110
+                        <p style="width:40%;border-right:1px solid #000;">明细名称</p>
111
+                        <p style="width:15%;border-right:1px solid #000;">规格</p>
112
+                        <p style="width:15%;border-right:1px solid #000;">数量</p>
113
+                        <p style="width:15%;border-right:1px solid #000;">单价</p>
114
+                        <p style="width:15%;">金额</p>
62 115
                     </div>
63
-                    <div style="border-right:1px solid #000;width:15%;text-align:center;">
64
-                        <p v-for="(item,f) in prescription[0].advices" :key="f" class="chargeP">{{item.price}}</p>
116
+                </div>
117
+                <div style="display:flex;justify-content: space-between;">
118
+                    <div style="width:20%;">
119
+                        <div class="chargeUl" v-for="(item,index) in 1" :key="index">
120
+                            <div>
121
+                                <p style="width:50%;">药品费</p>
122
+                                <p style="width:50%;"></p>
123
+                            </div>
124
+                            <div>
125
+                                <p style="width:50%;">材料费</p>
126
+                                <p style="width:50%;"></p>
127
+                            </div>
128
+                            <div>
129
+                                <p style="width:50%;">治疗费</p>
130
+                                <p style="width:50%;"></p>
131
+                            </div>
132
+                        </div>
133
+                        <div class="chargeUl" style="border-top:1px solid #000;">
134
+                            <p style="width:50%;">费用合计</p>
135
+                            <p style="width:50%;">{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
136
+                        </div>
137
+                        <div class="chargeUl" style="border-top:1px solid #000;">
138
+                            <p style="width:50%;">记账支付</p>
139
+                            <p style="width:50%;"></p>
140
+                        </div>
141
+                        <div class="chargeUl" style="border-top:1px solid #000;">
142
+                            <p style="width:50%;">个人账号</p>
143
+                            <p style="width:50%;"></p>
144
+                        </div>
145
+                        <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
146
+                            <p style="width:50%;">现金支付</p>
147
+                            <p style="width:50%;">{{list.order_info.psn_cash_pay}}</p>
148
+                        </div>
65 149
                     </div>
66
-                    <div style="width:15%;text-align:center;">
67
-                        <p v-for="(item,d) in prescription[0].advices" :key="d" class="chargeP">{{item.single_dose * item.price}}</p>
150
+                    <div style="width:80%;display:flex;height:300px;">
151
+
152
+                        <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
153
+                            <p v-for="(item,i) in prescription[0].advices" :key="i" class="chargeP">
154
+                                {{item.advice_name}}</p>
155
+                        </div>
156
+                        <div style="border-right:1px solid #000;width:15%;text-align:center;">
157
+                            <p v-for="(item,y) in prescription[0].advices" :key="y" class="chargeP">
158
+                                {{item.advice_desc}}</p>
159
+                        </div>
160
+                        <div style="border-right:1px solid #000;width:15%;text-align:center;">
161
+                            <p v-for="(item,z) in prescription[0].advices" :key="z" class="chargeP">
162
+                                {{item.single_dose}}个</p>
163
+                        </div>
164
+                        <div style="border-right:1px solid #000;width:15%;text-align:center;">
165
+                            <p v-for="(item,f) in prescription[0].advices" :key="f" class="chargeP">{{item.price}}</p>
166
+                        </div>
167
+                        <div style="width:15%;text-align:center;">
168
+                            <p v-for="(item,d) in prescription[0].advices" :key="d" class="chargeP">{{item.single_dose *
169
+                                item.price}}</p>
170
+                        </div>
68 171
                     </div>
69 172
                 </div>
70
-            </div>
71 173
 
72
-        </div>
73
-        <div class="moneyBox">
74
-            <p>实收金:{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
75
-            <p>记账前金额:{{list.order_info.preselfpay_amt?list.order_info.preselfpay_amt:""}}</p>
76
-            <p>扣款金额:</p>
77
-            <p>记账后金额:</p>
78
-            <p>找赎金:</p>
79
-        </div>
80
-        <div class="actionBar">
81
-            <div>收费员:</div>
82
-            <div>日期:{{this.$route.query.record_date}}</div>
174
+            </div>
175
+            <div class="moneyBox">
176
+                <p>实收金:{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
177
+                <p>记账前金额:{{list.order_info.preselfpay_amt?list.order_info.preselfpay_amt:''}}</p>
178
+                <p>扣款金额:</p>
179
+                <p>记账后金额:</p>
180
+                <p>找赎金:</p>
181
+            </div>
182
+            <div class="actionBar">
183
+                <div>收费员:{{}}</div>
184
+                <div>日期:{{this.$route.query.record_date}}</div>
185
+            </div>
83 186
         </div>
84 187
     </div>
188
+
189
+
85 190
 </template>
86 191
 <script>
87
- import { getChargePrint } from "@/api/project/project"
88
-export default {
89
-    data(){
90
-      return{
91
-          list:{},
92
-          prescription:[],
93
-          patient:{},
94
-          orgname:""
192
+  import axios from 'axios'
193
+  import { getChargePrint } from '@/api/project/project'
194
+
195
+  export default {
196
+    data() {
197
+      return {
198
+        list: {},
199
+        prescription: [],
200
+        patient: {},
201
+        orgname: '',
202
+
203
+        result:{},
204
+        org_code:"",
205
+        patient_name:"",
206
+        doctor_code:"",
207
+        doctor_name:"",
208
+
209
+        name_arr:[],
210
+        spec_arr:[],
211
+        count_arr:[],
212
+        price_arr:[],
213
+        total_arr:[],
214
+
215
+
95 216
       }
96 217
     },
97
-    props:{
98
-        paramsObj:Object
218
+    props: {
219
+      paramsObj: Object
99 220
     },
100
-    methods:{
101
-       getChargePrint(record_date,patient_id,prescription_id){
102
-           var params = {
103
-              record_date:record_date,
104
-              patient_id:patient_id,
105
-              prescription_id:prescription_id
106
-           }
107
-           console.log("params",params)
108
-         getChargePrint(params).then(response=>{
109
-            if(response.data.state == 1){
110
-               var list = response.data.data.list
111
-               console.log("list9999999999",list)
112
-               this.list = list
113
-               var prescription = response.data.data.prescription
114
-               console.log("prescription",prescription)
115
-               this.prescription = prescription
116
-               var patient = response.data.data.patient
117
-               console.log("patient",patient)
118
-               this.patient  = patient
119
-               var histpatient =   response.data.data.hisPatient
120
-               console.log("hispatient",histpatient)
121
-            }
122
-         })
123
-       }
221
+    methods: {
222
+      getItemName(number){
223
+        switch (number) {
224
+          case "01":
225
+            return "床位费"
226
+            break
227
+          case "02":
228
+            return "西药费"
229
+
230
+            break
231
+          case "03":
232
+            return "中药费"
233
+
234
+            break
235
+          case "04":
236
+            return "中成药费"
237
+
238
+            break
239
+          case "05":
240
+            return "中草药费"
241
+
242
+            break
243
+          case "06":
244
+            return "检查费"
245
+
246
+            break
247
+          case "07":
248
+            return "治疗费"
249
+
250
+            break
251
+          case "08":
252
+            return "放射费"
253
+
254
+            break
255
+          case "09":
256
+            return "手术费"
257
+
258
+            break
259
+          case "10":
260
+            return "化验费"
261
+
262
+            break
263
+          case "11":
264
+            return "输血费"
265
+
266
+            break
267
+          case "12":
268
+            return "输氧费"
269
+
270
+
271
+            break
272
+          case "13":
273
+            return "其它费"
274
+
275
+            break
276
+          case "14":
277
+            return "麻醉费"
278
+
279
+            break
280
+          case "15":
281
+            return "材料费"
282
+
283
+            break
284
+          case "16":
285
+            return "特殊检查费"
286
+
287
+            break
288
+          case "17":
289
+            return "特殊治疗费"
290
+
291
+            break
292
+          case "18":
293
+            return "诊疗费(诊查费)"
294
+
295
+            break
296
+          case "19":
297
+            return "护理费"
298
+
299
+            break
300
+          case "20":
301
+            return "诊金"
302
+
303
+            break
304
+          case "21":
305
+            return "检查费(CT)"
306
+
307
+            break
308
+          case "22":
309
+            return "检查费(MRT)"
310
+
311
+            break
312
+          case "23":
313
+            return "检查费(其他)"
314
+
315
+            break
316
+          case "24":
317
+            return "特需服务费"
318
+
319
+            break
320
+          case "25":
321
+            return "杂费"
322
+
323
+            break
324
+          case "26":
325
+            return "挂号费"
326
+            break
327
+
328
+        }
329
+
330
+
331
+      },
332
+      getChargePrint(record_date, patient_id, prescription_id) {
333
+        var params = {
334
+          record_date: record_date,
335
+          patient_id: patient_id,
336
+          prescription_id: prescription_id
337
+        }
338
+        console.log('params', params)
339
+        getChargePrint(params).then(response => {
340
+          if (response.data.state == 1) {
341
+            var list = response.data.data.list
342
+            console.log('list9999999999', list)
343
+            this.list = list
344
+            var prescription = response.data.data.prescription
345
+            console.log('prescription', prescription)
346
+            this.prescription = prescription
347
+            var patient = response.data.data.patient
348
+            console.log('patient', patient)
349
+            this.patient = patient
350
+            var histpatient = response.data.data.hisPatient
351
+            console.log('hispatient', histpatient)
352
+          }
353
+        })
354
+      }
124 355
     },
125
-    created(){
126
-       var record_date =  this.paramsObj.record_date
127
-       console.log("record_date",record_date)
128
-       var patient_id = this.paramsObj.patient_id
129
-       console.log("patient_id",patient_id)
130
-       var prescription_id = this.paramsObj.prescription_id
131
-       this.getChargePrint(record_date,patient_id,prescription_id)
132
-       var xtuser = this.$store.getters.xt_user
133
-       this.orgname = xtuser.org.org_name
356
+    created() {
357
+
358
+      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538) {
359
+        var form = {
360
+          'order_id': this.paramsObj.order_id,
361
+          'patient_id': this.paramsObj.patient_id,
362
+          'record_time': this.paramsObj.record_date,
363
+          'admin_user_id': this.$store.getters.xt_user.user.id
364
+        }
365
+        var that = this
366
+        axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
367
+          params: form
368
+        })
369
+          .then(function(response) {
370
+            if (response.data.state == 0) {
371
+              that.$message.error(response.data.msg)
372
+              return false
373
+            } else {
374
+              if (response.data.data.failed_code == -10) {
375
+                that.$message.error(response.data.data.msg)
376
+              } else {
377
+                this.result = response.data.data.res
378
+
379
+                this.org_code = response.data.data.org_code
380
+                this.patient_name = response.data.data.patient_name
381
+                this.doctor_code = response.data.data.doctor_code
382
+                this.doctor_name = response.data.data.doctor_name
383
+                this.name_arr = []
384
+                this.spec_arr = []
385
+                this.count_arr = []
386
+                this.price_arr = []
387
+                this.total_arr = []
388
+                for(let i = 0;i < this.result.transBody.outputlist1.length; i++){
389
+                  this.name_arr.push(this.result.transBody.outputlist1[i].ake006)
390
+                  this.spec_arr.push(this.result.transBody.outputlist1[i].aka074)
391
+                  this.count_arr.push(this.result.transBody.outputlist1[i].akc226)
392
+                  this.price_arr.push(this.result.transBody.outputlist1[i].akc225)
393
+                  this.total_arr.push(this.result.transBody.outputlist1[i].akc264)
394
+                }
395
+
396
+
397
+
398
+
399
+
400
+
401
+              }
402
+
403
+            }
404
+          })
405
+          .catch(function(error) {
406
+
407
+          })
408
+
409
+      } else {
410
+        var record_date = this.paramsObj.record_date
411
+        console.log('record_date', record_date)
412
+        var patient_id = this.paramsObj.patient_id
413
+        console.log('patient_id', patient_id)
414
+        var prescription_id = this.paramsObj.prescription_id
415
+        this.getChargePrint(record_date, patient_id, prescription_id)
416
+        var xtuser = this.$store.getters.xt_user
417
+        this.orgname = xtuser.org.org_name
418
+
419
+      }
134 420
 
135 421
     },
136
-    watch:{
137
-        paramsObj:{//深度监听,可监听到对象、数组的变化
138
-        handler(val, oldVal){
139
-            this.paramsObj = val
140
-            this.patient_id = this.paramsObj.patient_id
141
-            var record_date = this.paramsObj.record
142
-            this.record_date = record_date
143
-            var prescription_id = this.paramsObj.prescription_id
144
-            this.prescription_id = prescription_id
422
+    watch: {
423
+      paramsObj: {//深度监听,可监听到对象、数组的变化
424
+        handler(val, oldVal) {
425
+          this.paramsObj = val
426
+          this.patient_id = this.paramsObj.patient_id
427
+          var record_date = this.paramsObj.record
428
+          this.record_date = record_date
429
+          var prescription_id = this.paramsObj.prescription_id
430
+          this.prescription_id = prescription_id
145 431
 
146 432
         },
147
-        deep:true
148
-        }
433
+        deep: true
434
+      }
149 435
     }
150
-}
436
+  }
151 437
 </script>
152 438
 
153 439
 
154 440
 <style lang="scss" scoped>
155
-.prescription-print{
156
-    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
157
-    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
158
-    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
159
-    margin-bottom: 20px;
160
-    padding:20px 10px;
161
-}
162
-.printTitle{
163
-    font-size: 22px;
164
-    text-align: center;
165
-    font-weight: bold;
166
-}
167
-.infoMain{
168
-    display: flex;
169
-    flex-wrap: wrap;
170
-    padding:0 10px;
171
-    margin-top:10px;
172
-}
173
-.infoMain .infoP{
174
-    width: 33%;
175
-    line-height: 24px;
176
-}
177
-.chargeBox{
178
-    border: 1px solid #000;
179
-}
180
-.chargeUl{
181
-    display:flex;
182
-    justify-content: space-between;
183
-    text-align: center;
184
-}
185
-.chargeUl p{
186
-    height:40px;
187
-    line-height: 40px;
188
-}
189
-.chargeP{
190
-    height:40px;
191
-    line-height: 40px;
192
-}
193
-.moneyBox{
194
-    display: flex;
195
-    justify-content: space-between;
196
-    padding: 0 10px;
197
-    background: #eee;
198
-    height: 40px;
199
-    align-items: center;
200
-    border:1px solid #000;
201
-    border-top:none
202
-}
203
-.actionBar{
204
-    display: flex;
205
-    justify-content: space-between;
206
-    line-height: 24px;
207
-    padding:0 10px;
208
-}
209
-.actionBar div{
210
-    width:150px;
211
-}
441
+    .prescription-print {
442
+        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
443
+        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
444
+        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
445
+        margin-bottom: 20px;
446
+        padding: 20px 10px;
447
+    }
448
+
449
+    .printTitle {
450
+        font-size: 22px;
451
+        text-align: center;
452
+        font-weight: bold;
453
+    }
454
+
455
+    .infoMain {
456
+        display: flex;
457
+        flex-wrap: wrap;
458
+        padding: 0 10px;
459
+        margin-top: 10px;
460
+    }
461
+
462
+    .infoMain .infoP {
463
+        width: 33%;
464
+        line-height: 24px;
465
+    }
466
+
467
+    .chargeBox {
468
+        border: 1px solid #000;
469
+    }
470
+
471
+    .chargeUl {
472
+        display: flex;
473
+        justify-content: space-between;
474
+        text-align: center;
475
+    }
476
+
477
+    .chargeUl p {
478
+        height: 40px;
479
+        line-height: 40px;
480
+    }
481
+
482
+    .chargeP {
483
+        height: 40px;
484
+        line-height: 40px;
485
+    }
486
+
487
+    .moneyBox {
488
+        display: flex;
489
+        justify-content: space-between;
490
+        padding: 0 10px;
491
+        background: #eee;
492
+        height: 40px;
493
+        align-items: center;
494
+        border: 1px solid #000;
495
+        border-top: none
496
+    }
497
+
498
+    .actionBar {
499
+        display: flex;
500
+        justify-content: space-between;
501
+        line-height: 24px;
502
+        padding: 0 10px;
503
+    }
504
+
505
+    .actionBar div {
506
+        width: 150px;
507
+    }
212 508
 </style>

+ 1 - 1
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue Vedi File

@@ -460,4 +460,4 @@ export default {
460 460
 .actionBar div{
461 461
     width:150px;
462 462
 }
463
-</style>
463
+</style>