Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 4 years ago
parent
commit
ffc482b8af

+ 2 - 2
src/xt_pages/outpatientCharges/components/registerDialog.vue View File

@@ -166,10 +166,10 @@
166 166
         </el-select>
167 167
       </el-form-item>
168 168
       <el-form-item label="挂号费:">
169
-        <el-input v-model.number="form.registration_fee"></el-input>
169
+        <el-input v-model="form.registration_fee"></el-input>
170 170
       </el-form-item>
171 171
       <el-form-item label="诊疗费:">
172
-        <el-input v-model.number="form.medical_expenses"></el-input>
172
+        <el-input v-model="form.medical_expenses"></el-input>
173 173
       </el-form-item>
174 174
     </el-form>
175 175
 

+ 215 - 170
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -57,136 +57,95 @@
57 57
             <div class="mainRight">
58 58
 
59 59
                 <div class="mainCell fixedCell" style="margin-bottom:10px;">
60
+                    <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 0">
60 61
                         <el-button v-loading="loadingone" size="small"
61 62
                                    @click="sz_open(1)"
63
+                                   type="primary">挂号
62 64
 
63
-                                   type="primary">深圳挂号
64 65
                         </el-button>
65 66
 
66 67
                         <el-button v-loading="loadingtwo"
67
-                                   v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3"
68
-                                   size="small"
69
-                                   @click="sz_open(2)"
70
-                                   type="primary">深圳预结算
71
-                        </el-button>
72
-
73
-
74
-                        <el-button v-loading="loadingtwo"
75
-                                   v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3"
68
+                                   v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1"
76 69
                                    size="small"
77 70
                                    @click="sz_open(3)"
78
-                                   type="primary">深圳收费
71
+                                   type="primary">收费
79 72
                         </el-button>
80 73
 
81 74
                         <el-button size="small" @click="sz_open(5)" type="primary"
75
+                                   v-if="this.order.order_status == 2"
82 76
                         >
83
-                            深圳退费
77
+                            退费
84 78
                         </el-button>
79
+                    </div>
85 80
 
86
-                        <!--<el-button size="small" @click="sz_open(8)" type="primary"-->
87
-                        <!--&gt;-->
88
-                        <!--跨月退费-->
89
-                        <!--</el-button>-->
90
-
91
-                        <el-button  size="small" @click="sz_open(6)" type="primary"
92
-                        >深圳结算单
93
-                        </el-button>
94 81
 
95
-                        <el-button
96
-                                v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 3877"
97
-                                size="small" @click="sz_open(7)" type="primary"
98
-                        >深圳撤销明细
99
-                        </el-button>
100
-
101
-
102
-
103
-                    <!-- <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">打印处置单</el-button>
104
-                    <el-button size="small" @click="open(2)" type="primary">打印治疗单</el-button> -->
105
-                    <el-button size="small" @click="open(3)" type="primary">打印</el-button>
106
-                    <el-button v-loading="loadingone" size="small"
107
-                               @click="open(6)"
108
-                               type="primary">挂号
109
-                    </el-button>
110
-
111
-                    <!--<el-button v-loading="dise_loading" size="small"-->
112
-                    <!--@click="open(15)"-->
113
-                    <!--v-if="this.hisPatientInfo && this.hisPatientInfo.id > 0 && this.order.id == 0 && this.$store.getters.xt_user.org_id == 9919 "-->
114
-                    <!--type="primary">上传就诊信息-->
82
+                    <!--<el-button size="small" @click="sz_open(8)" type="primary"-->
83
+                    <!--&gt;-->
84
+                    <!--跨月退费-->
115 85
                     <!--</el-button>-->
116 86
 
117
-
118
-                    <!--<el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"-->
119
-                    <!--@click="open(20)"-->
120
-                    <!--type="primary">预结算!-->
87
+                    <!--<el-button  size="small" @click="sz_open(6)" type="primary"-->
88
+                    <!--v-if="this.order.order_status == 2"-->
89
+                    <!--&gt;打印-->
121 90
                     <!--</el-button>-->
122 91
 
123
-                    <!--<el-button v-loading="loadingtwo" v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3" size="small"-->
124
-                    <!--@click="open(21)"-->
125
-                    <!--type="primary">收费!-->
92
+                    <!--<el-button-->
93
+                    <!--v-if="$store.getters.xt_user.org_id == 4  ||  this.$store.getters.xt_user.org_id == 3877"-->
94
+                    <!--size="small" @click="sz_open(7)" type="primary"-->
95
+                    <!--&gt;深圳撤销明细-->
126 96
                     <!--</el-button>-->
