浏览代码

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

csx 3 年前
父节点
当前提交
6b5b116742

+ 2 - 1
src/xt_pages/data/prescription.vue 查看文件

@@ -1167,7 +1167,8 @@ export default {
1167 1167
     this.body_fluid_option = this.$store.getters.body_fluid;
1168 1168
     this.special_medicine_option = this.$store.getters.special_medicine;
1169 1169
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1170
-    this.blood_access_option = this.$store.getters.blood_access;
1170
+    this.blood_access_option = this.$store.getters.vascular_access_desc;
1171
+    console.log("列表33333333血管通路",this.blood_access_option)
1171 1172
     this.addPlan.mode = 1;
1172 1173
     this.dialyzerPerfusionApparatus = getDataConfig(
1173 1174
       'hemodialysis',

+ 19 - 83
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

@@ -984,18 +984,10 @@
984 984
                           <td width="50">跨膜压<br />(mmHg)</td>
985 985
                           <td width="60" v-if="org_id != 9836">透析液温度(°C)</td>
986 986
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
987
-                          <td width="60">透析液温度(°C)</td>
988 987
                           <td width="50">电导度<br />(ms/cm)</td>
989 988
                           <td width="50">超滤量<br />(ml)</td>
990
-                          <td
991
-                            v-if="
992
-                              record.prescription.mode_id == 2 ||
993
-                                record.prescription.mode_id == 5 ||
994
-                                record.prescription.mode_id == 12
995
-                            "
996
-                            width="50"
997
-                          >
998
-                            置换量<br />(ml)
989
+                          <td v-if="record.prescription.mode_id == 2 || record.prescription.mode_id == 5 || record.prescription.mode_id == 12"
990
+                            width="50">置换量<br />(ml)
999 991
                           </td>
1000 992
                           <td width="200">病情变化及处理</td>
1001 993
                         </tr>
@@ -1003,95 +995,41 @@
1003 995
                           v-for="(monitor_record, j) in record.monitor_records"
1004 996
                           :key="j"
1005 997
                         >
998
+                          <td>{{ getTime(monitor_record.operate_time, "{h}:{i}")}}</td>
1006 999
                           <td>
1007
-                            {{
1008
-                              getTime(monitor_record.operate_time, "{h}:{i}")
1009
-                            }}
1000
+                            {{monitor_record.systolic_blood_pressure? monitor_record.systolic_blood_pressure + "/": ""}}{{
1001
+                              monitor_record.diastolic_blood_pressure? monitor_record.diastolic_blood_pressure: ""}}
1010 1002
                           </td>
1011 1003
                           <td>
1012
-                            {{
1013
-                              monitor_record.systolic_blood_pressure
1014
-                                ? monitor_record.systolic_blood_pressure + "/"
1015
-                                : ""
1016
-                            }}{{
1017
-                              monitor_record.diastolic_blood_pressure
1018
-                                ? monitor_record.diastolic_blood_pressure
1019
-                                : ""
1020
-                            }}
1004
+                            {{ monitor_record.pulse_frequency? monitor_record.pulse_frequency: ""}}
1021 1005
                           </td>
1022 1006
                           <td>
1023
-                            {{
1024
-                              monitor_record.pulse_frequency
1025
-                                ? monitor_record.pulse_frequency
1026
-                                : ""
1027
-                            }}
1007
+                            {{monitor_record.breathing_rate? monitor_record.breathing_rate: ""}}
1028 1008
                           </td>
1029 1009
                           <td>
1030
-                            {{
1031
-                              monitor_record.breathing_rate
1032
-                                ? monitor_record.breathing_rate
1033
-                                : ""
1034
-                            }}
1010
+                            {{monitor_record.blood_flow_volume? monitor_record.blood_flow_volume: ""}}
1035 1011
                           </td>
1036 1012
                           <td>
1037
-                            {{
1038
-                              monitor_record.blood_flow_volume
1039
-                                ? monitor_record.blood_flow_volume
1040
-                                : ""
1041
-                            }}
1013
+                            {{monitor_record.venous_pressure? monitor_record.venous_pressure: ""}}
1042 1014
                           </td>
1043 1015
                           <td>
1044
-                            {{
1045
-                              monitor_record.venous_pressure
1046
-                                ? monitor_record.venous_pressure
1047
-                                : ""
1048
-                            }}
1049
-                          </td>
1050
-                          <td>
1051
-                            {{
1052
-                              monitor_record.transmembrane_pressure
1053
-                                ? monitor_record.transmembrane_pressure
1054
-                                : ""
1016
+                            {{monitor_record.transmembrane_pressure? monitor_record.transmembrane_pressure: ""
1055 1017
                             }}
1056 1018
                           </td>
1057 1019
                           <td v-if="org_id != 9836">
1058
-                            {{
1059
-                              monitor_record.dialysate_temperature
1060
-                                ? monitor_record.dialysate_temperature
1061
-                                : ""
1062
-                            }}
1020
+                            {{monitor_record.dialysate_temperature? monitor_record.dialysate_temperature: ""}}
1063 1021
                           </td>
1064 1022
                           <td v-if="org_id == 9836">
1065
-                            {{
1066
-                              monitor_record.temperature
1067
-                                ? monitor_record.temperature
1068
-                                : ""
1069
-                            }}
1023
+                            {{monitor_record.temperature? monitor_record.temperature: ""}}
1070 1024
                           </td>
1071 1025
                           <td>
1072
-                            {{
1073
-                              monitor_record.sodium_concentration
1074
-                                ? monitor_record.sodium_concentration
1075
-                                : ""
1076
-                            }}
1026
+                            {{monitor_record.sodium_concentration? monitor_record.sodium_concentration: ""}}
1077 1027
                           </td>
1078 1028
                           <td>
1079 1029
                             {{
1080
-                              monitor_record.ultrafiltration_volume
1081
-                                ? monitor_record.ultrafiltration_volume
1082
-                                : 0
1083
-                            }}
1030
+                              monitor_record.ultrafiltration_volume? monitor_record.ultrafiltration_volume: ""}}
1084 1031
                           </td>
1085
-                          <td
1086
-                            v-if="
1087
-                              record.prescription.mode_id == 2 ||
1088
-                                record.prescription.mode_id == 5 ||
1089
-                                (record.prescription.mode_id == 12 &&
1090
-                                  monitor_record.operate_time >
1091
-                                    record.dialysis_order.end_time)
1092
-                            "
1093
-                            style="width:50px"
1094
-                          >
1032
+                          <td v-if=" record.prescription.mode_id == 2 || record.prescription.mode_id == 5 ||(record.prescription.mode_id == 12 &&monitor_record.operate_time >record.dialysis_order.end_time) " style="width:50px">
1095 1033
                             {{
1096 1034
                               monitor_record.displacement_quantity
1097 1035
                                 ? monitor_record.displacement_quantity
@@ -1131,6 +1069,7 @@
1131 1069
                           <td></td>
1132 1070
                           <td></td>
1133 1071
                           <td></td>
1072
+                          
1134 1073
                           <td style="line-height:16px;padding:0px;">
1135 1074
                             <div
1136 1075
                               style="height:40px;line-height:20px; overflow:hidden;"
@@ -1193,10 +1132,7 @@
1193 1132
                           >
1194 1133
                             <span v-if="advice[0].parent_id > 0">---></span>
1195 1134
                             <span>{{ advice[0].advice_name }}</span>
1196
-                            <span v-if="advice[0].advice_desc != ''"
1197
-                              >({{ advice[0].advice_desc
1198
-                              }}{{ advice[0].drug_spec_unit }})</span
1199
-                            >
1135
+                            <span v-if=" advice[advice_index] && advice[0].advice_desc != ''">({{ advice[0].advice_desc}}{{ advice[0].drug_spec_unit }})</span>
1200 1136
                             <span v-if="advice[0].prescribing_number"
1201 1137
                               >&nbsp;&nbsp; {{ advice[0].prescribing_number
1202 1138
                               }}{{ advice[0].prescribing_number_unit }}</span
@@ -2133,9 +2069,9 @@ export default {
2133 2069
             var delghTwo = 0;
2134 2070
             if (
2135 2071
               this.records[recordIndex].advices &&
2136
-              this.records[recordIndex].advices.length < 14
2072
+              this.records[recordIndex].advices.length < 7
2137 2073
             ) {
2138
-              delghTwo = 14 - this.records[recordIndex].advices.length;
2074
+              delghTwo = 7 - this.records[recordIndex].advices.length;
2139 2075
             } else {
2140 2076
               delghTwo = 0;
2141 2077
             }

+ 9 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue 查看文件

@@ -333,6 +333,15 @@
333 333
           <span class="content">{{this.record.thromubus_v}}</span>
334 334
           <span class="unit"></span>
335 335
         </li>
336
+
337
+
338
+         <li v-if="isShow('预增脱水量')">
339
+          <label>预增脱水量(L): </label>
340
+          <span class="content">{{this.record.dehydration}}</span>
341
+          <span class="unit"></span>
342
+        </li>
343
+
344
+       
336 345
       </ul>
337 346
     </div>
338 347
     <div class="note">

+ 9 - 2
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

@@ -541,6 +541,12 @@
541 541
               <el-input v-model="assessmentBeforeDislysis.edema" @focus="showInnerDialog('16')"></el-input>
542 542
             </el-form-item>
543 543
           </el-col>
544
+
545
+         <el-col :span="8">
546
+            <el-form-item label="预增脱水量(L):" v-if="isShow('预增脱水量')">
547
+             <el-input v-model="assessmentBeforeDislysis.dehydration"></el-input>
548
+            </el-form-item>
549
+          </el-col>
544 550
           
545 551
 
546 552
          
@@ -705,8 +711,8 @@
705 711
           thromubus_type:"",
706 712
           thrombus_av:"",
707 713
           thromubus_a:"",
708
-          thromubus_v:""
709
-
714
+          thromubus_v:"",
715
+          dehydration:""
710 716
         },
711 717
 
712 718
         InnerDialogProps: {
@@ -1045,6 +1051,7 @@
1045 1051
             this.InnerDialogProps.isShowTextArea = false
1046 1052
 
1047 1053
             break
1054
+         
1048 1055
         }
1049 1056
       },
1050 1057
       innerDialogComfirm: function(val) {

+ 11 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

@@ -553,7 +553,7 @@
553 553
                         {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
554 554
                       </td>
555 555
                       <td v-if="(dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && ( dialysisOrder && monitor.operate_time >= dialysisOrder.start_time)">
556
-                        {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : 0 }}
556
+                        {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
557 557
                       </td>
558 558
                       <td v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))" style="width:50px">
559 559
                         {{ monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
@@ -643,7 +643,7 @@
643 643
                       <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
644 644
                       <td height="32px">
645 645
                         <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
646
-                        <img style="height:20px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
646
+                        <img style="height:20px" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
647 647
                       </td>
648 648
                       <!-- <td height="35px">
649 649
                     <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
@@ -651,7 +651,7 @@
651 651
                   </td> -->
652 652
                       <td height="32px">
653 653
                         <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
654
-                        <img style="height:20px;" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else />
654
+                        <img style="height:20px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else />
655 655
                       </td>
656 656
                       <td height="32px">
657 657
                         <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
@@ -973,7 +973,7 @@
973 973
                     <div class="under_line" style="width: 80px;text-align: center">
974 974
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
975 975
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}</span>
976
-                      <img style="height:20px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt="" srcset="" v-else />
976
+                      <img style="height:23px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt="" srcset="" v-else />
977 977
                     </div>
978 978
                   </div>
979 979
                   <div class="inline_block" style="flex:1;">
@@ -981,7 +981,7 @@
981 981
                     <div class="under_line" style="width: 80px;text-align: center">
982 982
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) == ''">
983 983
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) }}</span>
984
-                      <img style="height:20px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse)" alt="" srcset="" v-else />
984
+                      <img style="height:23px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse)" alt="" srcset="" v-else />
985 985
                     </div>
