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
27154285d9

+ 257 - 133
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

29
           </el-radio-group>
29
           </el-radio-group>
30
         </div>
30
         </div>
31
         <div class="mainCell" style="margin-bottom:10px;">
31
         <div class="mainCell" style="margin-bottom:10px;">
32
+          <el-input size="small" v-model="key" class="filter-item"/>
33
+
32
           <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
34
           <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
33
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
35
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
34
             搜索
36
             搜索
69
           </el-button>
71
           </el-button>
70
 
72
 
71
 
73
 
72
-          <el-button size="small" @click="open(7)" type="primary"
73
-          >对账
74
-          </el-button>
74
+          <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
75
+          <!--&gt;对账-->
76
+          <!--</el-button>-->
75
 
77
 
76
 
78
 
77
-          <el-button size="small" @click="open(8)" type="primary"
78
-          >明细对账
79
-          </el-button>
80
-          <el-button size="small" @click="open(9)" type="primary"
79
+          <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(8)" type="primary"-->
80
+          <!--&gt;明细对账-->
81
+          <!--</el-button>-->
82
+          <el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(9)" type="primary"
81
           >结算单
83
           >结算单
82
           </el-button>
84
           </el-button>
85
+
86
+          <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(10)" type="primary"-->
87
+          <!--&gt;退号-->
88
+          <!--</el-button>-->
89
+
90
+          <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(11)" type="primary"-->
91
+          <!--&gt;撤销明细-->
92
+          <!--</el-button>-->
93
+
94
+
95
+          <!--<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"-->
96
+          <!--&gt;查编码-->
97
+          <!--</el-button>-->
98
+
99
+          <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(13)" type="primary"-->
100
+          <!--&gt;查待遇-->
101
+          <!--</el-button>-->
102
+
103
+
83
         </div>
104
         </div>
84
 
105
 
85
         <div class="mainCenter">
106
         <div class="mainCenter">
157
               </div>
178
               </div>
158
             </el-tab-pane>
179
             </el-tab-pane>
159
             <!--<el-tab-pane label="月结" name="second">-->
180
             <!--<el-tab-pane label="月结" name="second">-->