127 97
 
128 98
 
129
-                    <el-button v-loading="loadingtwo"
130
-                               v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3"
131
-                               size="small"
132
-                               @click="open(4)"
133
-                               type="primary">收费
134
-                    </el-button>
135
-
136
-                    <el-button size="small" @click="open(5)" type="primary"
137
-                               v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">
138
-                        退费
139
-                    </el-button>
99
+                    <!-- <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">打印处置单</el-button>
100
+                    <el-button size="small" @click="open(2)" type="primary">打印治疗单</el-button> -->
101
+                    <el-button size="small" @click="open(3)" type="primary">打印</el-button>
140 102
 
141
-                    <!--<el-button size="small" @click="open(5)" type="primary"-->
142
-                    <!--&gt;退费-->
143
-                    <!--</el-button>-->
144 103
 
104
+                    <div v-if="this.$store.getters.xt_user.org_id != 9504 || this.$store.getters.xt_user.org_id != 9538">
105
+                        <el-button v-loading="loadingone" size="small"
106
+                                   @click="open(6)"
107
+                                   type="primary">挂号
108
+                        </el-button>
145 109
 
146
-                    <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
147
-                    <!--&gt;对账-->
148
-                    <!--</el-button>-->
149 110
 
111
+                        <el-button v-loading="loadingtwo"
112
+                                   v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3"
113
+                                   size="small"
114
+                                   @click="open(4)"
115
+                                   type="primary">收费
116
+                        </el-button>
150 117
 
151
-                    <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(8)" type="primary"-->
152
-                    <!--&gt;明细对账-->
153
-                    <!--</el-button>-->
154
-                    <el-button v-if="this.order.order_status == 2" size="small" @click="open(9)" type="primary"
155
-                    >结算单
156
-                    </el-button>
118
+                        <el-button size="small" @click="open(5)" type="primary"
119
+                                   v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">
120
+                            退费
121
+                        </el-button>
157 122
 
158
-                    <el-button
159
-                            v-if="this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877"
160
-                            size="small" @click="open(10)" type="primary"
161
-                    >退号
162
-                    </el-button>
163 123
 
164
-                    <el-button
165
-                            v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 3877"
166
-                            size="small" @click="open(11)" type="primary"
167
-                    >撤销明细
168
-                    </el-button>
124
+                        <el-button v-if="this.order.order_status == 2" size="small" @click="open(9)" type="primary"
125
+                        >结算单
126
+                        </el-button>
169 127
 
128
+                        <el-button
129
+                                v-if="this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877"
130
+                                size="small" @click="open(10)" type="primary"
131
+                        >退号
132
+                        </el-button>
170 133
 
171
-                    <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(12)" type="primary"-->
172
-                    <!--&gt;查编码-->
173
-                    <!--</el-button>-->
134
+                        <el-button
135
+                                v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 3877"
136
+                                size="small" @click="open(11)" type="primary"
137
+                        >撤销明细
138
+                        </el-button>
174 139
 
175
-                    <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"-->
176
-                    <!--size="small" @click="open(13)" type="primary"-->
177
-                    <!--&gt;查待遇-->
140
+                    </div>
141
+                    <!--<el-button size="small" @click="query" type="primary"-->
142
+                    <!--&gt;查-->
178 143
                     <!--</el-button>-->
179 144
 
180
-                    <el-button size="small" @click="query" type="primary"
181
-                    >查询
182
-                    </el-button>
183
-
184 145
 
185 146
                 </div>
186 147
 
187 148
 
188
-
189
-
190 149
                 <div class="mainCenter" v-loading="loading">
191 150
                     <el-tabs class="settlementTabs" v-model="activeName" @tab-click="handleClick">
192 151
                         <el-tab-pane label="日结" name="first">
@@ -624,7 +583,7 @@
624 583
         }
625 584
 
626 585
         this.loadingtwo = true