986 986
                   </div>
987 987
                   <div class="inline_block" style="flex:1;">
@@ -990,25 +990,25 @@
990 990
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
991 991
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
992 992
                       </span>
993
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
993
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
994 994
                     </div>
995 995
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.modifier">
996 996
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
997 997
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
998 998
                       </span>
999
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
999
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
1000 1000
                     </div>
1001 1001
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.creater">
1002 1002
                       <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
1003 1003
                         {{ getAdminUser(check == null ? 0 : check.modifier) }}
1004 1004
                       </span>
1005
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt="" srcset="" v-else />
1005
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt="" srcset="" v-else />
1006 1006
                     </div>
1007 1007
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse != check.creater && dialysisOrder.start_nurse != check.modifier">
1008 1008
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
1009 1009
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
1010 1010
                       </span>
1011
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
1011
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
1012 1012
                     </div>
1013 1013
                   </div>
1014 1014
                   <div class="inline_block" style="flex:1;">
@@ -1017,7 +1017,7 @@
1017 1017
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
1018 1018
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}
1019 1019
                       </span>
1020
-                      <img style="height:20px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
1020
+                      <img style="height:23px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
1021 1021
                     </div>
1022 1022
                   </div>
1023 1023
                   <div class="inline_block" style="flex:1;">
