ソースを参照

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 4 ヶ月 前
コミット
8b70843bd0

+ 2 - 2
src/xt_pages/hospitalStation/statementPrint.vue ファイルの表示

@@ -17,13 +17,13 @@
17 17
       <private-charge-print :info="info" v-if="this.paramsObj.balance_accounts_type == 2"></private-charge-print>
18 18
       <printOne :info="info" v-else></printOne>
19 19
     </div>
20
-    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10265">
20
+    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 0">
21 21
 <!--      <private-charge-print :info="info" v-if="this.paramsObj.balance_accounts_type == 2"></private-charge-print>-->
22 22
 <!--      <printOne :info="info" v-else></printOne>-->
23 23
 <!--      <print-one :info="info" ></print-one>-->
24 24
       <hospital-settle-print :info="info" :list="list"></hospital-settle-print>
25 25
     </div>
26
-    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id != 10215 && this.paramsObj.balance_accounts_type == 2 && this.$store.getters.xt_user.org_id != 10265">
26
+    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id != 10215 && this.paramsObj.balance_accounts_type == 2 && this.$store.getters.xt_user.org_id != 10265 && this.$store.getters.xt_user.org_id != 0">
27 27
     <private-charge-print :info="info" ></private-charge-print>
28 28
     </div>
29 29
 

+ 2 - 2
src/xt_pages/hospitalStation/summary.vue ファイルの表示

@@ -1049,7 +1049,7 @@ export default {
1049 1049
         this.statementVisible = true;
1050 1050
         let obj = {
1051 1051
           order_id: row.id,
1052
-          balance_accounts_type: row.his_hospital_patient.balance_accounts_type,
1052
+          balance_accounts_type: 2,
1053 1053
           start_time: row.settle_start_time,
1054 1054
           end_time: row.settle_end_time,
1055 1055
         };
@@ -1341,7 +1341,7 @@ export default {
1341 1341
       //     row.id
1342 1342
       //   );
1343 1343
       // }
1344
-      
1344
+
1345 1345
     },
1346 1346
     getTime(value, temp) {
1347 1347
       if (value != undefined) {

+ 8 - 0
src/xt_pages/outpatientCharges/components/chargeDialog.vue ファイルの表示

@@ -447,6 +447,10 @@
447 447
           this.$message.error('折扣金额不能超过费用总额')
448 448
           return
449 449
         }
450
+        console.log(parseInt(this.form.total))
451
+        console.log(parseInt(val))
452
+        console.log(parseInt(this.form.discount_price))
453
+
450 454
         this.form.reality_price = parseInt(this.form.total) - parseInt(val) - parseInt(this.form.preferential_price)
451 455
       },
452 456
       changePreferentialPrice(val){
@@ -454,6 +458,10 @@
454 458
           this.$message.error('优惠金额不能超过费用总额')
455 459
           return
456 460
         }
461
+        console.log(parseInt(this.form.total))
462
+        console.log(parseInt(val))
463
+        console.log(parseInt(this.form.discount_price))
464
+
457 465
         this.form.reality_price = parseInt(this.form.total) - parseInt(val) - parseInt(this.form.discount_price)
458 466
       }
459 467
     },

+ 5 - 0
src/xt_pages/outpatientCharges/statementPrint.vue ファイルの表示

@@ -1027,6 +1027,11 @@ export default {
1027 1027
                   R_list.push(listarr[i])
1028 1028
                 }
1029 1029
               }
1030
+
1031
+
1032
+
1033
+
1034
+              that.info['Z_list'] = listarr
1030 1035
               console.log('L_list111',L_list)
1031 1036
               console.log('R_list222',R_list)
1032 1037
 

+ 154 - 116
src/xt_pages/outpatientCharges/statementTemplate/printeighteen.vue ファイルの表示

@@ -10,66 +10,55 @@
10 10
         <table class="statementTable" border="1">
11 11
           <tr>
12 12
             <td width="100">机构编码</td>
13
-            <td width="150">{{info.fixmedins_code}}</td>
13
+            <td width="150">{{"H36102502336"}}</td>
14 14
             <td width="120">医保结算级别</td>
15 15
             <td width="150" colspan="2">
16
-              <span  v-if="info.hosp_lv == '1'">三级特等</span>
17
-              <span  v-else-if="info.hosp_lv == '2'">三级甲等</span>
18
-              <span v-else-if="info.hosp_lv == '3'">三级乙等</span>
19
-              <span v-else-if="info.hosp_lv == '4'">三级丙等</span>
20
-              <span v-else-if="info.hosp_lv == '5'">二级甲等</span>
21
-              <span v-else-if="info.hosp_lv == '6'">二级乙等</span>
22
-              <span v-else-if="info.hosp_lv == '7'">二级丙等</span>
23
-              <span  v-else-if="info.hosp_lv == '8'">一级甲等</span>
24
-              <span v-else-if="info.hosp_lv == '9'">一级乙等</span>
25
-              <span v-else-if="info.hosp_lv == '10'">一级丙等</span>
26
-              <span  v-else-if="info.hosp_lv == '11'">无等级</span>
27
-              <span  v-else></span>
16
+              <span>二级</span>
28 17
             </td>
29 18
             <td width="100">机构名称</td>
30
-            <td colspan="4">{{info.fixmedins_name}}</td>
19
+            <td colspan="4">{{'乐安祥康血液透析中心'}}</td>
31 20
           </tr>
32 21
           <tr>
33 22
             <td width="100">姓名</td>
34
-            <td width="150">{{info.psn_name}}</td>
23
+            <td width="150">{{info.new_order.psn_name}}</td>
35 24
             <td width="120">性别</td>