160
-            <!--<div style="display:flex;height:100%;">-->
161
-            <!--<div class="centerLeft">-->
162
-            <!--<div class="tabsBox">-->
163
-            <!--&lt;!&ndash;<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>&ndash;&gt;-->
164
-            <!--<el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>-->
165
-            <!--<el-tab-pane-->
166
-            <!--v-for="(item, index) in editableTabs"-->
167
-            <!--:key="index"-->
168
-            <!--:label="item.title"-->
169
-            <!--:name="item.name"-->
170
-            <!--&gt;-->
171
-            <!--<div class="RP">-->
172
-            <!--Rp-->
173
-            <!--<el-date-picker-->
174
-            <!--style="width:420px;"-->
175
-            <!--v-model="value1"-->
176
-            <!--type="daterange"-->
177
-            <!--range-separator="至"-->
178
-            <!--start-placeholder="开始日期"-->
179
-            <!--end-placeholder="结束日期">-->
180
-            <!--</el-date-picker>-->
181
-            <!--</div>-->
182
-            <!--<prescription-table :preTableData='preTableData'></prescription-table>-->
183
-            <!--</el-tab-pane>-->
184
-            <!--&lt;!&ndash;<el-tab-pane name="more" closable><span slot="label"><i class="el-icon-plus" @click="addTab"></i></span></el-tab-pane>&ndash;&gt;-->
185
-            <!--</el-tabs>-->
186
-
187
-            <!--</div>-->
188
-            <!--<div class="costBox">-->
189
-            <!--<span>处方编号:2134348971237883</span>-->
190
-            <!--<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>-->
191
-            <!--<span>{{ state }}</span>-->
192
-            <!--</div>-->
193
-            <!--</div>-->
194
-            <!--<div class="centerRight">-->
195
-            <!--<p class="centerRightTitle">人员信息</p>-->
196
-            <!--<div style="display:flex;justify-content: space-between;line-height:30px;">-->
197
-            <!--<span style="font-size:14px;">人员编码:</span>-->
198
-            <!--<span style="font-size:14px;">日期:{{start_time}}</span>-->
199
-            <!--</div>-->
200
-            <!--<ul class="basicUl">-->
201
-            <!--<li style="width:50%;">姓名:{{ patientInfo.name }}</li>-->
202
-            <!--<li style="width:50%;">性别:{{ patientInfo && patientInfo.gend == 1 ? '男' : "女" }}</li>-->
203
-            <!--<li style="width:50%;">年龄:{{ patientInfo.age }}</li>-->
204
-            <!--<li style="width:50%;">身高:</li>-->
205
-            <!--<li style="width:50%;">体重:</li>-->
206
-            <!--<li style="width:50%;">电话:</li>-->
207
-            <!--<li style="width:100%;">地址:</li>-->
208
-            <!--<li style="width:100%;">过敏史:</li>-->
209
-            <!--</ul>-->
210
-            <!--<p class="centerRightTitle">诊断信息</p>-->
211
-            <!--<div style="display:flex;justify-content: space-between;line-height:30px;">-->
212
-            <!--<span style="font-size:14px;">门诊编号:676273816287361</span>-->
213
-            <!--</div>-->
214
-            <!--<ul class="basicUl">-->
215
-            <!--<li style="width:50%;">医生:{{ doctor.name }}</li>-->
216
-            <!--<li style="width:50%;">科室:{{ doctor.department }}</li>-->
217
-            <!--<li style="width:100%;">费用:{{ doctor.total }}元</li>-->
218
-            <!--<li style="width:100%;">判断结果:</li>-->
219
-            <!--<li style="width:100%;">是否有传染病:</li>-->
220
-            <!--<li style="width:100%;">血压:</li>-->
221
-            <!--</ul>-->
222
-            <!--</div>-->
223
-            <!--</div>-->
181
+              <!--<div style="display:flex;height:100%;">-->
182
+                <!--<div class="centerLeft">-->
183
+                  <!--<div class="tabsBox">-->
184
+                    <!--&lt;!&ndash;<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>&ndash;&gt;-->
185
+                    <!--<el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>-->
186
+
187
+                      <!--<el-tab-pane-->
188
+                        <!--v-for="(item, index) in month_prescriptions"-->
189
+                        <!--:key="index"-->
190
+                        <!--:label="item.name"-->
191
+                        <!--:name="item.name"-->
192
+                      <!--&gt;-->
193
+                      <!--</el-tab-pane>-->
194
+
195
+                      <!--<div class="RP">-->
196
+                        <!--Rp-->
197
+                        <!--<el-date-picker-->
198
+                          <!--v-model="other_start_time"-->
199
+                          <!--prefix-icon="el-icon-date"-->
200
+                          <!--@change="changeTime"-->
201
+                          <!--:editable="false"-->
202
+                          <!--style="width: 150px;"-->
203
+                          <!--type="date"-->
204
+                          <!--:picker-options="pickerOptions"-->
205
+                          <!--placeholder="选择开始时间"-->
206
+                          <!--align="right"-->
207
+                          <!--format="yyyy-MM-dd"-->
208
+                          <!--value-format="yyyy-MM-dd"-->
209
+                        <!--&gt;</el-date-picker>-->
210
+                        <!--<span class>-</span>-->
211
+                        <!--<el-date-picker-->
212
+                          <!--v-model="other_end_time"-->
213
+                          <!--prefix-icon="el-icon-date"-->
214
+                          <!--@change="changeEndTime"-->
215
+                          <!--:editable="false"-->
216
+                          <!--style="width: 150px;"-->
217
+                          <!--type="date"-->
218
+                          <!--placeholder="选择结束时间"-->
219
+                          <!--align="right"-->
220
+                          <!--format="yyyy-MM-dd"-->
221
+                          <!--value-format="yyyy-MM-dd"-->
222
+                        <!--&gt;</el-date-picker>-->
223
+                      <!--</div>-->
224
+                      <!--&lt;!&ndash;<prescription-table :preTableData='preTableData'></prescription-table>&ndash;&gt;-->
225
+                    <!--</el-tabs>-->
226
+
227
+                  <!--</div>-->
228
+                  <!--&lt;!&ndash;<div class="costBox">&ndash;&gt;-->
229
+                    <!--&lt;!&ndash;<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>&ndash;&gt;-->
230
+                    <!--&lt;!&ndash;<span>{{ state }}</span>&ndash;&gt;-->
231
+                  <!--&lt;!&ndash;</div>&ndash;&gt;-->
232
+                <!--</div>-->
233
+              <!--</div>-->
224
             <!--</el-tab-pane>-->