@@ -1026,7 +1026,7 @@
1026 1026
                       <span v-if="setAdminUserES(prescription.creater) == ''">
1027 1027
                         {{ getAdminUser(prescription.creater) }}
1028 1028
                       </span>
1029
-                      <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1029
+                      <img style="height:23px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1030 1030
                     </div>
1031 1031
                   </div>
1032 1032
                 </div>

+ 4 - 3
src/xt_pages/outpatientCharges/invoiceTemplate/printOne.vue 查看文件

@@ -16,15 +16,16 @@
16 16
         </div>
17 17
         <div style="display:flex;justify-content: space-between;">
18 18
             <div style="position: absolute;top:70px;left:120px;"> {{ paramsObj.name }}</div>
19
+            <div style="position: absolute;top:70px;left:240px;">√</div>
19 20
             <!-- <div>{{ list.pay_way }}</div> -->
20
-            <div style="position: absolute;top:70px;left:460px;">{{ paramsObj.setl_time.split(' ')[0] }}</div>
21
-            <div style="position: absolute;top:70px;left:560px;">{{ paramsObj.setl_time.split(' ')[0] }}</div>
21
+            <!-- <div style="position: absolute;top:70px;left:460px;">{{ paramsObj.setl_time.split(' ')[0] }}</div>
22
+            <div style="position: absolute;top:70px;left:560px;">{{ paramsObj.setl_time.split(' ')[0] }}</div> -->
22 23
         </div>
23 24
         <div style="display:flex;justify-content: space-between;">
24 25
             <!-- <div>{{ paramsObj.gend == 1 ? '男' : '女' }}</div> -->
25 26
             <div style="position: absolute;top:90px;left:260px;">{{ totalPrice - list.psn_cash_money }}</div>
26 27
             <div style="position: absolute;top:90px;left:440px;">{{ list.psn_cash_money }}</div>
27
-            <div style="position: absolute;top:90px;left:580px;">{{ list.pay_way }}</div>
28
+            <div style="position: absolute;top:90px;left:580px;">门慢结算</div>
28 29
         </div>
29 30
         <div style="display:flex;justify-content: space-between;">
30 31
             <div style="position: absolute;top:140px;left:40px">西药</div>

+ 144 - 1
src/xt_pages/outpatientCharges/settlementPrint.vue 查看文件