36
-            <td width="50" v-if="info.gend == '1'">男</td>
37
-            <td width="50" v-if="info.gend == '2'">女</td>
25
+            <td width="50" v-if="info.new_order.gend == '1'">男</td>
26
+            <td width="50" v-if="info.new_order.gend == '2'">女</td>
38 27
             <td width="100">出生日期</td>
39
-            <td width="100">{{getBirth(info.certno)}}</td>
28
+            <td width="100">{{getBirth(info.new_order.certno)}}</td>
40 29
             <td width="100">人员类别</td>
41
-            <td  width="150" v-if="info.psn_type == '11'">在职</td>
42
-            <td  width="150" v-else-if="info.psn_type == '1101'">职工在职</td>
43
-            <td  width="150" v-else-if="info.psn_type == '1102'">公务员在职</td>
44
-            <td  width="150" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
45
-            <td  width="150" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
46
-
47
-            <td  width="150" v-else-if="info.psn_type == '12'">退休人员</td>
48
-            <td  width="150" v-else-if="info.psn_type == '1201'">职工退休</td>
49
-            <td  width="150" v-else-if="info.psn_type == '1202'">公务员退休</td>
50
-            <td  width="150" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
51
-            <td  width="150" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
52
-
53
-            <td  width="150" v-else-if="info.psn_type == '13'">离休</td>
54
-            <td  width="150" v-else-if="info.psn_type == '1300'">离休人员</td>
55
-            <td  width="150" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
56
-
57
-            <td  width="150" v-else-if="info.psn_type == '14'">居民(未成年)</td>
58
-            <td  width="150" v-else-if="info.psn_type == '1401'">新生儿</td>
59
-            <td  width="150" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
60
-            <td  width="150" v-else-if="info.psn_type == '1403'">中小学生</td>
61
-            <td  width="150" v-else-if="info.psn_type == '1404'">大学生</td>
62
-            <td  width="150" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
63
-
64
-            <td  width="150" v-else-if="info.psn_type == '15'">居民(成年)</td>
65
-            <td  width="150" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
66
-            <td  width="150" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
67
-
68
-            <td  width="150" v-else-if="info.psn_type == '16'">居民(老年)</td>
30
+            <td  width="150" v-if="info.new_order.psn_type == '11'">在职</td>
31
+            <td  width="150" v-else-if="info.new_order.psn_type == '1101'">职工在职</td>
32
+            <td  width="150" v-else-if="info.new_order.psn_type == '1102'">公务员在职</td>
33
+            <td  width="150" v-else-if="info.new_order.psn_type == '1103'">灵活就业人员在职</td>
34
+            <td  width="150" v-else-if="info.new_order.psn_type == '1160'">地方其他扩展人员</td>
35
+
36
+            <td  width="150" v-else-if="info.new_order.psn_type == '12'">退休人员</td>
37
+            <td  width="150" v-else-if="info.new_order.psn_type == '1201'">职工退休</td>
38
+            <td  width="150" v-else-if="info.new_order.psn_type == '1202'">公务员退休</td>
39
+            <td  width="150" v-else-if="info.new_order.psn_type == '1203'">灵活就业人员退休</td>
40
+            <td  width="150" v-else-if="info.new_order.psn_type == '1260'">地方其他扩展人员</td>
41
+
42
+            <td  width="150" v-else-if="info.new_order.psn_type == '13'">离休</td>
43
+            <td  width="150" v-else-if="info.new_order.psn_type == '1300'">离休人员</td>
44
+            <td  width="150" v-else-if="info.new_order.psn_type == '1360'">地方其他扩展人员</td>
45
+
46
+            <td  width="150" v-else-if="info.new_order.psn_type == '14'">居民(未成年)</td>
47
+            <td  width="150" v-else-if="info.new_order.psn_type == '1401'">新生儿</td>
48
+            <td  width="150" v-else-if="info.new_order.psn_type == '1402'">学龄前儿童</td>
49
+            <td  width="150" v-else-if="info.new_order.psn_type == '1403'">中小学生</td>
50
+            <td  width="150" v-else-if="info.new_order.psn_type == '1404'">大学生</td>
51
+            <td  width="150" v-else-if="info.new_order.psn_type == '1405'">未成年(未入学)</td>
52
+
53
+            <td  width="150" v-else-if="info.new_order.psn_type == '15'">居民(成年)</td>
54
+            <td  width="150" v-else-if="info.new_order.psn_type == '1501'">普通居民(成年)</td>
55
+            <td  width="150" v-else-if="info.new_order.psn_type == '1560'">地方其他扩展身份</td>
56
+
57
+            <td  width="150" v-else-if="info.new_order.psn_type == '16'">居民(老年)</td>
69 58
             <td width="150" v-else></td>
70 59
             <td width="120">公务员标志</td>
71 60
             <td width="80">否</td>
72
-            
61
+
73 62
           </tr>
74 63
           <tr>
75 64
             <td>单位名称</td>
@@ -77,41 +66,50 @@
77 66
             <td width="100">联系电话</td>
78 67
             <td width="100">{{info.patient.phone}}</td>
79 68
             <td width="150">人员身份类别</td>
80
-            <td colspan="2"></td>
69
+            <td colspan="2" v-if="info.psn_idet_type == '5'">公务员</td>
70
+            <td colspan="2" v-if="info.psn_idet_type == '21'">优抚人员</td>
71
+            <td colspan="2" v-if="info.psn_idet_type == '22'">医疗照顾人员</td>
72
+            <td colspan="2" v-if="info.psn_idet_type == '23'">医疗救助人员</td>
73
+            <td colspan="2" v-if="info.psn_idet_type == '2303'">低保救助对象</td>
74
+            <td colspan="2" v-else></td>
75
+
76
+
81 77
           </tr>