627
-        if (this.$store.getters.xt_user.org_id == 0){
586
+        if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538) {
628 587
 
629 588
           var that = this
630 589
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
@@ -637,25 +596,32 @@
637 596
                 that.$refs.charge.hide()
638 597
                 return false
639 598
               } else {
640
-                that.changeRadio(2)
641
-                that.radio = 2
599
+                if (response.data.data.failed_code == -10) {
600
+
601
+                  that.$message.error(response.data.data.msg)
602
+
603
+                } else {
604
+                  that.changeRadio(2)
605
+                  that.radio = 2
606
+
607
+                  that.$refs.charge.hide()
608
+                  that.loadingtwo = false
609
+                  that.state = '已收费'
610
+                  that.$message({ message: '收费成功', type: 'success' })
611
+                  that.loadingtwo = false
612
+                  that.cal_one = this.cal_one - 1
613
+                  that.cal_two = this.cal_two + 1
614
+                  that.patientTableData.splice(this.current_index, 1)
615
+
616
+                }
642 617
 
643
-                that.$refs.charge.hide()
644
-                that.loadingtwo = false
645
-                that.state = '已收费'
646
-                that.$message({ message: '收费成功', type: 'success' })
647
-                that.loadingtwo = false
648
-                that.cal_one = this.cal_one - 1
649
-                that.cal_two = this.cal_two + 1
650
-                that.patientTableData.splice(this.current_index, 1)
651 618
               }
652 619
             })
653 620
             .catch(function(error) {
654 621
 
655 622
             })
656 623
 
657
-
658
-        }else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
624
+        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
659 625
           var that = this
660 626
           axios.get('http://127.0.0.1:9532/api/upload/get', {
661 627
             params: form
@@ -707,6 +673,8 @@
707 673
         this.$refs.charge.hide()
708 674
       },
709 675
       confirm(forms) {
676
+        console.log(forms)
677
+
710 678
         forms['record_time'] = this.record_date
711 679
         forms['admin_user_id'] = this.$store.getters.xt_user.user.id
712 680
         forms['org_id'] = this.$store.getters.xt_user.org_id
@@ -715,8 +683,8 @@
715 683
 
716 684
         var that = this
717 685
 
686
+        if (this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 4) {
718 687
 
719
-        if(this.$store.getters.xt_user.org_id == 0){
720 688
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
721 689
             params: forms
722 690
           })
@@ -727,60 +695,65 @@
727 695
                 that.$refs.register.hide()
728 696
                 return false
729 697
               } else {
730
-                that.$refs.register.hide()
731
-                let params = {
732
-                  'record_date': that.record_date
733
-                }
734
-                getChargeHisPatientList(params).then(response => {
735
-                  if (response.data.state == 0) {
736
-                    that.$message.error(response.data.msg)
737
-                    return false
738
-                  } else {
739
-                    that.loadingone = false
740
-
741
-                    that.patientTableData = []
742
-                    that.all_table_data = []
743
-                    that.hisPatientDatas = []
744
-
745
-                    let one_count = 0
746
-                    let two_count = 0
747
-                    let three_count = 0
748
-                    for (let i = 0; i < response.data.data.list.length; i++) {
749
-                      that.all_table_data.push(response.data.data.list[i])
750
-                      if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
751
-                        one_count = one_count + 1
752
-                        that.patientTableData.push(response.data.data.list[i])
753
-                      }
754
-                      if (response.data.data.list[i].order.order_status == 2) {
755
-                        two_count = two_count + 1
756
-                        that.patientTableData.push(response.data.data.list[i])
698
+                if (response.data.data.failed_code == -10) {
699
+                  that.$message.error(response.data.data.msg)
700
+                  return
701
+                } else {
702
+                  that.$refs.register.hide()
703
+                  let params = {
704
+                    'record_date': that.record_date
705
+                  }
706
+                  getChargeHisPatientList(params).then(response => {
707
+                    if (response.data.state == 0) {
708
+                      that.$message.error(response.data.msg)
709
+                      return false
710
+                    } else {
711
+                      that.loadingone = false
712
+
713
+                      that.patientTableData = []
714
+                      that.all_table_data = []
715
+                      that.hisPatientDatas = []
716
+
717
+                      let one_count = 0
718
+                      let two_count = 0
719
+                      let three_count = 0
720
+                      for (let i = 0; i < response.data.data.list.length; i++) {
721
+                        that.all_table_data.push(response.data.data.list[i])
722
+                        if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
723
+                          one_count = one_count + 1
724
+                          that.patientTableData.push(response.data.data.list[i])
725
+                        }
726
+                        if (response.data.data.list[i].order.order_status == 2) {
727
+                          two_count = two_count + 1
728
+                          that.patientTableData.push(response.data.data.list[i])
729
+                        }
757 730
                       }
758
-                    }
759
-                    that.hisPatientDatas = response.data.data.list_two
760
-                    that.cal_one = one_count
761
-                    that.cal_two = two_count
762
-                    that.cal_three = three_count
763
-                    that.current_index = 0
764
-
765
-                    for (let i = 0; i < that.patientTableData.length; i++) {
766
-                      if (this.patientTableData[i].id == this.patientInfo.id) {
767
-                        that.$refs.tab.setCurrentRow(that.patientTableData[i])
768
-                        that.getPatientInformation(that.patientTableData[i].id, that.patientTableData[i].order.number)
731
+                      that.hisPatientDatas = response.data.data.list_two
732
+                      that.cal_one = one_count
733
+                      that.cal_two = two_count
734
+                      that.cal_three = three_count
735
+                      that.current_index = 0
736
+
737
+                      for (let i = 0; i < that.patientTableData.length; i++) {
738
+                        if (this.patientTableData[i].id == this.patientInfo.id) {
739
+                          that.$refs.tab.setCurrentRow(that.patientTableData[i])
740
+                          that.getPatientInformation(that.patientTableData[i].id, that.patientTableData[i].order.number)
741
+                        }
769 742
                       }
743
+                      that.$message({ message: '挂号成功', type: 'success' })
744
+                      that.loadingone = false
745
+                      var his_info = response.data.data.his_info
746
+                      that.hisPatientInfo = his_info
770 747
                     }
771
-                    that.$message({ message: '挂号成功', type: 'success' })
772
-                    that.loadingone = false
773
-                    var his_info = response.data.data.his_info
774
-                    that.hisPatientInfo = his_info
775
-                  }
776
-                })
748
+                  })
749
+                }
777 750
               }
778 751
             })