@@ -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 查看文件

@@ -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>

+ 180 - 221
src/xt_pages/outpatientCharges/summary.vue 查看文件

@@ -1,167 +1,162 @@
1 1
 <template>
2
-  <div class="main-contain outpatientChargesManagement">
3
-    <div class="position">
4
-      <bread-crumb :crumbs='crumbs'></bread-crumb>
5
-    </div>
6
-    <div class="app-container">
7
-      <div style="display: flex;justify-content: space-between;margin-bottom:10px;">
8
-        <div>
9
-          <el-input size="small" style="width:150px;" v-model="keywords"
10
-                    class="filter-item"/>
11
-          <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary"
12
-                     @click="searchAction">
13
-            搜索
14
-          </el-button>
15
-          <el-select size="small" v-model="admin_user_id" placeholder="请选择"
16
-                     style="width:150px;margin-left:10px;" @change="changeDoctor">
17
-            <el-option
18
-              label="全部"
19
-              value="0">
20
-            </el-option>
21
-            <el-option
22
-              v-for="item,index in doctors"
23
-              :key="index"
24
-              :label="item.user_name"
25
-              :value="item.admin_user_id">
26
-            </el-option>
27
-          </el-select>
28
-          <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date"
29
-                          @change="handleStartTimeChange" :editable="false" :clearable="false"
30
-                          style="width: 196px;margin-right:10px;" type="date" placeholder="选择开始日期"
31
-                          format="yyyy-MM-dd"
32
-                          value-format="yyyy-MM-dd"
33
-                          align="right"></el-date-picker>
34
-
35
-          <el-date-picker size="small" v-model="end_time" prefix-icon="el-icon-date"
36
-                          @change="handleEndTimeChange" :editable="false" :clearable="false"
37
-                          style="width: 196px;margin-right:10px;" type="date" placeholder="选择结束日期"
38
-                          format="yyyy-MM-dd"
39
-                          value-format="yyyy-MM-dd"
40
-                          align="right"></el-date-picker>
41
-          <!--<el-radio v-model="radio" label="1">明细</el-radio>-->
42
-          <!--<el-radio v-model="radio" label="2">汇总</el-radio>-->
2
+    <div class="main-contain outpatientChargesManagement">
3
+        <div class="position">
4
+            <bread-crumb :crumbs='crumbs'></bread-crumb>
43 5
         </div>
