see999 před 4 roky
rodič
revize
2293468c19

+ 144 - 1
src/xt_pages/outpatientCharges/settlementPrint.vue Zobrazit soubor

@@ -25,6 +25,7 @@ import { jsGetAge, uParseTime } from "@/utils/tools";
25 25
 // import LabelBox from "./printItem/LabelBox";
26 26
 import print from "print-js";
27 27
 import printOne from "./settlementTemplate/printOne"
28
+import axios from 'axios'
28 29
 export default {
29 30
   name: "dialysisPrintOrder",
30 31
   components: {
@@ -91,14 +92,156 @@ export default {
91 92
       //   });
92 93
       // }
93 94
     },
95
+    getAllDoctorList(){
96
+      getAllDoctorList().then(response=>{
97
+        if(response.data.state == 1){
98
+               var doctor =  response.data.data.doctor
99
+
100
+               this.doctorList = doctor
101
+             }
102
+         })
103
+     },
104
+    getAllHisPatientList(){
105
+         const params = {
106
+           record_date:this.record_date
107
+         }
108
+      getAllHisPatientList(params).then(response=>{
109
+         if(response.data.state == 1){
110
+            this.patientTableData = response.data.data.list
111
+            this.patientTableDataTwo = response.data.data.list
112
+
113
+            console.log('222', this.patientTableData)
114
+            let cal_one = 0
115
+            let cal_two = 0
116
+            for (let i = 0; i < response.data.data.list.length; i++) {
117
+              if (response.data.data.list[i].prescription == null || response.data.data.list[i].prescription.length == 0) {
118
+                cal_one = cal_one + 1
119
+              }
120
+              if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
121
+                cal_two = cal_two + 1
122
+              }
123
+            }
124
+            // this.$refs.tab.setCurrentRow(this.patientTableData[0])
125
+            // console.log(this.patientTableData[0])
126
+            // this.choosePatient(this.patientTableData[0])
127
+            this.cal_one = cal_one
128
+            this.cal_two = cal_two
129
+         }
130
+      })
131
+    },
132
+
133
+    changePatient(row){
134
+      console.log("row",row)
135
+      this.patient_id = row.patient_id
136
+      this.record_date = this.record_date
137
+      this.prescription_id = this.prescription_id
138
+      //   var params = {
139
+      //     patient_id:row.patient_id,
140
+      //     record_date:this.record_date,
141
+      //     prescription_id:this.prescription_id,
142
+      //   }
143
+      // getPrescriptionPrint(params).then(response=>{
144
+      //     if(response.data.state == 1){
145
+      //       var advicePrint =  response.data.data.advicePrint
146
+      //       console.log("adviceprint",advicePrint)
147
+      //       this.advicePrint = advicePrint
148
+      //       // var hisPatient =  response.data.data.hisPatient
149
+      //       // console.log("hispatient",hisPatient)
150
+      //       // this.hisPatient = hisPatient
151
+      //       var patient =  response.data.data.patient
152
+      //       console.log("patient",patient)
153
+      //       this.patient = patient
154
+      //       var doctorPorject = response.data.data.doctorPorject
155
+      //       console.log("doctorporject",doctorPorject)
156
+      //     }
157
+      // })
158
+    },
159
+    searchAction(){
160
+
161
+    },
162
+    getInfo(order_id) {
163
+      if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 9671 ||  this.$store.getters.xt_user.org_id == 9674 ||  this.$store.getters.xt_user.org_id == 10106  ||  this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9990 || this.$store.getters.xt_user.org_id == 0) {
164
+
165
+        var that = this
166
+
167
+        axios.get('http://127.0.0.1:9532/api/settle/query', {
168
+          params: {
169
+            order_id: order_id,
170
+            admin_user_id:this.$store.getters.xt_user.user.id,
171
+
172
+          }
173
+        })
174
+          .then(function (response) {
175
+            if (response.data.state == 0) {
176
+              this.$message.error(response.data.msg)
177
+              return false
178
+            } else {
179
+              console.log("logloglog")
180
+
181
+              console.log(response.data.data.info)
182
+              that.info = response.data.data.info
183
+              console.log(that.info)
184
+
185
+              that.info['bed_cost_total'] = response.data.data.bedCostTotal
186
+              that.info['bed_cost_self_total'] = response.data.data.bedCostSelfTotal
187
+              that.info['bed_cost_part_self_total'] = response.data.data.bedCostPartSelfTotal
188
+
189
+              that.info['operation_cost_total'] = response.data.data.operationCostTotal
190
+              that.info['operation_cost_self_total'] = response.data.data.operationCostSelfTotal
191
+              that.info['operation_cost_part_self_total'] = response.data.data.operationCostPartSelfTotal
192
+
193
+              that.info['other_cost_total'] = response.data.data.otherCostTotal
194
+              that.info['other_cost_self_total'] = response.data.data.otherCostSelfTotal
195
+              that.info['other_cost_part_self_total'] = response.data.data.otherCostPartSelfTotal
196
+
197
+              that.info['material_cost_total'] = response.data.data.materialCostTotal
198
+              that.info['material_cost_self_total'] = response.data.data.materialCostSelfTotal
199
+              that.info['material_cost_part_self_total'] = response.data.data.materialCostPartSelfTotal
200
+
201
+              that.info['western_medicine_cost_total'] = response.data.data.westernMedicineCostTotal
202
+              that.info['western_medicine_cost_self_total'] = response.data.data.westernMedicineCostSelfTotal
203
+              that.info['western_medicine_cost_part_self_total'] = response.data.data.westernMedicineCostPartSelfTotal
204
+
205
+              that.info['chinese_traditional_medicine_cost_total'] = response.data.data.chineseTraditionalMedicineCostTotal
206
+              that.info['chinese_traditional_medicine_cost_self_total'] = response.data.data.chineseTraditionalMedicineCostSelfTotal
207
+              that.info['chinese_traditional_medicine_cost_part_self_total'] = response.data.data.chineseTraditionalMedicineCostPartSelfTotal
208
+
209
+
210
+              that.info['check_cost_total'] = response.data.data.checkCostTotal
211
+              that.info['check_cost_self_total'] = response.data.data.checkCostSelfTotal
212
+              that.info['check_cost_part_self_total'] = response.data.data.checkCostPartSelfTotal
213
+
214
+
215
+              that.info['laboratory_cost_total'] = response.data.data.laboratoryCostTotal
216
+              that.info['laboratory_cost_self_total'] = response.data.data.laboratoryCostSelfTotal
217
+              that.info['laboratory_cost_part_self_total'] = response.data.data.laboratoryCostPartSelfTotal
218
+
219
+              that.info['treat_cost_total'] = response.data.data.treatCostTotal
220
+              that.info['treat_cost_self_total'] = response.data.data.treatCostSelfTotal
221
+              that.info['treat_cost_part_self_total'] = response.data.data.treatCostPartSelfTotal
222
+              that.info['date'] =  response.data.data.date
223
+              that.info['number'] =  response.data.data.number
224
+              that.info['order_infos'] =  response.data.data.order_infos
225
+              that.info['diagnosis'] =  response.data.data.diagnosis
226
+
227
+            }
228
+          })
229
+          .catch(function (error) {
230
+
231
+          });
232
+      }
233
+    }
94 234
   },