82 78
           <tr>
83 79
             <td width="100">结算ID</td>
84
-            <td width="150"></td>
80
+            <td width="150">{{info.new_order.setl_id}}</td>
85 81
             <td width="120">住院号</td>
86
-            <td width="150" colspan="2">{{info.number}}</td>
82
+            <td width="150" colspan="2">{{info.new_order.mdtrt_id}}</td>
87 83
             <td width="100">医疗类别</td>
88 84
             <td width="150">
89
-              <span v-if="info.med_type == '11'">普通门诊</span>
90
-              <span v-if="info.med_type == '12'">门诊挂号</span>
91
-              <span v-if="info.med_type == '13'">急诊</span>
92
-              <span v-if="info.med_type == '14'">门诊特殊病</span>
93
-              <span v-if="info.med_type == '15'">门诊统筹</span>
94
-              <span v-if="info.med_type == '16'">门诊慢性病</span>
95
-              <span v-if="info.med_type == '21'">普通住院</span>
85
+              <span v-if="info.new_order.med_type == '11'">普通门诊</span>
86
+              <span v-if="info.new_order.med_type == '12'">门诊挂号</span>
87
+              <span v-if="info.new_order.med_type == '13'">急诊</span>
88
+              <span v-if="info.new_order.med_type == '14'">门诊特殊病</span>
89
+              <span v-if="info.new_order.med_type == '15'">门诊统筹</span>
90
+              <span v-if="info.new_order.med_type == '16'">门诊慢性病</span>
91
+              <span v-if="info.new_order.med_type == '21'">普通住院</span>
92
+              <span v-if="info.new_order.med_type == '990101'">单病种门诊</span>
93
+
96 94
             </td>
97 95
             <td width="150">住院天数</td>
98
-            <td colspan="2">{{getDay(info.begndate,info.enddate)}}</td>
96
+            <td colspan="2">{{1}}</td>
99 97
           </tr>
100 98
           <tr>
101 99
             <td>身份证号</td>
102
-            <td colspan="4">{{info.certno}}</td>
100
+            <td colspan="4">{{info.new_order.certno}}</td>
103 101
             <td width="100">险种</td>
104 102
             <td width="100">
105
-              <span v-if="info.insutype == '310'">职工基本医疗保险</span>
106
-              <span v-if="info.insutype == '320'">公务员医疗补助</span>
107
-              <span v-if="info.insutype == '330'">大额医疗费用补助</span>
108
-              <span v-if="info.insutype == '340'">离休人员医疗保障</span>
109
-              <span v-if="info.insutype == '390'">城乡居民基本医疗保险</span>
110
-              <span v-if="info.insutype == '392'">城乡居民大病医疗保险</span>
111
-              <span v-if="info.insutype == '510'">生育保险</span>
103
+              <span v-if="info.new_order.insutype == '310'">职工基本医疗保险</span>
104
+              <span v-if="info.new_order.insutype == '320'">公务员医疗补助</span>
105
+              <span v-if="info.new_order.insutype == '330'">大额医疗费用补助</span>
106
+              <span v-if="info.new_order.insutype == '340'">离休人员医疗保障</span>
107
+              <span v-if="info.new_order.insutype == '390'">城乡居民基本医疗保险</span>
108
+              <span v-if="info.new_order.insutype == '392'">城乡居民大病医疗保险</span>
109
+              <span v-if="info.new_order.insutype == '510'">生育保险</span>
112 110
             </td>
113 111
             <td width="150">参保医保区划</td>
114
-            <td colspan="2"></td>
112
+            <td colspan="2">{{info.his.insuplc_admdvs}}</td>
115 113
           </tr>
116 114
           <tr>
117 115
             <td width="100">科别</td>
@@ -119,17 +117,20 @@
119 117
             <td width="120">床号</td>
120 118
             <td width="150" colspan="2"></td>
121 119
             <td width="100">入院日期</td>
122
-            <td width="150">{{info.begndate ? info.begndate.split(' ')[0] : ''}}</td>
120
+            <td width="150">{{info.new_order.setl_time ? info.new_order.setl_time.split(' ')[0] : ''}}</td>
123 121
             <td width="150">出院日期</td>
124
-            <td colspan="2">{{info.enddate ? info.enddate.split(' ')[0] : ''}}</td>
122
+            <td colspan="2">{{info.new_order.setl_time ? info.new_order.setl_time.split(' ')[0] : ''}}</td>
125 123
           </tr>
126 124
           <tr>
127 125
             <td width="100">入院主要诊断</td>
128
-            <td colspan="2">{{info.dise_name}}</td>
126
+            <td colspan="2" v-if="info.new_order.med_type == '990101'">{{"尿毒症(免费透析)"}}</td>
127
+            <td colspan="2" v-if="info.new_order.med_type == '14'">{{"慢性肾脏病5期"}}</td>
128
+
129 129
             <td width="150" colspan="2">出院主要诊断</td>
130
-            <td colspan="2">{{info.dise_name}}</td>
130
+            <td colspan="2" v-if="info.new_order.med_type == '990101'">{{"尿毒症(免费透析)"}}</td>
131
+            <td colspan="2" v-if="info.new_order.med_type == '14'">{{"慢性肾脏病5期"}}</td>
131 132
             <td width="150">结算时间</td>
132
-            <td colspan="2">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
133
+            <td colspan="2">{{info.new_order.setl_time}}</td>
133 134
           </tr>
134 135
           <tr>
135 136
             <td width="100">项目名称</td>
@@ -137,65 +138,102 @@
137 138
             <td width="200" colspan="2">符合政策范围</td>
138 139
             <td width="250" colspan="2">先行自付 </td>
139 140
             <td width="150">全自费</td>