44
-        <div>
45
-          <!-- <el-popover
46
-            placement="bottom"
47
-            width="210"
48
-            trigger="click">
49
-            <el-button size="small" ref="button_two" @click="open(1)">打印清单</el-button>
50
-            <el-button size="small" ref="button_six" @click="open(2)">打印汇总</el-button>
51
-            <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
52
-
53
-          </el-popover> -->
54
-          <el-button size="small" type="primary" @click="export_detail" v-loading="loading">报表下载</el-button>
6
+        <div class="app-container">
7
+            <div style="display: flex;justify-content: space-between;margin-bottom:10px;">
8
+                <div>
9
+                    <el-input size="small" style="width:150px;" v-model="keywords"
10
+                              class="filter-item"/>
11
+                    <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary"
12
+                               @click="searchAction">
13
+                        搜索
14
+                    </el-button>
15
+                    <el-select size="small" v-model="admin_user_id" placeholder="请选择"
16
+                               style="width:150px;margin-left:10px;" @change="changeDoctor">
17
+                        <el-option
18
+                                label="全部"
19
+                                value="0">
20
+                        </el-option>
21
+                        <el-option
22
+                                v-for="item,index in doctors"
23
+                                :key="index"
24
+                                :label="item.user_name"
25
+                                :value="item.admin_user_id">
26
+                        </el-option>
27
+                    </el-select>
28
+                    <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date"
29
+                                    @change="handleStartTimeChange" :editable="false" :clearable="false"
30
+                                    style="width: 196px;margin-right:10px;" type="date" placeholder="选择开始日期"
31
+                                    format="yyyy-MM-dd"
32
+                                    value-format="yyyy-MM-dd"
33
+                                    align="right"></el-date-picker>
34
+
35
+                    <el-date-picker size="small" v-model="end_time" prefix-icon="el-icon-date"
36
+                                    @change="handleEndTimeChange" :editable="false" :clearable="false"
37
+                                    style="width: 196px;margin-right:10px;" type="date" placeholder="选择结束日期"
38
+                                    format="yyyy-MM-dd"
39
+                                    value-format="yyyy-MM-dd"
40
+                                    align="right"></el-date-picker>
41
+                    <!--<el-radio v-model="radio" label="1">明细</el-radio>-->
42
+                    <!--<el-radio v-model="radio" label="2">汇总</el-radio>-->
43
+                </div>
44
+                <div>
45
+                    <!-- <el-popover
46
+                      placement="bottom"
47
+                      width="210"
48
+                      trigger="click">
49
+                      <el-button size="small" ref="button_two" @click="open(1)">打印清单</el-button>
50
+                      <el-button size="small" ref="button_six" @click="open(2)">打印汇总</el-button>
51
+                      <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
52
+
53
+                    </el-popover> -->
54
+                    <el-button size="small" type="primary" @click="export_detail">报表下载</el-button>
55
+                </div>
56
+            </div>
57
+            <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }"
58
+                      :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
59
+                      highlight-current-row>
60
+                <el-table-column
61
+                        prop="date"
62
+                        label="序号"
63
+                        width="60"
64
+                        align="center"
65
+                        type="index"
66
+                >
67
+                </el-table-column>
68
+                <el-table-column align="center" prop="name" label="就诊号">
69
+                    <template slot-scope="scope">{{ scope.row.his_patient.number }}</template>
70
+                </el-table-column>
71
+                <el-table-column align="center" prop="name" label="患者名字">
72
+                    <template slot-scope="scope">{{ scope.row.patient.name }}</template>
73
+                </el-table-column>
74
+                <!--<el-table-column align="center" prop="name" label="患者类型">-->
75
+                <!--<template slot-scope="scope"></template>-->
76
+                <!--</el-table-column>-->
77
+                <el-table-column align="center" prop="name" label="应收金额">
78
+                    <template slot-scope="scope">{{scope.row.medfee_sumamt}}</template>
79
+                </el-table-column>
80
+                <el-table-column align="center" prop="name" label="实收金额">
81
+                    <template slot-scope="scope">{{scope.row.reality_price}}</template>
82
+                </el-table-column>
83
+                <el-table-column align="center" prop="name" label="科室">
84
+                    <template slot-scope="scope">{{scope.row.department_name}}</template>
85
+                </el-table-column>
86
+                <el-table-column align="center" prop="name" label="收费日期">
87
+                    <template slot-scope="scope"> {{scope.row.setl_time}}</template>
88
+                </el-table-column>
89
+                <el-table-column align="center" prop="name" label="收费员">
90
+                    <template slot-scope="scope">{{ getName(scope.row.creator) }}</template>
91
+                </el-table-column>
92
+                <el-table-column align="center" prop="name" label="状态">
93
+                    <template slot-scope="scope">
94
+                        <div v-if="scope.row.order_status == 1">待结算</div>
95
+                        <div v-if="scope.row.order_status == 2">已结算</div>
96
+                        <div v-if="scope.row.order_status == 3">已退费</div>
97
+                    </template>
98
+                </el-table-column>
99
+                <el-table-column align="center" prop="name" label="操作">
100
+                    <template slot-scope="scope">
101
+                        <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
102
+                        <el-button size="mini" type="primary" @click="toPrint(scope.row)"
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
+                            结算单
105
+                        </el-button>
106
+                        <el-button size="mini" type="primary" v-if="scope.row.order_status == 2" @click="settlementPrint(scope.row)">结算单</el-button>
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
+                            退费
109
+                        </el-button>
110
+                        <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>
111
+                    </template>
112
+                </el-table-column>
113
+            </el-table>
114
+            <el-pagination
115
+                    @size-change="handleSizeChange"
116
+                    @current-change="handleCurrentChange"
117
+                    :page-sizes="[10, 50, 100]"
118
+                    :page-size="10"
119
+                    background
120
+                    style="margin-top:20px;float: right"
121
+                    layout="total, sizes, prev, pager, next, jumper"
122
+                    :total="total"
123
+
124
+            >
125
+            </el-pagination>
55 126
         </div>
56
-      </div>
57
-      <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }"
58
-                :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
59
-                highlight-current-row>
60
-        <el-table-column
61
-          prop="date"
62
-          label="序号"
63
-          width="60"
64
-          align="center"
65
-          type="index"
66
-        >
67
-        </el-table-column>
68
-        <el-table-column align="center" prop="name" label="就诊号">
69
-          <template slot-scope="scope">{{ scope.row.his_patient.number }}</template>
70
-        </el-table-column>
71
-        <el-table-column align="center" prop="name" label="患者名字">
72
-          <template slot-scope="scope">{{ scope.row.patient.name }}</template>
73
-        </el-table-column>
74
-        <!--<el-table-column align="center" prop="name" label="患者类型">-->
75
-        <!--<template slot-scope="scope"></template>-->
76
-        <!--</el-table-column>-->
77
-        <el-table-column align="center" prop="name" label="应收金额">
78
-          <template slot-scope="scope">{{scope.row.medfee_sumamt}}</template>
79
-        </el-table-column>
80
-        <el-table-column align="center" prop="name" label="实收金额">
81
-          <template slot-scope="scope">{{scope.row.reality_price}}</template>
82
-        </el-table-column>
83
-        <el-table-column align="center" prop="name" label="科室">
84
-          <template slot-scope="scope">{{scope.row.department_name}}</template>
85
-        </el-table-column>
86
-        <el-table-column align="center" prop="name" label="收费日期">
87
-          <template slot-scope="scope"> {{scope.row.setl_time}}</template>
88
-        </el-table-column>
89
-        <el-table-column align="center" prop="name" label="收费员">
90
-          <template slot-scope="scope">{{ getName(scope.row.creator) }}</template>
91
-        </el-table-column>
92
-        <el-table-column align="center" prop="name" label="状态">
93
-          <template slot-scope="scope">
94
-            <div v-if="scope.row.order_status == 1">待结算</div>
95
-            <div v-if="scope.row.order_status == 2">已结算</div>
96
-            <div v-if="scope.row.order_status == 3">已退费</div>
97
-          </template>
98
-        </el-table-column>
99
-        <el-table-column align="center" prop="name" label="操作">
100
-          <template slot-scope="scope">
101
-            <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
102
-            <el-button size="mini" type="primary" @click="toPrint(scope.row)"
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) || ($store.getters.xt_user.org_id == 9990) ">
104
-              结算单
105
-            </el-button>
106
-            <el-button size="mini" type="primary" @click="toRefund(scope.row)"
107
-                       v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106  || $store.getters.xt_user.org_id== 9990)">
108
-              退费
109
-            </el-button>
110
-            <el-button size="mini" type="primary" @click="uploadInfo(scope.row)"
111
-                       v-if="scope.row.order_status == 2 && scope.row.result.id == 0">
112
-              上传结算清单
113
-            </el-button>
114
-            <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>
115
-
116
-          </template>
117
-        </el-table-column>
118
-      </el-table>
119
-      <el-pagination
120
-        @size-change="handleSizeChange"
121
-        @current-change="handleCurrentChange"
122
-        :page-sizes="[10, 50, 100]"
123
-        :page-size="10"
124
-        background
125
-        style="margin-top:20px;float: right"
126
-        layout="total, sizes, prev, pager, next, jumper"
127
-        :total="total"
128
-
129
-      >
130
-      </el-pagination>
131
-    </div>
132 127
 