234
             <!--</el-tab-pane>-->
225
           </el-tabs>
235
           </el-tabs>
226
 
236
 
284
     },
294
     },
285
     data() {
295
     data() {
286
       return {
296
       return {
297
+        key: "",
298
+        other_start_time:"",
299
+        other_end_time:"",
287
         crumbs: [
300
         crumbs: [
288
           {path: false, name: '门诊收费'},
301
           {path: false, name: '门诊收费'},
289
           {path: false, name: '门诊收费管理'}
302
           {path: false, name: '门诊收费管理'}
298
         info: {},
311
         info: {},
299
         curPrescriptions: {},
312
         curPrescriptions: {},
300
         prescriptions: [],
313
         prescriptions: [],
314
+        month_prescriptions: [],
315
+
301
         record_date: '',
316
         record_date: '',
302
         tableData: [],
317
         tableData: [],
303
         editableTabsValue: '处方1',
318
         editableTabsValue: '处方1',
327
         order: {},
342
         order: {},
328
         addtions_charge: [],
343
         addtions_charge: [],
329
         treatVisible: false,
344
         treatVisible: false,
330
-        orderObj:{
331
-        },
332
-        paramsObj: {
333
-        },
334
-        statementVisible:false
345
+        orderObj: {},
346
+        paramsObj: {},
347
+        statementVisible: false
335
       }
348
       }
336
     },
349
     },
337
     created() {
350
     created() {
352
       this.getPatientList()
365
       this.getPatientList()
353
     },
366
     },
354
     methods: {
367
     methods: {
355
-      chargeConfirm(form) {
368
+      changeTime(val){
369
+        this.other_start_time = val
370
+
371
+
372
+      },changeEndTime(val){
373
+        this.other_end_time = val
374
+
375
+
376
+
377
+      }, chargeConfirm(form) {
378
+
356
         form['id'] = this.patientInfo.id
379
         form['id'] = this.patientInfo.id
357
         form['record_time'] = this.record_date
380
         form['record_time'] = this.record_date
381
+        if(this.activeName == 'first'){
382
+          form['settle_accounts_type'] = 1
383
+        }else {
384
+          form['start_time'] = this.other_start_time
385
+          form['end_time'] = this.other_end_time
386
+          form['settle_accounts_type'] = 2
387
+        }
388
+
358
         this.loadingtwo = true
389
         this.loadingtwo = true
359
-        if (this.$store.getters.xt_user.org_id == 4) {
360
-         var  that = this
390
+        if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
391
+          var that = this
361
           axios.get('http://127.0.0.1:9532/api/upload/get', {
392
           axios.get('http://127.0.0.1:9532/api/upload/get', {
362
             params: form
393
             params: form
363
           })
394
           })
368
                 that.$refs.charge.hide()
399
                 that.$refs.charge.hide()
369
                 return false
400
                 return false
370
               } else {
401
               } else {
402
+                that.changeRadio(2)
371
                 that.$refs.charge.hide()
403
                 that.$refs.charge.hide()
372
                 that.loadingtwo = false
404
                 that.loadingtwo = false
373
                 that.state = '已收费'
405
                 that.state = '已收费'
381
             .catch(function (error) {
413
             .catch(function (error) {
382
 
414
 
383
             });
415
             });
384
-        }
385
-        else {
416
+        } else {
386
           upload(form).then(response => {
417
           upload(form).then(response => {
387
             if (response.data.state == 0) {
418
             if (response.data.state == 0) {
388
               this.$message.error(response.data.msg)
419
               this.$message.error(response.data.msg)
411
           forms['record_time'] = this.record_date,
442
           forms['record_time'] = this.record_date,
412
           this.loadingone = true
443
           this.loadingone = true
413
 
444
 
414
-        if (this.$store.getters.xt_user.org_id == 4) {
415
-          var  that = this
445
+        if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
446
+          var that = this
416
 
447
 
417
           axios.get('http://127.0.0.1:9532/api/register/get', {
448
           axios.get('http://127.0.0.1:9532/api/register/get', {
418
             params: forms
449
             params: forms
652
           // this.$router.push('/outpatientCharges/treatPrint?record_date=' + this.record_date + '&patient_id=' + this.patient_id + '&prescription_id=' + this.prescription_id)
683
           // this.$router.push('/outpatientCharges/treatPrint?record_date=' + this.record_date + '&patient_id=' + this.patient_id + '&prescription_id=' + this.prescription_id)
653
         } else if (index == 4) {
684
         } else if (index == 4) {
654
 
685
 
655
-          if (this.hisPatientInfo.id == 0) {
656
-            this.$message({message: '该患者尚未挂号,请先挂号', type: 'error'})
657
-            return
658
-          }
686
+          // if (this.hisPatientInfo.id == 0) {
687
+          //   this.$message({message: '该患者尚未挂号,请先挂号', type: 'error'})
688
+          //   return
689
+          // }
659
 
690
 
660
           this.$refs.charge.show(this.getTotal())
691
           this.$refs.charge.show(this.getTotal())
661
 
692
 
662
 
693
 
663
         } else if (index == 5) {
694
         } else if (index == 5) {
664
-          if (this.$store.getters.xt_user.org_id == 4) {
695
+          if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
696
+
665
             var that = this
697
             var that = this
666
             this.$confirm('是否退费', '退费', {
698
             this.$confirm('是否退费', '退费', {
667
               confirmButtonText: '确 定',
699
               confirmButtonText: '确 定',
684
                     that.loadingtwo = false
716
                     that.loadingtwo = false
685
                     return false
717
                     return false
686
                   } else {
718
                   } else {
719
+                    that.changeRadio(1)
687
                     that.$message({message: '退费成功', type: 'success'})
720
                     that.$message({message: '退费成功', type: 'success'})
688
                     that.loadingtwo = false
721
                     that.loadingtwo = false
689
 
722
 
742
 
775
 
743
 
776
 
744
         } else if (index == 7) {
777
         } else if (index == 7) {
745
-          let params={
746
-            start_time:"2020-12-28",
747
-            end_time:"2020-12-30",
748
-            insutype:"390",
749
-            clr_type:"11",
778
+          let params = {
779
+            start_time: "2020-12-28",
780
+            end_time: "2020-12-30",
781
+            insutype: "390",
782
+            clr_type: "11",
750
           }
783
           }
751
 
784
 
752
           var that = this
785
           var that = this
753
 
786
 
754
-          if (this.$store.getters.xt_user.org_id == 4) {
787
+          if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
755
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
788
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
756
               params: params
789
               params: params
757
             })
790
             })
773
           }
806
           }
774
 
807
 
775
         } else if (index == 8) {
808
         } else if (index == 8) {
776
-          let params={
777
-            start_time:"2020-12-28",
778
-            end_time:"2020-12-30",
809
+          let params = {
810
+            start_time: "2020-12-28",
811
+            end_time: "2020-12-30",
779
           }
812
           }
780
           var that = this
813
           var that = this
781
           axios.get('http://127.0.0.1:9532/api/checkdetailaccount/get', {
814
           axios.get('http://127.0.0.1:9532/api/checkdetailaccount/get', {
795
             });
828
             });
796
 
829
 
797
 
830
 
798
-
799
-        } else if (index == 9){
831
+        } else if (index == 9) {
800
           this.statementVisible = true
832
           this.statementVisible = true
801
           let obj = {
833
           let obj = {
802
-            order_id:this.order.id
834
+            order_id: this.order.id
803
           }
835
           }
804
           this.orderObj = obj
836
           this.orderObj = obj
805
           // this.$refs.print.getInfo(this.order.id)
837
           // this.$refs.print.getInfo(this.order.id)
806
 
838
 
807
 
839
 
840
+        } else if (index == 10) {
841
+          let params = {
842
+
843
+            'patient_id': this.patientInfo.id,
844
+            'record_time': this.record_date,
845
+          }
846
+          axios.get('http://127.0.0.1:9532/api/refundnumber/post', {
847
+            params: params
848
+          })
849
+            .then(function (response) {
850
+              if (response.data.state == 0) {
851
+                that.$message.error(response.data.msg)
852
+                that.loadingtwo = false
853
+                return false
854
+              } else {
855
+                that.$message({message: '退号成功', type: 'success'})
856
+                that.loadingtwo = false
857
+              }
858
+            })
859
+            .catch(function (error) {
860
+            });
861
+        } else if (index == 11) {
862
+          let params = {
863
+            'order_id': this.order.id,
864
+            'number': this.order.number,
865
+            'patient_id': this.patientInfo.id,
866
+            'record_time': this.record_date,
867
+          }
868
+          axios.get('http://127.0.0.1:9532/api/refunddetail/post', {
869
+            params: params
870
+          })
871
+            .then(function (response) {
872
+              if (response.data.state == 0) {
873
+                that.$message.error(response.data.msg)
874
+                that.loadingtwo = false
875
+                return false
876
+              } else {
877
+                that.$message({message: '退号成功', type: 'success'})
878
+                that.loadingtwo = false
879
+              }
880
+            })
881
+            .catch(function (error) {
882
+            });
883
+
884
+        } else if (index == 12) {
885
+          let params = {
886
+            'name': "琥珀酸亚铁片",
887
+            'codg': "XB03AAH026A001010104942"
888
+          }
889
+          axios.get('http://127.0.0.1:9532/api/code/get', {
890
+            params: params
891
+          })
892
+            .then(function (response) {
893
+              if (response.data.state == 0) {
894
+                that.$message.error(response.data.msg)
895
+                that.loadingtwo = false
896
+                return false
897
+              } else {
898
+
899
+                that.loadingtwo = false
900
+              }
901
+            })
902
+            .catch(function (error) {
903
+            });
904
+
905
+        } else if (index == 13) {
906
+          let params = {
907
+            'id': this.patientInfo.id,
908
+            'record_time': this.record_date,
909
+          }
910
+          axios.get('http://127.0.0.1:9532/api/record/put', {
911
+            params: params
912
+          })
913
+            .then(function (response) {
914
+              if (response.data.state == 0) {
915
+                that.$message.error(response.data.msg)
916
+                that.loadingtwo = false
917
+                return false
918
+              } else {
919
+                that.loadingtwo = false
920
+              }
921
+            })
922
+            .catch(function (error) {
923
+            });
808
         }
924
         }
809
       },
925
       },
810
 
926
 
833
             let two_count = 0
949
             let two_count = 0
834
             let three_count = 0
950
             let three_count = 0
835
             for (let i = 0; i < response.data.data.list.length; i++) {
951
             for (let i = 0; i < response.data.data.list.length; i++) {
836
-              console.log('99999999', response.data.data.list)
837
 
952
 
838
               if (response.data.data.list[i].info.prescription_status == 0 || response.data.data.list[i].info.prescription_status == 1 || response.data.data.list[i].info.prescription_status == 2) {
953
               if (response.data.data.list[i].info.prescription_status == 0 || response.data.data.list[i].info.prescription_status == 1 || response.data.data.list[i].info.prescription_status == 2) {
839
                 if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
954
                 if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
1008
 
1123
 
1009
             this.prescriptions = []
1124
             this.prescriptions = []
1010
             console.log("9991323242r5253535", response.data.data.prescription)
1125
             console.log("9991323242r5253535", response.data.data.prescription)
1011
-            if( response.data.data.prescription[0].advices.length > 0 ) {
1126
+            if (response.data.data.prescription[0].advices.length > 0) {
1012
               this.prescription_id = response.data.data.prescription[0].advices[0].prescription_id
1127
               this.prescription_id = response.data.data.prescription[0].advices[0].prescription_id
1013
-            }else{
1128
+            } else {
1014
               this.prescription_id = 0
1129
               this.prescription_id = 0
1015
             }
1130
             }
1016
             for (let i = 0; i < response.data.data.prescription.length; i++) {
1131
             for (let i = 0; i < response.data.data.prescription.length; i++) {
1054
                   price: prescription.project[b].price,
1169
                   price: prescription.project[b].price,
1055
                   remark: prescription.project[b].remark,
1170
                   remark: prescription.project[b].remark,
1056
                   medical_code: prescription.project[b].project.medical_code,
1171
                   medical_code: prescription.project[b].project.medical_code,
1057
-                  unit:prescription.project[b].project.unit
1172
+                  unit: prescription.project[b].project.unit
1058
                 }
1173
                 }
1059
                 tempProject.push(obj)
1174
                 tempProject.push(obj)
1060
               }
1175
               }
1128
     height: 100%;
1243
     height: 100%;
1129
     display: flex;
1244
     display: flex;
1130
     flex-direction: column;
1245
     flex-direction: column;
1131
-    .mainLeft {
1132
-      width: 200px;
1133
-      height: 100%;
1134
-      display: flex;
1135
-      flex-direction: column;
1136
-      padding-top: 20px;
1137
-    .el-radio {
1138
-      margin-right: 5px;
1139
-    }
1246
+
1247
+  .mainLeft {
1248
+    width: 200px;
1249
+    height: 100%;
1250
+    display: flex;
1251
+    flex-direction: column;
1252
+    padding-top: 20px;
1253
+
1254
+  .el-radio {
1255
+    margin-right: 5px;
1256
+  }
1257
+
1140
   }
1258
   }
1141
   .mainCell {
1259
   .mainCell {
1142
     height: 36px;
1260
     height: 36px;
1265
     /* line-height: 38px;
1383
     /* line-height: 38px;
1266
     text-indent: 5px; */
1384
     text-indent: 5px; */
1267
     font-size: 14px;
1385
     font-size: 14px;
1268
-    display:flex;
1269
-    align-items:center;
1270
-    padding:5px;
1271
-    box-sizing:border-box;
1386
+    display: flex;
1387
+    align-items: center;
1388
+    padding: 5px;
1389
+    box-sizing: border-box;
1272
   }
1390
   }
1273
 
1391
 
1274
   }
1392
   }
1277
 
1395
 
1278
 <style lang="scss">
1396
 <style lang="scss">
1279
   #tab-more {
1397
   #tab-more {
1280
-    .el-icon-close {
1281
-      display: none;
1282
-    }
1398
+
1399
+  .el-icon-close {
1400
+    display: none;
1401
+  }
1402
+
1283
   }
1403
   }
1284
   .settlementTabs {
1404
   .settlementTabs {
1285
-    .el-tabs__content {
1286
-      height: 90%;
1287
-    }
1405
+
1406
+  .el-tabs__content {
1407
+    height: 90%;
1408
+  }
1409
+
1288
   }
1410
   }
1289
   .preTabs {
1411
   .preTabs {
1290
 
1412
 
1291
-    .el-tabs__content {
1292
-      flex: 1;
1293
-      overflow-y: auto;
1294
-      padding: 5px 0 5px 5px;
1295
-    }
1413
+  .el-tabs__content {
1414
+    flex: 1;
1415
+    overflow-y: auto;
1416
+    padding: 5px 0 5px 5px;
1417
+  }
1296
 
1418
 
1297
   }
1419
   }
1298
-  .centerDialog{
1299
-    .el-dialog__body{
1300
-      max-height: calc(100vh - 100px) !important;
1301
-      padding: 0 20px;
1302
-    }
1420
+  .centerDialog {
1421
+
1422
+  .el-dialog__body {
1423
+    max-height: calc(100vh - 100px) !important;
1424
+    padding: 0 20px;
1425
+  }
1426
+
1303
   }
1427
   }
1304
 </style>
1428
 </style>
1305
 
1429
 

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

68
             </tr>
68
             </tr>
69
             <tr>
69
             <tr>
70
                 <td>业务类别</td>
70
                 <td>业务类别</td>
71
-                <td colspan="5" style="text-align:left;padding-left:10px;">普通门诊</td>
72
-                <td>结算时间</td>
71
+                <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
72
+                 <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
73
+                <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
74
+                <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊特殊病</td>
75
+                <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
76
+                <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>
77
+              <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
78
+
79
+              <td>结算时间</td>
73
                 <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time}}</td>
80
                 <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time}}</td>
74
             </tr>
81
             </tr>
75
             <tr>
82
             <tr>