779 752
             .catch(function(error) {
780 753
 
781 754
             })
782 755
 
783
-        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877 ) {
756
+        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
784 757
 
785 758
           axios.get('http://127.0.0.1:9532/api/register/get', {
786 759
             params: forms
@@ -1327,7 +1300,9 @@
1327 1300
           let obj = {
1328 1301
             record_date: this.record_date,
1329 1302
             patient_id: this.patient_id,
1330
-            prescription_id: this.prescription_id
1303
+            prescription_id: this.prescription_id,
1304
+            order_id: this.order.id
1305
+
1331 1306
           }
1332 1307
           this.paramsObj = obj
1333 1308
           this.treatVisible = true
@@ -1501,7 +1476,6 @@
1501 1476
                   return false
1502 1477
                 } else {
1503 1478
 
1504
-
1505 1479
                 }
1506 1480
               })
1507 1481
               .catch(function(error) {
@@ -2418,11 +2392,21 @@
2418 2392
             break
2419 2393
           case 2:
2420 2394
             var that = this
2395
+            if (this.activeName == 'first') {
2396
+              this.settle_accounts_type = 1
2397
+
2398
+            } else {
2399
+              this.settle_accounts_type = 2
2400
+              this.start_time = this.other_start_time
2401
+              this.end_time = this.other_end_time
2402
+              this.settle_accounts_type = 2
2403
+
2404
+            }
2421 2405
             let params = {
2422 2406
               'patient_id': this.patientInfo.id,
2423 2407
               'record_time': this.record_date,
2424
-              'settle_accounts_type':this.settle_accounts_type,
2425
-              'admin_user_id': this.$store.getters.xt_user.user.id,
2408
+              'settle_accounts_type': this.settle_accounts_type,
2409
+              'admin_user_id': this.$store.getters.xt_user.user.id
2426 2410
             }
2427 2411
             axios.get('http://127.0.0.1:9532/sz/api/upload/get', {
2428 2412
               params: params
@@ -2430,12 +2414,17 @@
2430 2414
               .then(function(response) {
2431 2415
                 if (response.data.state == 0) {
2432 2416
                   that.$message.error(response.data.msg)
2433
-                  that.loadingtwo = false
2434 2417
                   return false
2435 2418
                 } else {
2436
-                  that.changeRadio(1)
2437
-                  that.$message({ message: '预结算成功', type: 'success' })
2438
-                  that.loadingtwo = false
2419
+
2420
+                  if (response.data.data.failed_code == -10) {
2421
+                    that.$message.error(response.data.data.msg)
2422
+
2423
+                  } else {
2424
+                    that.changeRadio(1)
2425
+                    that.$message({ message: '预结算成功', type: 'success' })
2426
+                  }
2427
+
2439 2428
                 }
2440 2429
               })
2441 2430
               .catch(function(error) {
@@ -2457,19 +2446,26 @@
2457 2446
               cancelButtonText: '取 消',
2458 2447
               type: 'warning'
2459 2448
             }).then(() => {
2460
-
2461 2449
               axios.get('http://127.0.0.1:9532/sz/api/refund/get', {
2462
-                params: {}
2450
+                params: {
2451
+                  order_id: this.order.id,
2452
+                  record_time: this.record_date,
2453
+                  admin_user_id: this.$store.getters.xt_user.user.id,
2454
+                  patient_id: this.patientInfo.id
2455
+                }
2463 2456
               })
2464 2457
                 .then(function(response) {
2465 2458
                   if (response.data.state == 0) {
2466 2459
                     that.$message.error(response.data.msg)
2467
-                    that.loadingtwo = false
2468 2460
                     return false
2469 2461
                   } else {
2470
-                    that.changeRadio(1)
2471
-                    that.$message({ message: '退费成功', type: 'success' })
2472
-                    that.loadingtwo = false
2462
+                    if (response.data.data.failed_code == -10) {
2463
+                      that.$message.error(response.data.data.msg)
2464
+
2465
+                    } else {
2466
+                      that.changeRadio(1)
2467
+                      that.$message({ message: '退费成功', type: 'success' })
2468
+                    }
2473 2469
                   }
2474 2470
                 })
2475 2471
                 .catch(function(error) {
@@ -2480,23 +2476,72 @@
2480 2476
           case 6:
2481 2477
             var that = this
2482 2478
             axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
2483
-              params: {}
2479
+              params: {
2480
+                order_id: this.order.id,
2481
+                record_time: this.record_date,
2482
+                admin_user_id: this.$store.getters.xt_user.user.id,
2483
+                patient_id: this.patientInfo.id
2484
+
2485
+              }
2484 2486
             })
2485 2487
               .then(function(response) {
2486 2488
                 if (response.data.state == 0) {
2487 2489
                   that.$message.error(response.data.msg)
2488
-                  that.loadingtwo = false
2489 2490
                   return false
2490 2491
                 } else {
2491
-                  that.changeRadio(1)
2492
-                  that.$message({ message: '查询成功', type: 'success' })
2493
-                  that.loadingtwo = false
2492
+                  if (response.data.data.failed_code == -10) {
2493
+
2494
+                    that.$message.error(response.data.data.msg)
2495
+
2496
+                  } else {
2497
+                    if (response.data.data.failed_code == -10) {
2498
+                      that.$message.error(response.data.data.msg)
2499
+
2500
+                    } else {
2501
+                      that.$message({ message: '查询成功', type: 'success' })
2502
+
2503
+                    }
2504
+
2505
+                  }
2494 2506
                 }
2495 2507
               })
2496 2508
               .catch(function(error) {
2497 2509
               })
2498 2510
             break
2499 2511
           case 7:
2512
+            var that = this
2513
+            axios.get('http://127.0.0.1:9532/sz/api/detail/cancel', {
2514
+              params: {
2515
+                order_id: this.order.id,
2516
+                record_time: this.record_date,
2517
+                admin_user_id: this.$store.getters.xt_user.user.id,
2518
+                patient_id: this.patientInfo.id
2519
+
2520
+              }
2521
+            })
2522
+              .then(function(response) {
2523
+                if (response.data.state == 0) {
2524
+                  that.$message.error(response.data.msg)
2525
+                  return false
2526
+                } else {
2527
+                  if (response.data.data.failed_code == -10) {
2528
+
2529
+                    that.$message.error(response.data.data.msg)
2530
+
2531
+                  } else {
2532
+                    if (response.data.data.failed_code == -10) {
2533
+                      that.$message.error(response.data.data.msg)
2534
+
2535
+                    } else {
2536
+                      that.$message({ message: '明细撤销成功', type: 'success' })
2537
+
2538
+                    }
2539
+
2540
+                  }
2541
+                }
2542
+              })
2543
+              .catch(function(error) {
2544
+              })
2500 2545
             break
2501 2546
 
2502 2547
         }

+ 2 - 2
src/xt_pages/outpatientCharges/template/printOne.vue View File

@@ -35,7 +35,7 @@
35 35
             <p>核对:</p>
36 36
             <p>发药:</p>
37 37
             <p>药费:</p>
38
-        </div>
38
+        </div> b
39 39
     </div>
40 40
 </template>
41 41
 
@@ -97,7 +97,7 @@
97 97
 }
98 98
 .actionBar{
99 99
     display: flex;
100
-    justify-content: space-between; 
100
+    justify-content: space-between;
101 101
     line-height: 24px;
102 102
     padding:0 10px;
103 103
 }

+ 465 - 179
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue View File

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