133
-    <el-dialog
134
-      class="centerDialog"
135
-      width="1200px"
136
-      title="打印"
137
-      :visible.sync="statementVisible">
138
-      <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
139
-      <new-statement-print ref="print" :paramsObj='orderObj'></new-statement-print>
140
-    </el-dialog>
141
-    <el-dialog
142
-      class="centerDialog"
143
-      width="900px"
144
-      title="打印"
145
-      :visible.sync="listVisible">
146
-      <listPrint></listPrint>
147
-    </el-dialog>
148
-    <el-dialog
149
-      class="centerDialog"
150
-      width="900px"
151
-      title="打印"
152
-      :visible.sync="allListVisible">
153
-      <allListPrint :paramsObj='paramsObj'></allListPrint>
154
-    </el-dialog>
155
-
156
-    <el-dialog
157
-      class="centerDialog"
158
-      width="1200px"
159
-      title="打印"
160
-      :visible.sync="statementVisible9504">
161
-      <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
162
-      <!--<new-statement-print ref="print" :paramsObj='orderObj9504'></new-statement-print>-->
163
-      <new-statement-print-two ref="print" :paramsObj='orderObj9504'></new-statement-print-two>
164
-    </el-dialog>
128
+        <el-dialog
129
+                class="centerDialog"
130
+                width="1200px"
131
+                title="打印"
132
+                :visible.sync="statementVisible">
133
+            <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
134
+            <new-statement-print ref="print" :paramsObj='orderObj'></new-statement-print>
135
+        </el-dialog>
136
+        <el-dialog
137
+                class="centerDialog"
138
+                width="900px"
139
+                title="打印"
140
+                :visible.sync="listVisible">
141
+            <listPrint></listPrint>
142
+        </el-dialog>
143
+        <el-dialog
144
+                class="centerDialog"
145
+                width="900px"
146
+                title="打印"
147
+                :visible.sync="allListVisible">
148
+            <allListPrint :paramsObj='paramsObj'></allListPrint>
149
+        </el-dialog>
150
+
151
+        <el-dialog
152
+                class="centerDialog"
153
+                width="1200px"
154
+                title="打印"
155
+                :visible.sync="statementVisible9504">
156
+            <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
157
+            <!--<new-statement-print ref="print" :paramsObj='orderObj9504'></new-statement-print>-->
158
+            <new-statement-print-two ref="print" :paramsObj='orderObj9504'></new-statement-print-two>
159
+        </el-dialog>
165 160
 
166 161
         <el-dialog
167 162
                 class="centerDialog"
@@ -170,16 +165,15 @@
170 165
                 :visible.sync="invoiceVisible">
171 166
             <invoice-print ref="print" :invoiceParams='invoiceParams'></invoice-print>
172 167
         </el-dialog>
173
-        <!-- <el-dialog
168
+        <el-dialog
174 169
                 class="centerDialog"
175 170
                 width="1200px"
176 171
                 title="打印"
177 172
                 :visible.sync="settlementVisible">
178
-            <settlement-print ref="print" :paramsObj='orderObj'></settlement-print>
179
-        </el-dialog> -->
180
-
173
+            <settlement-print ref="print" :paramsObj='settlementObj'></settlement-print>
174
+        </el-dialog>
181 175
 
182
-  </div>
176
+    </div>
183 177
 </template>
184 178
 
185 179
 
@@ -194,7 +188,7 @@
194 188
   import { fetchAllAdminUsers } from '@/api/doctor'
195 189
   import axios from 'axios'
196 190
   import invoicePrint from './invoicePrint'
197
-  // import settlementPrint from './settlementPrint'
191
+  import settlementPrint from './settlementPrint'
198 192
 