95 235
   created() {
236
+    this.getInfo(this.paramsObj.order_id)
237
+    this.org_id = this.$store.getters.xt_user.org_id
96 238
   },
97 239
   watch:{
98 240
     paramsObj:{//深度监听,可监听到对象、数组的变化
99 241
       handler(val, oldVal){
100 242
         this.paramsObj = val
101
-        
243
+        this.getInfo(this.paramsObj.order_id)
244
+
102 245
       },
103 246
       deep:true
104 247
     }

+ 453 - 14
src/xt_pages/outpatientCharges/settlementTemplate/printOne.vue Zobrazit soubor

@@ -1,15 +1,30 @@
1 1
 <template>
2 2
     <div id="prescription-print" class="print_page_main_content">
3
-        <div class="title">医疗保障基金结算清单</div>
3
+        <div class="title">广东省社会医疗保障基金结算清单</div>
4 4
         <div style="text-align:right;">清单流水号 <div style="width:120px;" class="under_line"></div></div>
5 5
         <div class="row">
6
-            <div>定点医疗机构名称<div style="width:120px;" class="under_line"></div></div>
7
-            <div>定点医疗机构代码<div style="width:120px;" class="under_line"></div></div>
8
-            <div>医保结算等级<div style="width:120px;" class="under_line"></div></div>
6
+            <div>定点医疗机构名称<div style="width:120px;" class="under_line">{{info.fixmedins_name}}</div></div>
7
+            <div>定点医疗机构代码<div style="width:120px;" class="under_line">{{info.fixmedins_code}}</div></div>
8
+            <div>医保结算等级
9
+                <div style="width:120px;" class="under_line">
10
+                    <span v-if="info.hosp_lv == '1'">三级特等</span>
11
+                    <span v-if="info.hosp_lv == '2'">三级甲等</span>
12
+                    <span v-if="info.hosp_lv == '3'">三级乙等</span>
13
+                    <span v-if="info.hosp_lv == '4'">三级丙等</span>
14
+                    <span v-if="info.hosp_lv == '5'">二级甲等</span>
15
+                    <span v-if="info.hosp_lv == '6'">二级乙等</span>
16
+                    <span v-if="info.hosp_lv == '7'">二级丙等</span>
17
+                    <span v-if="info.hosp_lv == '8'">一级甲等</span>
18
+                    <span v-if="info.hosp_lv == '9'">一级乙等</span>
19
+                    <span v-if="info.hosp_lv == '10'">一级丙等</span>
20
+                    <span v-if="info.hosp_lv == '11'">无等级</span>
21
+                    <span v-else></span>
22
+                </div>
23
+            </div>
9 24
         </div>
10 25
         <div class="row">
11 26
             <div>医保编号<div style="width:120px;" class="under_line"></div></div>
12
-            <div>病案号<div style="width:120px;" class="under_line"></div></div>
27
+            <div>病案号<div style="width:120px;" class="under_line">{{info.psn_no}}</div></div>
13 28
             <div>申报时间
14 29
                 <div style="width:40px;" class="under_line"></div>年
15 30
                 <div style="width:40px;" class="under_line"></div>月
@@ -28,16 +43,16 @@
28 43
                         <td>
29 44
                             <div class="row">
30 45
                                 <div class="inline_block">姓名
31
-                                    <div style="width:80px;" class="under_line"></div>
46
+                                    <div style="width:80px;" class="under_line">{{info.psn_name}}</div>
32 47
                                 </div>
33 48
                                 <div class="inline_block">性别
34
-                                    <label-box :isChecked="false" showValue="男"></label-box>
35
-                                    <label-box :isChecked="false" showValue="女"></label-box>
49
+                                    <label-box :isChecked="info.gend == '1'" showValue="男"></label-box>
50
+                                    <label-box :isChecked="info.gend == '2'" showValue="女"></label-box>
36 51
                                 </div>
37 52
                                 <div class="inline_block">出生日期
38
-                                    <div style="width:40px;" class="under_line"></div>年
39
-                                    <div style="width:40px;" class="under_line"></div>月
40
-                                    <div style="width:40px;" class="under_line"></div>日
53
+                                    <!-- <div style="width:40px;" class="under_line">{{info.brdy.slice(0,4)}}</div>年
54
+                                    <div style="width:40px;" class="under_line">{{ info.brdy.slice(5,7) }}</div>月
55
+                                    <div style="width:40px;" class="under_line">{{ info.brdy.slice(8,11) }}</div>日 -->
41 56
                                 </div>
42 57
                                 <div class="inline_block">年龄
43 58
                                     <div style="width:80px;" class="under_line"></div>岁
@@ -54,10 +69,10 @@
54 69
                                     <div style="width:80px;" class="under_line"></div>
55 70
                                 </div>
56 71
                                 <div class="inline_block">患者证件类别
57
-                                    <div style="width:80px;" class="under_line"></div>
72
+                                    <div style="width:80px;" class="under_line">身份证</div>
58 73
                                 </div>
59 74
                                 <div class="inline_block">患者证件号码
60
-                                    <div style="width:140px;" class="under_line"></div>
75
+                                    <div style="width:140px;" class="under_line">{{info.certno}}</div>
61 76
                                 </div>
62 77
                             </div>
63 78
                             <div>
@@ -74,7 +89,7 @@
74 89
                             </div>
75 90
                             <div class="row">
76 91
                                 <div class="inline_block">工作单位名称
77
-                                    <div style="width:80px;" class="under_line"></div>
92
+                                    <div style="width:80px;" class="under_line">{{info.emp_name}}</div>
78 93
                                 </div>
79 94
                                 <div class="inline_block">工作单位地址
80 95
                                     <div style="width:160px;" class="under_line"></div>
@@ -385,8 +400,396 @@
385 400
                             </div>
386 401
                         </td>
387 402
                     </tr>
403
+                    <tr>
404
+                        <td style="padding:0;line-height:30px;height:30px;">
405
+                            <table class="inside_table">
406
+                                <tbody>
407
+                                    <tr>
408
+                                        <td style="width:30%;">重症监护病房类型(CCU、NICU、EICU、SICU、PICU、RICU、其他)</td>
409
+                                        <td style="width:25%;">进重症监护室时间(_年_月_日_时_分)</td>
410
+                                        <td style="width:25%;">出重症监护室时间(_年_月_日_时_分)</td>
411
+                                        <td style="width:20%;">合计(小时)</td>
412
+                                    </tr>
413
+                                    <tr v-for="item in 3">
414
+                                        <td>&nbsp;</td>
415
+                                        <td>&nbsp;</td>
416
+                                        <td>&nbsp;</td>
417
+                                        <td>&nbsp;</td>
418
+                                    </tr>
419
+                                </tbody>
420
+                            </table>
421
+                        </td>
422
+                    </tr>
423
+                    <tr>
424
+                        <td>
425
+                            <div class="inline_block">输血品种
426
+                                <div style="width:80px;" class="under_line"></div>
427
+                            </div>
428
+                            <div style="width:80px;" class="inline_block"></div>
429
+                            <div class="inline_block">输血量
430
+                                <div style="width:80px;" class="under_line"></div>
431
+                            </div>
432
+                            <div style="width:80px;" class="inline_block"></div>
433
+                            <div class="inline_block">输血计量单位
434
+                                <div style="width:80px;" class="under_line"></div>
435
+                            </div>
436
+                        </td>
437
+                    </tr>
438
+                    <tr>
439
+                        <td>
440
+                            <div class="inline_block">特级护理天数*
441
+                                <div style="width:80px;" class="under_line"></div>
442
+                            </div>
443
+                            <div style="width:80px;" class="inline_block"></div>
444
+                            <div class="inline_block">一级护理天数*
445
+                                <div style="width:80px;" class="under_line"></div>
446
+                            </div>
447
+                            <div style="width:80px;" class="inline_block"></div>
448
+                            <div class="inline_block">二级护理天数*
449
+                                <div style="width:80px;" class="under_line"></div>
450
+                            </div>
451
+                            <div style="width:80px;" class="inline_block"></div>
452
+                            <div class="inline_block">三级护理天数*
453
+                                <div style="width:80px;" class="under_line"></div>
454
+                            </div>
455
+                        </td>
456
+                    </tr>
457
+                    <tr>
458
+                        <td>
459
+                            <div>离院方式
460
+                                <label-box :isChecked="false" showValue="1.医嘱离院"></label-box>
461
+                                <label-box :isChecked="false" showValue="2.医嘱转院,拟接受机构名称"></label-box>
462
+                                <div style="width:80px;" class="under_line"></div>
463
+                                拟接收机构代码
464
+                                <div style="width:80px;" class="under_line"></div>
465
+                            </div>
466
+                            <div>
467
+                                <label-box :isChecked="false" showValue="3.转社区,转卫生院机构,拟接收机构名称"></label-box> 
468
+                                <div style="width:80px;" class="under_line"></div>
469
+                                拟接收机构代码
470
+                                <div style="width:80px;" class="under_line"></div>
471
+                                <label-box :isChecked="false" showValue="4.非医嘱离院"></label-box>
472
+                                <label-box :isChecked="false" showValue="5.死亡"></label-box>
473
+                                <label-box :isChecked="false" showValue="9.其他"></label-box>
474
+                            </div>
475
+                        </td>
476
+                    </tr>
477
+                    <tr>
478
+                        <td>
479
+                            <div>
480
+                                是否有出院31天内再住院计划
481
+                                <label-box :isChecked="false" showValue="1.无"></label-box>
482
+                                <label-box :isChecked="false" showValue="2.有"></label-box>
483
+                                目的<div style="width:80px;" class="under_line"></div>
484
+                            </div>
485
+                        </td>
486
+                    </tr>
487
+                    <tr>
488
+                        <td>
489
+                            <div class="inline_block" style="width:50%">
490
+                                主诊医师姓名*
491
+                                <div style="width:80px;" class="under_line"></div>
492
+                            </div>
493
+                            <div class="inline_block">
494
+                                主诊医师代码*
495
+                                <div style="width:80px;" class="under_line"></div>
496
+                            </div>
497
+                        </td>
498
+                    </tr>
499
+                    <tr>
500
+                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
501
+                            四、医疗收费信息
502
+                        </td>
503
+                    </tr>
504
+                    <tr>
505
+                        <td>
506
+                            <table class="inside_table">
507
+                                <tbody>
508
+                                    <tr>
509
+                                        <td style="width:20%;text-align:left;">
510
+                                            <div>
511
+                                                业务流水号:
512
+                                                <div style="width:80px;" class="under_line"></div>
513
+                                            </div>
514
+                                            <div>
515
+                                                票据代码:
516
+                                                <div style="width:80px;" class="under_line"></div>
517
+                                            </div>
518
+                                            <div>
519
+                                                票据号码:
520
+                                                <div style="width:80px;" class="under_line"></div>
521
+                                            </div>
522
+                                        </td>
523
+                                        <td style="width:80%;">
524
+                                            <div>
525
+                                                结算期间:
526
+                                                <div class="inline_block">
527
+                                                    <div style="width:40px;" class="under_line"></div>年
528
+                                                    <div style="width:40px;" class="under_line"></div>月
529
+                                                    <div style="width:40px;" class="under_line"></div>日
530
+                                                </div>——
531
+                                                <div class="inline_block">
532
+                                                    <div style="width:40px;" class="under_line"></div>年
533
+                                                    <div style="width:40px;" class="under_line"></div>月
534
+                                                    <div style="width:40px;" class="under_line"></div>日
535
+                                                </div>
536
+                                            </div>
537
+                                        </td>
538
+                                    </tr>
539
+                                </tbody>
540
+                            </table>
541
+                        </td>
542
+                    </tr>
543
+                    <tr>
544
+                        <td style="padding:0;line-height:30px;height:30px;">
545
+                            <table class="inside_table">
546
+                                <tbody>
547
+                                    <tr>
548
+                                        <td style="width:20%;">项目名称</td>
549
+                                        <td style="width:16%;">金额</td>
550
+                                        <td style="width:16%;">甲类</td>
551
+                                        <td style="width:16%;">乙类</td>
552
+                                        <td style="width:16%;">自费</td>
553
+                                        <td style="width:16%;">其他</td>
554
+                                    </tr>
555
+                                    <tr>
556
+                                        <td>床位费</td>
557
+                                        <td>&nbsp;{{info.bed_cost_total}}</td>
558
+                                        <td>&nbsp;</td>
559
+                                        <td>&nbsp;</td>
560
+                                        <td>&nbsp;{{info.bed_cost_self_total}}</td>
561
+                                        <td>&nbsp;</td>
562
+                                    </tr>
563
+                                    <tr>
564
+                                        <td>诊察费</td>
565
+                                        <td>&nbsp;</td>
566
+                                        <td>&nbsp;</td>
567
+                                        <td>&nbsp;</td>
568
+                                        <td>&nbsp;</td>
569
+                                        <td>&nbsp;</td>
570
+                                    </tr>
571
+                                    <tr>
572
+                                        <td>检查费</td>
573
+                                        <td>&nbsp;{{info.check_cost_total}}</td>
574
+                                        <td>&nbsp;</td>
575
+                                        <td>&nbsp;</td>
576
+                                        <td>&nbsp;{{info.check_cost_self_total}}</td>
577
+                                        <td>&nbsp;</td>
578
+                                    </tr>
579
+                                    <tr>
580
+                                        <td>化验费</td>
581
+                                        <td>&nbsp;{{info.laboratory_cost_total}}</td>
582
+                                        <td>&nbsp;</td>
583
+                                        <td>&nbsp;</td>
584
+                                        <td>&nbsp;{{info.laboratory_cost_self_total}}</td>
585
+                                        <td>&nbsp;</td>
586
+                                    </tr>
587
+                                    <tr>
588
+                                        <td>治疗费</td>
589
+                                        <td>&nbsp;{{info.treat_cost_total}}</td>
590
+                                        <td>&nbsp;</td>
591
+                                        <td>&nbsp;</td>
592
+                                        <td>&nbsp;{{info.treat_cost_self_total}}</td>
593
+                                        <td>&nbsp;</td>
594
+                                    </tr>
595
+                                    <tr>
596
+                                        <td>手术费</td>
597
+                                        <td>&nbsp;{{info.operation_cost_total}}</td>
598
+                                        <td>&nbsp;</td>
599
+                                        <td>&nbsp;</td>
600
+                                        <td>&nbsp;{{info.operation_cost_self_total}}</td>
601
+                                        <td>&nbsp;</td>
602
+                                    </tr>
603
+                                    <tr>
604
+                                        <td>护理费</td>
605
+                                        <td>&nbsp;</td>
606
+                                        <td>&nbsp;</td>
607
+                                        <td>&nbsp;</td>
608
+                                        <td>&nbsp;</td>
609
+                                        <td>&nbsp;</td>
610
+                                    </tr>
611
+                                    <tr>
612
+                                        <td>卫生材料费</td>
613
+                                        <td>&nbsp;{{info.material_cost_total}}</td>
614
+                                        <td>&nbsp;</td>
615
+                                        <td>&nbsp;</td>
616
+                                        <td>&nbsp;{{info.material_cost_self_total}}</td>
617
+                                        <td>&nbsp;</td>
618
+                                    </tr>
619
+                                    <tr>
620
+                                        <td>西药费</td>
621
+                                        <td>&nbsp;{{info.western_medicine_cost_total}}</td>
622
+                                        <td>&nbsp;</td>
623
+                                        <td>&nbsp;</td>
624
+                                        <td>&nbsp;{{info.western_medicine_cost_self_total}}</td>
625
+                                        <td>&nbsp;</td>
626
+                                    </tr>
627
+                                    <tr>
628
+                                        <td>中药饮片费</td>
629
+                                        <td>&nbsp;</td>
630
+                                        <td>&nbsp;</td>
631
+                                        <td>&nbsp;</td>
632
+                                        <td>&nbsp;</td>
633
+                                        <td>&nbsp;</td>
634
+                                    </tr>
635
+                                    <tr>
636
+                                        <td>中成药费</td>
637
+                                        <td>&nbsp;{{info.chinese_traditional_medicine_cost_total}}</td>
638
+                                        <td>&nbsp;</td>
639
+                                        <td>&nbsp;</td>
640
+                                        <td>&nbsp;{{info.chinese_traditional_medicine_cost_self_total}}</td>
641
+                                        <td>&nbsp;</td>
642
+                                    </tr>
643
+                                    <tr>
644
+                                        <td>一般诊疗费</td>
645
+                                        <td>&nbsp;</td>
646
+                                        <td>&nbsp;</td>
647
+                                        <td>&nbsp;</td>
648
+                                        <td>&nbsp;</td>
649
+                                        <td>&nbsp;</td>
650
+                                    </tr>
651
+                                    <tr>
652
+                                        <td>挂号费</td>
653
+                                        <td>&nbsp;</td>
654
+                                        <td>&nbsp;</td>
655
+                                        <td>&nbsp;</td>
656
+                                        <td>&nbsp;</td>
657
+                                        <td>&nbsp;</td>
658
+                                    </tr>
659
+                                    <tr>
660
+                                        <td>其他费</td>
661
+                                        <td>&nbsp;</td>
662
+                                        <td>&nbsp;</td>
663
+                                        <td>&nbsp;</td>
664
+                                        <td>&nbsp;</td>
665
+                                        <td>&nbsp;</td>
666
+                                    </tr>
667
+                                    <tr>
668
+                                        <td>金额合计</td>
669
+                                        <td>&nbsp;</td>
670
+                                        <td>&nbsp;</td>
671
+                                        <td>&nbsp;</td>
672
+                                        <td>&nbsp;</td>
673
+                                        <td>&nbsp;</td>
674
+                                    </tr>
675
+                                </tbody>
676
+                            </table>
677
+                        </td>
678
+                    </tr>
679
+                    <tr>
680
+                        <td style="padding:0;line-height:30px;height:30px;">
681
+                            <div style="display:flex;">
682
+                                <div style="width:52%">
683
+                                    <table class="inside_table">
684
+                                        <tbody>
685
+                                            <tr>
686
+                                                <td rowspan="10" style="width:4%;">基金支付</td>
687
+                                                <td style="width:34%">基金支付类型</td>
688
+                                                <td style="width:62%;">金额</td>
689
+                                            </tr>
690
+                                            <tr>
691
+                                                <td>医保统筹基金支付</td>
692
+                                                <td>&nbsp;{{info.hifp_pay}}</td>
693
+                                            </tr>
694
+                                            <tr>
695
+                                                <td>其他支付:</td>
696
+                                                <td>&nbsp;</td>
697
+                                            </tr>
698
+                                            <tr>
699
+                                                <td>大病保险</td>
700
+                                                <td>&nbsp;{{info.hifes_pay}}</td>
701
+                                            </tr>
702
+                                            <tr>
703
+                                                <td>医疗救助</td>
704
+                                                <td>&nbsp;{{info.maf_pay}}</td>
705
+                                            </tr>
706
+                                            <tr>
707
+                                                <td>公务员医疗补助</td>
708
+                                                <td>&nbsp;{{info.cvlserv_pay}}</td>
709
+                                            </tr>
710
+                                            <tr>
711
+                                                <td>大额补充</td>
712
+                                                <td>&nbsp;</td>
713
+                                            </tr>
714
+                                            <tr>
715
+                                                <td>企业补充</td>
716
+                                                <td>&nbsp;</td>
717
+                                            </tr>
718
+                                            <tr>
719
+                                                <td>......</td>
720
+                                                <td>&nbsp;</td>
721
+                                            </tr>
722
+                                            <tr>
723
+                                                <td>......</td>
724
+                                                <td>&nbsp;</td>
725
+                                            </tr>
726
+                                            
727
+                                        </tbody>
728
+                                    </table>
729
+                                </div>
730
+                                <div style="width:48%">
731
+                                    <table class="inside_table" style="height:100% !important;border-left:1px solid #000;">
732
+                                        <tbody>
733
+                                            <tr>
734
+                                                <td rowspan="4" style="width:4%;">个人支付</td>
735
+                                                <td style="width:36%">个人自付</td>
736
+                                                <td>{{info.psn_pay}}</td>
737
+                                            </tr>
738
+                                            <tr>
739
+                                                <td style="width:36%">个人自费</td>
740
+                                                <td>&nbsp;</td>
741
+                                            </tr>
742
+                                            <tr>
743
+                                                <td style="width:36%">个人账户支付</td>
744
+                                                <td>&nbsp;</td>
745
+                                            </tr>
746
+                                            <tr>
747
+                                                <td style="width:36%">个人现金支付</td>
748
+                                                <td>&nbsp;</td>
749
+                                            </tr>
750
+                                            
751
+                                        </tbody>
752
+                                    </table>
753
+                                </div>
754
+                            </div>
755
+                        </td>
756
+                    </tr>
757
+                    <tr>
758
+                        <td>
759
+                            <div>
760
+                                医保支付方式
761
+                                <label-box :isChecked="false" showValue="1.按项目"></label-box>
762
+                                <label-box :isChecked="false" showValue="2.单病种"></label-box>
763
+                                <label-box :isChecked="false" showValue="3.按病种分值"></label-box>
764
+                                <label-box :isChecked="false" showValue="4.疾病诊断相关分组(DRG)"></label-box>
765
+                                <label-box :isChecked="false" showValue="5.按床日"></label-box>
766
+                                <label-box :isChecked="false" showValue="6.按人头......"></label-box>
767
+                            </div>
768
+                        </td>
769
+                    </tr>
388 770
                 </tbody>
389 771
             </table>
772
+            <div class="row">
773
+                <div style="width:50%">
774
+                    医疗机构填报部门
775
+                    <div style="width:80px;" class="under_line"></div>
776
+                </div>
777
+                <div style="width:50%">
778
+                    医疗机构接收部门
779
+                    <div style="width:80px;" class="under_line"></div>
780
+                </div>
781
+            </div>
782
+            <div class="row">
783
+                <div style="width:50%">
784
+                    医疗机构填报人
785
+                    <div style="width:80px;" class="under_line"></div>
786
+                </div>
787
+                <div style="width:50%">
788
+                    医疗机构接收人
789
+                    <div style="width:80px;" class="under_line"></div>
790
+                </div>
791
+            </div>
792
+            <div style="font-weight:bold;">(注:“*” 代表选填数据项)</div>
390 793
         </div>
391 794
     </div>
392 795
 </template>
@@ -397,10 +800,46 @@ export default {
397 800
     components:{
398 801
         LabelBox
399 802
     },
803
+    props: {
804
+      info: {
805
+        type: Object,
806
+        default: function() {
807
+          return {}
808
+        }
809
+      }, p_admin: {
810
+        type: Object,
811
+        default: function() {
812
+          return {}
813
+        }
814
+      }, charge_admin: {
815
+        type: Object,
816
+        default: function() {
817
+          return {}
818
+        }
819
+      }
820
+    },
400 821
     data(){
401 822
         return{
402 823
 
403 824
         }
825
+    },
826
+    methods:{
827
+      getNowTime: function () {
828
+        let dateTime
829
+        let yy = new Date().getFullYear()
830
+        let mm = new Date().getMonth() + 1
831
+        let dd = new Date().getDate()
832
+        let hh = new Date().getHours()
833
+        let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
834
+          :
835
+          new Date().getMinutes()
836
+        let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
837
+          :
838
+          new Date().getSeconds()
839
+        dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
840
+        return dateTime
841
+      },
842
+
404 843
     }
405 844
 }
406 845
 </script>

+ 13 - 8
src/xt_pages/outpatientCharges/summary.vue Zobrazit soubor

@@ -103,7 +103,7 @@
103 103
                                    v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9504) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9919) ||  ($store.getters.xt_user.org_id == 10106) ||  (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 4)">