140
-            <td colspan="2">超限价</td> 
141
+            <td colspan="2">超限价</td>
141 142
           </tr>
142
-          <tr v-if="info.treat_cost_total > 0">
143
+          <tr v-if="info.new_order.treat_cost_total > 0">
143 144
             <td width="100">治疗费</td>
144
-            <td width="200" colspan="2">{{info.treat_cost_total}}</td>
145
-            <td width="200" colspan="2">{{info.treatInscpTotal}}</td>
146
-            <td width="250" colspan="2">{{info.treat_cost_part_self_total}}</td>
147
-            <td width="150">{{info.treatSelfTotal}}</td>
148
-            <td colspan="2">{{info.treat_cost_self_total}}</td>
149
-          </tr>
150
-          <tr>
151
-            <td width="100">护理费</td>
152
-            <td width="200" colspan="2"></td>
153
-            <td width="200" colspan="2"></td>
154
-            <td width="250" colspan="2"></td>
155
-            <td width="150"></td>
156
-            <td colspan="2"></td>
145
+            <td width="200" colspan="2">{{info.new_order.treat_cost_total}}</td>
146
+            <td width="200" colspan="2">{{info.new_order.treatInscpTotal}}</td>
147
+            <td width="250" colspan="2">{{info.new_order.treat_cost_part_self_total}}</td>
148
+            <td width="150">{{info.new_order.treatSelfTotal}}</td>
149
+            <td colspan="2">{{info.new_order.treat_cost_self_total}}</td>
157 150
           </tr>
158
-          <tr v-if="info.material_cost_total > 0">
151
+          <tr v-if="info.new_order.material_cost_total > 0">
159 152
             <td width="100">卫生材料费</td>
160
-            <td width="200" colspan="2">{{info.material_cost_total}}</td>
161
-            <td width="200" colspan="2">{{info.materialInscpTotal}}</td>
162
-            <td width="250" colspan="2">{{info.material_cost_part_self_total}}</td>
163
-            <td width="150">{{info.materialSelfTotal}}</td>
164
-            <td colspan="2">{{info.material_cost_self_total}}</td>
153
+            <td width="200" colspan="2">{{info.new_order.material_cost_total}}</td>
154
+            <td width="200" colspan="2">{{info.new_order.materialInscpTotal}}</td>
155
+            <td width="250" colspan="2">{{info.new_order.material_cost_part_self_total}}</td>
156
+            <td width="150">{{info.new_order.materialSelfTotal}}</td>
157
+            <td colspan="2">{{info.new_order.material_cost_self_total}}</td>
165 158
           </tr>
166
-          <tr v-if="info.western_medicine_cost_total > 0">
159
+          <tr v-if="info.new_order.western_medicine_cost_total > 0">
167 160
             <td width="100">西药费</td>
168
-            <td width="200" colspan="2">{{info.western_medicine_cost_total}}</td>
169
-            <td width="200" colspan="2">{{info.westernMedicineInscpTotal}}</td>
170
-            <td width="250" colspan="2">{{info.western_medicine_cost_part_self_total}}</td>
171
-            <td width="150">{{info.westernMedicineSelfTotal}}</td>
172
-            <td colspan="2">{{info.western_medicine_cost_self_total}}</td>
161
+            <td width="200" colspan="2">{{info.new_order.western_medicine_cost_total}}</td>
162
+            <td width="200" colspan="2">{{info.new_order.westernMedicineInscpTotal}}</td>
163
+            <td width="250" colspan="2">{{info.new_order.western_medicine_cost_part_self_total}}</td>
164
+            <td width="150">{{info.new_order.westernMedicineSelfTotal}}</td>
165
+            <td colspan="2">{{info.new_order.western_medicine_cost_self_total}}</td>
166
+          </tr>
167
+
168
+
169
+          <tr v-if="info.new_order.chinese_traditional_medicine_cost_total > 0">
170
+            <td width="100">中成药</td>
171
+            <td width="200" colspan="2">{{info.new_order.chinese_traditional_medicine_cost_total}}</td>
172
+            <td width="200" colspan="2">{{info.new_order.chineseTraditionalInscpTotal}}</td>
173
+            <td width="250" colspan="2">{{info.new_order.chinese_traditional_medicine_cost_part_self_total}}</td>
174
+            <td width="150">{{info.new_order.chineseTraditionalSelfTotal}}</td>
175
+            <td colspan="2">{{info.new_order.chinese_traditional_medicine_cost_self_total}}</td>
173 176
           </tr>
177
+
178
+
179
+          <tr v-if="info.new_order.check_cost_total > 0">
180
+            <td width="100">检查费</td>
181
+            <td width="200" colspan="2">{{info.new_order.check_cost_total}}</td>
182
+            <td width="200" colspan="2">{{info.new_order.checkInscpTotal}}</td>
183
+            <td width="250" colspan="2">{{info.new_order.check_cost_part_self_total}}</td>
184
+            <td width="150">{{info.new_order.checkSelfTotal}}</td>
185
+            <td colspan="2">{{info.new_order.check_cost_self_total}}</td>
186
+          </tr>
187
+
188
+          <tr v-if="info.new_order.laboratory_cost_total > 0">
189
+            <td width="100">化验费</td>
190
+            <td width="200" colspan="2">{{info.new_order.laboratory_cost_total}}</td>
191
+            <td width="200" colspan="2">{{info.new_order.laboratoryInscpTotal}}</td>
192
+            <td width="250" colspan="2">{{info.new_order.laboratory_cost_part_self_total}}</td>
193
+            <td width="150">{{info.new_order.laboratorySelfTotal}}</td>
194
+            <td colspan="2">{{info.new_order.laboratory_cost_self_total}}</td>
195
+          </tr>
196
+
197
+
198
+
199
+          <tr v-if="info.new_order.operation_cost_total > 0">
200
+            <td width="100">手术费</td>
201
+            <td width="200" colspan="2">{{info.new_order.operation_cost_total}}</td>
202
+            <td width="200" colspan="2">{{info.new_order.operationInscpTotal}}</td>
203
+            <td width="250" colspan="2">{{info.new_order.operation_cost_part_self_total}}</td>
204
+            <td width="150">{{info.new_order.operationSelfTotal}}</td>
205
+            <td colspan="2">{{info.new_order.operation_cost_self_total}}</td>
206
+          </tr>
207
+
208
+
209
+
210
+
211
+
174 212
           <tr>