199 193
   export default {
200 194
     components: {
@@ -204,7 +198,7 @@
204 198
       listPrint,
205 199
       allListPrint,
206 200
       invoicePrint,
207
-      // settlementPrint
201
+      settlementPrint
208 202
     },
209 203
     data() {
210 204
       return {
@@ -231,37 +225,12 @@
231 225
         invoiceVisible:false,
232 226
         paramsObj:{},
233 227
         invoiceParams:{},
234
-        settlementVisible:false
228
+        settlementVisible:false,
229
+        settlementObj:{}
235 230
 
236 231
       }
237 232
     },
238 233
     methods: {
239
-      uploadInfo(row) {
240
-        var that = this
241
-        axios.get('http://127.0.0.1:9532/api/settlelist/get', {
242
-          params: {
243
-            order_id: row.id,
244
-            admin_user_id: this.$store.getters.xt_user.user.id
245
-          }
246
-        }).then(function (response) {
247
-            if (response.data.state == 0) {
248
-              that.$message.error(response.data.msg)
249
-              return false
250
-            } else {
251
-
252
-              if (response.data.data.failed_code == -10) {
253
-                that.$message.error(response.data.data.msg)
254
-
255
-              } else {
256
-                that.$message.success("上传成功")
257
-                row.result.id = response.data.data.result.id
258
-              }
259
-
260
-
261
-            }
262
-          }).catch(function (error) {
263
-          })
264
-      },
265 234
       fetchAllAdminUsers() {
266 235
         fetchAllAdminUsers().then(response => {
267 236
           if (response.data.state == 1) {
@@ -277,8 +246,8 @@
277 246
           }
278 247
         }
279 248
 
280
-      }, toRefund(row) {
281
-        if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || 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 == 9990) {
249
+      },toRefund(row){
250
+        if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106) {
282 251
           var that = this
283 252
           this.$confirm('是否退费', '退费', {
284 253
             confirmButtonText: '确 定',
@@ -294,7 +263,7 @@
294 263
             axios.get('http://127.0.0.1:9532/api/refund/post', {
295 264
               params: params
296 265
             })
297
-              .then(function (response) {
266
+              .then(function(response) {
298 267
                 if (response.data.state == 0) {
299 268
                   that.$message.error(response.data.msg)
300 269
                   return false
@@ -302,13 +271,13 @@
302 271
                   if (response.data.data.failed_code == -10) {
303 272
                     that.$message.error(response.data.data.msg)
304 273
                   } else {
305
-                    that.$message({message: '退费成功', type: 'success', duration: 5000})
274
+                    that.$message({ message: '退费成功', type: 'success', duration: 5000 })
306 275
                     that.getHisOrderList()
307 276
 
308 277
                   }
309 278
                 }
310 279
               })
311
-              .catch(function (error) {
280
+              .catch(function(error) {
312 281
               })
313 282
           }).catch(() => {
314 283
           })
@@ -330,7 +299,7 @@
330 299
                 this.$message.error(response.data.msg)
331 300
                 return false
332 301
               } else {
333
-                this.$message({message: '退费成功', type: 'success'})
302
+                this.$message({ message: '退费成功', type: 'success' })
334 303
                 this.getHisOrderList()
335 304
               }
336 305
             })
@@ -357,8 +326,12 @@
357 326
         }
358 327
 
359 328
       },
360
-      settlementPrint(){
329
+      settlementPrint(row){
361 330
         this.settlementVisible = true
331
+        let obj = {
332
+          order_id: row.id
333
+        }
334
+        this.settlementObj = obj
362 335
       },
363 336
       export_detail() {
364 337
         let params = {
@@ -411,11 +384,6 @@
411 384
                 doctor_name = order.p_info.doctor
412 385
               }
413 386
 
414
-              if (order.creator != null) {
415
-                charge_name = this.getName(order.creator)
416
-              }
417
-
418
-
419 387
               if (order.order_status == 1) {
420 388
                 order_status = '待结算'
421 389
               }
@@ -428,39 +396,30 @@
428 396
                 order_status = '已退费'
429 397
               }
430 398
 
431
-
432 399
               let obj = {
433 400
                 '就诊号': number,
434 401
                 '患者姓名': name,
435 402
                 '应收金额': order.medfee_sumamt,
436
-                '实收金额': order.psn_cash_pay,
437
-                '医保统筹金额': order.fund_pay_sumamt,
438
-                '大额基金金额': order.hifob_pay,
439
-                '大病基金金额': order.hifmi_pay,
440
-                '补充保险基金金额': order.hifes_pay,
441
-                '医疗救助基金金额': order.maf_pay,
442
-                '公务员基金': order.cvlserv_pay,
443
-                '个人支付基金': order.psn_cash_pay,
444
-                '个人账户支付金额': order.acct_pay,
403
+                '实收金额': order.medfee_sumamt,
445 404
                 '科室': department,
446 405
                 '医生姓名': doctor_name,
447 406
                 '收费类别': balance_accounts,
448
-                '收费者姓名': charge_name,
407
+                '收费者姓名': doctor_name,
449 408
                 '总金额': order.medfee_sumamt,
450 409
                 '现金支付': '',
451 410
                 '账户支付': '',
452 411
                 '支付宝支付': '',
453 412
                 '微信支付': '',
454 413
                 '其他支付': '',
455
-                '收费时间': order.setl_time,
414
+                '收费日期': '',
456 415
                 '收费状态': order_status,
457 416
                 '退费日期': ''
458 417
               }
459 418
               list.push(obj)
460 419
             }
461 420
             import('@/vendor/Export2Excel').then(excel => {
462
-              const tHeader = ['就诊号', '患者姓名', '应收金额', '实收金额', '医保统筹金额', '大额基金金额', '大病基金金额', '补充保险基金金额', '医疗救助基金金额', '公务员基金', '个人支付基金', '个人账户支付金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费时间', '收费状态', '退费日期']
463
-              const filterVal = ['就诊号', '患者姓名', '应收金额', '实收金额', '医保统筹金额', '大额基金金额', '大病基金金额', '补充保险基金金额', '医疗救助基金金额', '公务员基金', '个人支付基金', '个人账户支付金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费时间', '收费状态', '退费日期']
421
+              const tHeader = ['就诊号', '患者姓名', '应收金额', '实收金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费日期', '收费状态', '退费日期']
422
+              const filterVal = ['就诊号', '患者姓名', '应收金额', '实收金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费日期', '收费状态', '退费日期']
464 423
               const data = this.formatJson(filterVal, list)
465 424
               excel.export_json_to_excel({
466 425
                 header: tHeader,
@@ -552,7 +511,7 @@
552 511
       invoicePrint(obj){
553 512
         console.log(obj)
554 513
         let paramsObj = {
555
-          order_id: obj.id,
514
+          order_id: obj.order_info.order_id,
556 515
           patient_id: obj.patient_id,
557 516
           name:obj.patient.name,
558 517
           age:obj.age,

+ 1 - 1
src/xt_pages/qcd/basicInformationAnalysis.vue 查看文件

@@ -710,7 +710,7 @@ export default {
710 710
       //本月的结束时间
711 711
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
712 712
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
713
-      // console.log("本月最后一天",timeEnd)
713
+      console.log("本月最后一天",timeEnd)
714 714
       //本月
715 715
       if(state == 0){
716 716
        //统计透析总量

+ 12 - 2
src/xt_pages/stock/drugs/drugStockInOrderDetailPrint.vue 查看文件

@@ -55,8 +55,8 @@
55 55
                   <span>{{(item.warehousing_count * item.price).toFixed(2)}}</span>
56 56
               </td>
57 57
               <td style="line-height:18px">{{ item.number }}</td>
58
-              <td style="line-height:18px">{{ item.product_date | parseTime("{y}-{m}-{d}") }}</td>
59
-              <td style="line-height:18px">{{ item.expiry_date | parseTime("{y}-{m}-{d}") }}</td>
58
+              <td style="line-height:18px">{{ getTime(item.product_date)}}</td>
59
+              <td style="line-height:18px">{{ getTime(item.expiry_date)}}</td>
60 60
               <td style="line-height:18px">正常<br>入库</td>
61 61
               <td style="line-height:18px">合格</td>
62 62
             </tr>
@@ -139,6 +139,16 @@
139 139
       }
140 140
     },
141 141
     methods: {
142
+       getTime(val) {
143
+         if(val < 0){
144
+           return ""
145
+         }
146
+         if(val == ""){
147
+          return ""
148
+         }else {
149
+          return uParseTime(val, '{y}-{m}-{d}')
150
+         }
151
+      },
142 152
       getDateOne(){
143 153
         return "入库日期: "+this.start_time +"~"+this.end_time
144 154
       },

+ 14 - 2
src/xt_pages/stock/stockInOrderDetailPrint.vue 查看文件

@@ -48,8 +48,8 @@
48 48
                                     <td style="line-height:18px;">{{item.warehousing_count}}</td> 
49 49
                                     <td style="line-height:18px;">{{(item.warehousing_count*item.price).toFixed(2)}}</td>
50 50
                                     <td style="line-height:18px;">{{ item.number }}</td>
51
-                                    <td style="line-height:18px;">{{ item.product_date | parseTime("{y}-{m}-{d}") }}</td>
52
-                                    <td style="line-height:18px;">{{ item.expiry_date | parseTime("{y}-{m}-{d}") }}</td>
51
+                                    <td style="line-height:18px;">{{ getTime(item.product_date) }}</td>
52
+                                    <td style="line-height:18px;">{{ getTime(item.expiry_date) }}</td>
53 53
                                     <td style="line-height:18px;">正常<br>入库</td>
54 54
                                     <td style="line-height:18px;">合格</td>
55 55
                                 </tr>
@@ -84,6 +84,7 @@ import {
84 84
 import { fetchAllAdminUsers } from "@/api/doctor";
85 85
 import print from 'print-js'
86 86
 const moment = require('moment')
87
+import { uParseTime } from '@/utils/tools'
87 88
 export default {
88 89
     components:{
89 90
         BreadCrumb
@@ -138,6 +139,17 @@ export default {
138 139
           scanStyles: false
139 140
           })
140 141
       },
142
+
143
+      getTime(val) {
144
+         if(val < 0){
145
+           return ""
146
+         }
147
+         if(val == ""){
148
+          return ""
149
+         }else {
150
+          return uParseTime(val, '{y}-{m}-{d}')
151
+         }
152
+      },
141 153
       
142 154
         GetConfigInfo: function() {
143 155
         GetAllConfig().then(response => {