104 104
                             结算单
105 105
                         </el-button>
106
-                        <!-- <el-button size="mini" type="primary" @click="settlementPrint(scope.row)">结算单</el-button> -->
106
+                        <el-button size="mini" type="primary" v-if="scope.row.order_status == 2" @click="settlementPrint(scope.row)">结算单</el-button>
107 107
                         <el-button size="mini" type="primary" @click="toRefund(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106)">
108 108
                             退费
109 109
                         </el-button>
@@ -165,13 +165,13 @@
165 165
                 :visible.sync="invoiceVisible">
166 166
             <invoice-print ref="print" :invoiceParams='invoiceParams'></invoice-print>
167 167
         </el-dialog>
168
-        <!-- <el-dialog
168
+        <el-dialog
169 169
                 class="centerDialog"
170 170
                 width="1200px"
171 171
                 title="打印"
172 172
                 :visible.sync="settlementVisible">
173
-            <settlement-print ref="print" :paramsObj='orderObj'></settlement-print>
174
-        </el-dialog> -->
173
+            <settlement-print ref="print" :paramsObj='settlementObj'></settlement-print>
174
+        </el-dialog>
175 175
 
176 176
     </div>
177 177
 </template>
@@ -188,7 +188,7 @@
188 188
   import { fetchAllAdminUsers } from '@/api/doctor'
189 189
   import axios from 'axios'
190 190
   import invoicePrint from './invoicePrint'
191
-  // import settlementPrint from './settlementPrint'
191
+  import settlementPrint from './settlementPrint'
192 192
 
193 193
   export default {
194 194
     components: {
@@ -198,7 +198,7 @@
198 198
       listPrint,
199 199
       allListPrint,
200 200
       invoicePrint,
201
-      // settlementPrint
201
+      settlementPrint
202 202
     },
203 203
     data() {
204 204
       return {
@@ -225,7 +225,8 @@
225 225
         invoiceVisible:false,
226 226
         paramsObj:{},
227 227
         invoiceParams:{},
228
-        settlementVisible:false
228
+        settlementVisible:false,
229
+        settlementObj:{}
229 230
 
230 231
       }
231 232
     },
@@ -325,8 +326,12 @@
325 326
         }
326 327
 
327 328
       },
328
-      settlementPrint(){
329
+      settlementPrint(row){
329 330
         this.settlementVisible = true
331
+        let obj = {
332
+          order_id: row.id
333
+        }
334
+        this.settlementObj = obj
330 335
       },
331 336
       export_detail() {
332 337
         let params = {