175 213
             <td width="100">金额合计</td>
176 214
             <td width="200" colspan="2">
177
-              {{(parseFloat(info.treat_cost_total) + parseFloat(info.material_cost_total) + 
178
-                  parseFloat(info.western_medicine_cost_total) ).toFixed(2) 
215
+              {{(parseFloat(info.new_order.treat_cost_total) + parseFloat(info.new_order.material_cost_total) +
216
+                  parseFloat(info.new_order.western_medicine_cost_total)+parseFloat(info.new_order.chinese_traditional_medicine_cost_total) + parseFloat(info.new_order.check_cost_total) +  parseFloat(info.new_order.laboratory_cost_total) + parseFloat(info.new_order.operation_cost_total)  ).toFixed(2)
179 217
               }}
180 218
             </td>
181 219
             <td width="200" colspan="2">
182
-              {{(parseFloat(info.treatInscpTotal) + parseFloat(info.materialInscpTotal) + 
183
-                  parseFloat(info.westernMedicineInscpTotal) ).toFixed(2) 
220
+              {{(parseFloat(info.new_order.treatInscpTotal) + parseFloat(info.new_order.materialInscpTotal) +
221
+                  parseFloat(info.new_order.westernMedicineInscpTotal) +  parseFloat(info.new_order.chineseTraditionalInscpTotal) + parseFloat(info.new_order.laboratoryInscpTotal) + parseFloat(info.new_order.checkInscpTotal) +  parseFloat(info.new_order.operationInscpTotal) ).toFixed(2)
184 222
               }}
185 223
             </td>
186 224
             <td width="250" colspan="2">
187
-              {{(parseFloat(info.treat_cost_part_self_total) + parseFloat(info.material_cost_part_self_total) + 
188
-                  parseFloat(info.western_medicine_cost_part_self_total) ).toFixed(2) 
225
+              {{(parseFloat(info.new_order.treat_cost_part_self_total) + parseFloat(info.new_order.material_cost_part_self_total) +
226
+                  parseFloat(info.new_order.western_medicine_cost_part_self_total) + parseFloat(info.new_order.chinese_traditional_medicine_cost_part_self_total) + parseFloat(info.new_order.check_cost_part_self_total) + parseFloat(info.new_order.laboratory_cost_part_self_total) +  parseFloat(info.new_order.operation_cost_part_self_total)  ).toFixed(2)
189 227
               }}
190 228
             </td>
191 229
             <td width="150">
192
-              {{(parseFloat(info.treatSelfTotal) + parseFloat(info.materialSelfTotal) + 
193
-                  parseFloat(info.westernMedicineSelfTotal) ).toFixed(2) 
230
+              {{(parseFloat(info.new_order.treatSelfTotal) + parseFloat(info.new_order.materialSelfTotal) +
231
+                  parseFloat(info.new_order.westernMedicineSelfTotal) + parseFloat(info.new_order.chineseTraditionalSelfTotal) + parseFloat(info.new_order.checkSelfTotal) +parseFloat(info.new_order.laboratorySelfTotal)  +  parseFloat(info.new_order.operationSelfTotal) ).toFixed(2)
194 232
               }}
195 233
             </td>
196 234
             <td colspan="2">
197
-              {{(parseFloat(info.treat_cost_self_total) + parseFloat(info.material_cost_self_total) + 
198
-                  parseFloat(info.western_medicine_cost_self_total) ).toFixed(2) 
235
+              {{(parseFloat(info.new_order.treat_cost_self_total) + parseFloat(info.new_order.material_cost_self_total) +
236
+                  parseFloat(info.new_order.western_medicine_cost_self_total) + parseFloat(info.new_order.chinese_traditional_medicine_cost_self_total) + parseFloat(info.new_order.check_cost_self_total) + parseFloat(info.new_order.laboratory_cost_self_total)  +  parseFloat(info.new_order.operation_cost_self_total)  ).toFixed(2)
199 237
               }}
200 238
             </td>
201 239
           </tr>
@@ -205,15 +243,15 @@
205 243
               {{info.new_order.act_pay_dedc}}
206 244
             </td>
207 245
             <td colspan="2">基本统筹基金支付</td>
208
-            <td colspan="3">{{info.hifp_pay}}</td>
246
+            <td colspan="3">{{info.new_order.hifp_pay}}</td>
209 247
           </tr>
210 248
           <tr>
211 249
             <td colspan="3">大病基金支付</td>
212 250
             <td colspan="2">
213
-              {{info.hifmi_pay}}
251
+              {{info.new_order.hifmi_pay}}
214 252
             </td>
215 253
             <td colspan="2">医疗救助基金支付</td>
216
-            <td colspan="3">{{info.maf_pay}}</td>
254
+            <td colspan="3">{{info.new_order.maf_pay}}</td>
217 255
           </tr>
218 256
           <tr>
219 257
             <td colspan="3">重大病疾病补充保险支付</td>
@@ -227,9 +265,9 @@
227 265
           </tr>
228 266
           <tr>
229 267
             <td colspan="3">其他基金支付</td>
230
-            <td colspan="2">{{info.oth_pay}}</td>
268
+            <td colspan="2">{{info.new_order.oth_pay}}</td>
231 269
             <td colspan="2">个人帐户支付</td>
232
-            <td colspan="3">{{info.acct_pay?info.acct_pay.toFixed(2):0}}</td>
270
+            <td colspan="3">{{info.new_order.acct_pay?info.new_order.acct_pay.toFixed(2):0}}</td>
233 271
           </tr>
234 272
           <tr>
235 273
             <td colspan="3">医院垫付金额</td>
@@ -243,8 +281,8 @@
243 281
           </tr>
244 282
           <tr>
245 283
             <td colspan="10" style="text-align: left;">
246
-              本次就医:总费用:{{info.medfee_sumamt}}元&nbsp; 基金支付:{{info.fund_pay_sumamt}}元 &nbsp;个人帐户:{{info.acct_pay?info.acct_pay.toFixed(2):0}}元 &nbsp;
247
-              共济帐户:0元 &nbsp;个人现金:{{info.new_order.psn_cash_pay}}元 &nbsp; 账户余额:0
284
+              本次就医:总费用:{{info.new_order.medfee_sumamt}}元&nbsp; 基金支付:{{info.new_order.fund_pay_sumamt}}元 &nbsp;个人帐户:{{info.new_order.acct_pay?info.new_order.acct_pay.toFixed(2):0}}元 &nbsp;
285
+              共济帐户:0元 &nbsp;个人现金:{{info.new_order.psn_cash_pay}}元 &nbsp; 账户余额:{{info.new_order.blac}}
248 286
             </td>
249 287
           </tr>
250 288
           <tr>

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/privateChargePrint.vue ファイルの表示

@@ -9,7 +9,7 @@
9 9
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10694">江西省社会医疗保险医疗费用结算单</div>
10 10
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10489">湖北省社会医疗保险医疗费用结算单</div>
11 11
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10731">医疗费用结算单</div>
12
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10635 || this.$store.getters.xt_user.org_id == 0">河北省社会医疗保险医疗费用结算单</div>
12
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10635 || this.$store.getters.xt_user.org_id == 0">江西省社会医疗保险医疗费用结算单</div>
13 13
 
14 14
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10489 && this.$store.getters.xt_user.org_id != 10515 &&
15 15
                   this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10188 &&

+ 25 - 25
src/xt_pages/outpatientCharges/summary.vue ファイルの表示

@@ -588,31 +588,31 @@
588 588
                 </tr>
589 589
               </table>
590 590
             </div>
591
-            <div>
592
-              <table class="table" border="1" style="border-collapse: collapse;text-align: center;width: 100%;">
593
-                <tr>
594
-                  <td>单号</td>
595
-                  <td>卡号</td>
596
-                  <td>姓名</td>
597
-                  <td>年龄</td>
598
-                  <td>性别</td>
599
-                  <td>收费金额</td>
600
-                  <td>收费时间</td>
601
-                  <td>类型</td>
602
-                </tr>
603
-                <tr v-for="item in tableData2">
604
-                  <td>{{item.number}}</td>
605
-                  <td>{{item.certno}}</td>
606
-                  <td>{{item.psn_name}}</td>
607
-                  <td>{{item.patient.age}}</td>
608
-                  <td v-if="item.gend == 1">男</td>
609
-                  <td v-if="item.gend != 1">女</td>
610
-                  <td>{{item.medfee_sumamt}}</td>
611
-                  <td>{{item.setl_time}}</td>
612
-                  <td></td>
613
-                </tr>
614
-              </table>
615
-            </div>
591
+<!--            <div>-->
592
+<!--              <table class="table" border="1" style="border-collapse: collapse;text-align: center;width: 100%;">-->
593
+<!--                <tr>-->
594
+<!--                  <td>单号</td>-->
595
+<!--                  <td>卡号</td>-->
596
+<!--                  <td>姓名</td>-->
597
+<!--                  <td>年龄</td>-->
598
+<!--                  <td>性别</td>-->
599
+<!--                  <td>收费金额</td>-->
600
+<!--                  <td>收费时间</td>-->
601
+<!--                  <td>类型</td>-->
602
+<!--                </tr>-->
603
+<!--                <tr v-for="item in tableData2">-->
604
+<!--                  <td>{{item.number}}</td>-->
605
+<!--                  <td>{{item.certno}}</td>-->
606
+<!--                  <td>{{item.psn_name}}</td>-->
607
+<!--                  <td>{{item.patient.age}}</td>-->
608
+<!--                  <td v-if="item.gend == 1">男</td>-->
609
+<!--                  <td v-if="item.gend != 1">女</td>-->
610
+<!--                  <td>{{item.medfee_sumamt}}</td>-->
611
+<!--                  <td>{{item.setl_time}}</td>-->
612
+<!--                  <td></td>-->
613
+<!--                </tr>-->
614
+<!--              </table>-->
615
+<!--            </div>-->
616 616
           </div>
617 617
 
618 618
         </div>

+ 34 - 17
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue ファイルの表示

@@ -255,10 +255,15 @@ export default {
255 255
       }  
256 256
      
257 257
       var total = (total_one_price + total_two_price -total_three_price-total_four_price + total_five_price).toFixed(2)
258
+      if(total >0){
259
+        return ""
260
+      }else{
261
+        return total
262
+      }
258 263
        
259
-       return total
260 264
     },
261 265
     drugAddInfoOnePirce(arr,min_number,min_unit,max_unit,arr2){
266
+      
262 267
         var total = 0
263 268
         var totalone_price = 0
264 269
         var total_two_price = 0
@@ -268,14 +273,18 @@ export default {
268 273
           }
269 274
         }
270 275
         if(arr2!=null && arr2.length >0){
271
-          for(let i=0;i<arr2.length;i++){
272
-            total_two_price += arr2[i].count * arr[i].price
276
+          for(let i=0;i<arr2.length;i++){ 
277
+            total_two_price += arr2[i].count * arr2[i].price
273 278
           }
274 279
         }
275 280
         total = totalone_price + total_two_price
276 281
 
282
+        if(total>0){
283
+          return total.toFixed(2)
284
+        }else{
285
+          return ""
286
+        }
277 287
         
278
-        return total
279 288
     },
280 289
     getDrugOutPriceOne(arr,min_number,min_unit,max_unit,arr2,arr3){
281 290
     var total = 0
@@ -290,29 +299,35 @@ export default {
290 299
     }
291 300
     if(arr2!=null && arr2.length>0){
292 301
       for(let i=0;i<arr2.length;i++){
293
-        total_two_price +=arr2[i].count * arr[i].price
302
+        total_two_price +=arr2[i].count * arr2[i].price
294 303
       }
295 304
     }
296 305
     if(arr3!=null && arr3.length>0){
297 306
       for(let i=0;i<arr3.length;i++){
298
-        total_three_price +=arr3[i].count * arr[i].price
307
+        total_three_price +=arr3[i].count * arr3[i].price
299 308
       }
300 309
     }
301 310
  
302 311
     total = (totalone_price + total_two_price - total_three_price).toFixed(2)
303
-
304
-    return total
312
+    if(total >0){
313
+      return total
314
+    }else{
315
+      return ""
316
+    }
317
+    
305 318
    },
306 319
    GetDrugOverOnePrice(totalone,totaltwo,totalthree,min_number,min_unit,max_unit){
307 320
 
308
-    console.log("hahhahha",totalone)
309
-    console.log("totaltwo",totaltwo)
310
-    console.log("totalthree",totalthree)
311
-      var total = 0
312
-      
313
-      total = (totalone + totaltwo - totalthree).toFixed(2)
314
-       
315
-      return total
321
+   
322
+     var total = 0
323
+      total = (parseFloat(totalone)  + parseFloat(totaltwo)  - parseFloat(totalthree))
324
+      console.log("total-=---------------",total)
325
+      if(total >0){
326
+        return total.toFixed(2)
327
+      }else{
328
+        return ""
329
+      }
330
+     
316 331
        
317 332
     },
318 333
     changeStorehouseName(){
@@ -540,7 +555,7 @@ export default {
540 555
            
541 556
             }
542 557
 
543
-            console.log("list23323223322332232323322323wode",list)
558
+           
544 559
             for(let i=0;i<list.length;i++){
545 560
               list[i].last_price_in = 0
546 561
               list[i].drugAddOne= 0
@@ -580,6 +595,7 @@ export default {
580 595
               }else if(this.org_id == 0 || this.org_id == 10644){
581 596
                 list[i].drugAddPrice = "/"
582 597
                 list[i].drugAddSalePrice = this.drugAddInfoOnePirce(list[i].DrugWarehouseInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryProfit)
598
+                console.log("本期增加加淀粉",list[i].drugAddSalePrice)
583 599
               } else{
584 600
                 list[i].drugAddPrice = "/"
585 601
                 list[i].drugAddSalePrice = "/"
@@ -613,6 +629,7 @@ export default {
613 629
                 list[i].overDrugPrice = list[i].retail_price
614 630
                 list[i].oveDrugSaleMoney = (list[i].overDrugOne * list[i].retail_price).toFixed(2)
615 631
             }else if(this.org_id == 0 || this.org_id ==10644){
632
+              console.log("加个2323323",list[i].drugAddSalePrice)
616 633
                 list[i].overDrugPrice = ""
617 634
                 list[i].oveDrugSaleMoney = this.GetDrugOverOnePrice(list[i].drugSaleMoney,list[i].drugAddSalePrice,list[i].drugOutSalePrice,list[i].min_number,list[i].min_unit,list[i].max_unit)
618 635
             } else{

+ 63 - 43
src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue ファイルの表示

@@ -382,6 +382,7 @@ export default {
382 382
                 }else if(this.org_id == 0 || this.org_id ==10644){
383 383
                   list[i].drugAddPrice = "/"
384 384
                   list[i].drugAddSalePrice = this.drugAddInfoOnePirce(list[i].DrugWarehouseInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryProfit)
385
+                  console.log("本期增加加淀粉",list[i].drugAddSalePrice)
385 386
                 } else{
386 387
                   list[i].drugAddPrice = "/"
387 388
                   list[i].drugAddSalePrice = "/"
@@ -1525,62 +1526,81 @@ export default {
1525 1526
          }
1526 1527
       }  
1527 1528
      
1528
-      var total = (total_one_price + total_two_price -total_three_price-total_four_price + total_five_price).toFixed(2)
1529
+      var total = (total_one_price + total_two_price -total_three_price-total_four_price + total_five_price)
1530
+       
1531
+      if(total >0){
1532
+        return total.toFixed(2)
1533
+      }else{
1534
+        return ""
1535
+      }
1529 1536
        
1530
-       return total
1531 1537
     },
1532 1538
     drugAddInfoOnePirce(arr,min_number,min_unit,max_unit,arr2){
1533
-        var total = 0
1534
-        var totalone_price = 0
1535
-        var total_two_price = 0
1536
-        if(arr!=null && arr.length > 0){
1537
-          for(let i=0;i<arr.length;i++){
1538
-            totalone_price += arr[i].count * arr[i].price
1539
-          }
1539
+      
1540
+      var total = 0
1541
+      var totalone_price = 0
1542
+      var total_two_price = 0
1543
+      if(arr!=null && arr.length > 0){
1544
+        for(let i=0;i<arr.length;i++){
1545
+          totalone_price += arr[i].count * arr[i].price
1540 1546
         }
1541
-        if(arr2!=null && arr2.length >0){
1542
-          for(let i=0;i<arr2.length;i++){
1543
-            total_two_price += arr2[i].count * arr[i].price
1544
-          }
1547
+      }
1548
+      if(arr2!=null && arr2.length >0){
1549
+        for(let i=0;i<arr2.length;i++){ 
1550
+          total_two_price += arr2[i].count * arr2[i].price
1545 1551
         }
1546
-        total = totalone_price + total_two_price
1552
+      }
1553
+      total = totalone_price + total_two_price
1547 1554
 
1548
-        
1549
-        return total
1550
-    },
1555
+      if(total>0){
1556
+        return total.toFixed(2)
1557
+      }else{
1558
+        return ""
1559
+      }
1560
+      
1561
+   },
1551 1562
     getDrugOutPriceOne(arr,min_number,min_unit,max_unit,arr2,arr3){
1552
-    var total = 0
1553
-    var totalone_price = 0
1554
-    var total_two_price = 0
1555
-    var total_three_price = 0
1556
-   
1557
-    if(arr!=null&&arr.length > 0){
1558
-      for(let i=0;i<arr.length;i++){
1559
-        totalone_price +=arr[i].count * arr[i].price
1563
+      var total = 0
1564
+      var totalone_price = 0
1565
+      var total_two_price = 0
1566
+      var total_three_price = 0
1567
+    
1568
+      if(arr!=null&&arr.length > 0){
1569
+        for(let i=0;i<arr.length;i++){
1570
+          totalone_price +=arr[i].count * arr[i].price
1571
+        }
1560 1572
       }
1561
-    }
1562
-    if(arr2!=null && arr2.length>0){
1563
-      for(let i=0;i<arr2.length;i++){
1564
-        total_two_price +=arr2[i].count * arr[i].price
1573
+      if(arr2!=null && arr2.length>0){
1574
+        for(let i=0;i<arr2.length;i++){
1575
+          total_two_price +=arr2[i].count * arr2[i].price
1576
+        }
1565 1577
       }
1566
-    }
1567
-    if(arr3!=null && arr3.length>0){
1568
-      for(let i=0;i<arr3.length;i++){
1569
-        total_three_price +=arr3[i].count * arr[i].price
1578
+      if(arr3!=null && arr3.length>0){
1579
+        for(let i=0;i<arr3.length;i++){
1580
+          total_three_price +=arr3[i].count * arr3[i].price
1581
+        }
1570 1582
       }
1571
-    }
1572
- 
1573
-    total = (totalone_price + total_two_price - total_three_price).toFixed(2)
1574
-
1575
-    return total
1583
+  
1584
+      total = (totalone_price + total_two_price - total_three_price)
1585
+      if(total >0){
1586
+        return total.toFixed(2)
1587
+      }else{
1588
+        return ""
1589
+      }
1590
+    
1576 1591
    },
1577 1592
    GetDrugOverOnePrice(totalone,totaltwo,totalthree,min_number,min_unit,max_unit){
1593
+      console.log("totalone----------------",totalone)
1594
+      console.log("totaltwo----------------",totalone)
1595
+      console.log("totalthree----------------",totalthree)
1578 1596
       var total = 0
1579
-      
1580
-      total = (totalone + totaltwo - totalthree).toFixed(2)
1581
-       
1582
-      return total
1583
-       
1597
+      total = totalone  + totaltwo  - totalthree
1598
+      if(total >0 || total!="NaN"){
1599
+        console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
1600
+        return total.toFixed(2)
1601
+      }else{
1602
+        return ""
1603
+      }
1584 1604
     },
1585 1605
    },
1586 1606
     created(){

+ 4 - 4
src/xt_pages/user/components/PatientSidebar.vue ファイルの表示

@@ -179,10 +179,10 @@ export default {
179 179
             //   name: '3-3',
180 180
             //   label: '体格检查新'
181 181
             // },
182
-            {
183
-              name: '3-5',
184
-              label: '病程记录新'
185
-            },
182
+            // {
183
+            //   name: '3-5',
184
+            //   label: '病程记录新'
185
+            // },
186 186
             {
187 187
               name: '1-11',
188 188
               label: '首次病程记录'

+ 4 - 4
src/xt_pages/user/courseOfDisease_new.vue ファイルの表示

@@ -351,9 +351,8 @@
351 351
         dialysisOrderList:[],
352 352
         patient:{},
353 353
         AuToShow:false,
354
-
355 354
         num:"",
356
-        longAdvice:[]
355
+        longAdvice:[],
357 356
       //   name:"",
358 357
       //  gander:"",
359 358
       //  age:0,
@@ -1245,7 +1244,7 @@
1245 1244
 
1246 1245
             this.inpectionList = inpectionList
1247 1246
             
1248
-            this.patient = {}
1247
+           
1249 1248
             var patient = response.data.data.patient
1250 1249
            
1251 1250
             if(patient.gender == 1){
@@ -1404,7 +1403,8 @@
1404 1403
             
1405 1404
            
1406 1405
            var longAdvice = response.data.data.longAdvice
1407
-           console.log("longAdvice-------------------------",longAdvice)
1406
+        
1407
+           this.longAdvice = []
1408 1408
            this.longAdvice = longAdvice
1409 1409
 
1410 1410
             this.auto_dialog  =  true

File diff suppressed because it is too large
+ 39 - 937
src/xt_pages/user/text_content.vue


+ 13 - 13
src/xt_permission.js ファイルの表示

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))