see999 3 years ago
parent
commit
48dd073bd9

+ 2 - 2
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -22,9 +22,9 @@
22 22
 
23 23
 <script>
24 24
   import printOne from './listTemplate/printOne'
25
+  import printTwo from './listTemplate/printTwo'
25 26
   import { getHisOrderDetail } from '@/api/his/his'
26 27
   import { uParseTime } from '@/utils/tools'
27
-  import printTwo from './statementTemplate/printTwo'
28 28
   import axios from 'axios'
29 29
 
30 30
   export default {
@@ -181,7 +181,7 @@
181 181
           })
182 182
         }else{
183 183
           const style =
184
-          '@media print {#statement-print{font-size:12px;width:600px;margin:0 auto;}.statementTitle{font-size: 22px;text-align: center;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
184
+          '@media print {#statement-print{font-size:12px;width:800px;margin:0 auto;}.statementTitle{font-size: 22px;text-align: center;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
185 185
           printJS({
186 186
             printable: "statement-print",
187 187
             type: "html",

+ 196 - 0
src/xt_pages/outpatientCharges/listTemplate/printTwo.vue View File

@@ -0,0 +1,196 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '310'">珠海市职工基本医疗保险门慢就医结算单</div>
4
+    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '390'">珠海市城乡居民基本医疗保险门慢就医结算单</div>
5
+
6
+    <div style="display:flex">
7
+      <div style="width:70%">医疗机构名称:{{info.fixmedins_name}}</div>
8
+      <div style="width:30%" v-if="info.hosp_lv == '1'">医院等级:三级特等</div>
9
+      <div style="width:30%" v-if="info.hosp_lv == '2'">医院等级:三级甲等</div>
10
+      <div style="width:30%" v-if="info.hosp_lv == '3'">医院等级:三级乙等</div>
11
+      <div style="width:30%" v-if="info.hosp_lv == '4'">医院等级:三级丙等</div>
12
+      <div style="width:30%" v-if="info.hosp_lv == '5'">医院等级:二级甲等</div>
13
+      <div style="width:30%" v-if="info.hosp_lv == '6'">医院等级:二级乙等</div>
14
+      <div style="width:30%" v-if="info.hosp_lv == '7'">医院等级:二级丙等</div>
15
+      <div style="width:30%" v-if="info.hosp_lv == '8'">医院等级:一级甲等</div>
16
+      <div style="width:30%" v-if="info.hosp_lv == '9'">医院等级:一级乙等</div>
17
+      <div style="width:30%" v-if="info.hosp_lv == '10'">医院等级:一级丙等</div>
18
+      <div style="width:30%" v-if="info.hosp_lv == '11'">医院等级:无等级</div>
19
+
20
+    </div>
21
+    <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;padding-bottom:10px;">
22
+      <div style="flex:1;">单据编码:{{order_infos.number}}</div>
23
+      <div style="width:33%">就诊时间:{{getTime(order_infos.date)}}</div>
24
+      <div>金额单位:元</div>
25
+    </div>
26
+    <div style="display:flex">
27
+      <div style="width:50%">姓名:{{info.psn_name}}</div>
28
+      <div style="width:50%">个人电脑号:{{info.psn_no}}</div>
29
+    </div>
30
+    <div style="display:flex">
31
+      <div style="width:50%">社保卡号</div>
32
+      <div style="width:50%">诊断:慢性肾脏病5期</div>
33
+    </div>
34
+    <div style="display:flex">
35
+      <div style="width:50%" v-if="info.psn_type == '11'">人员类别:在职</div>
36
+      <div style="width:50%" v-if="info.psn_type == '1101'">人员类别:职工在职</div>
37
+      <div style="width:50%" v-if="info.psn_type == '1102'">人员类别:公务员在职</div>
38
+      <div style="width:50%" v-if="info.psn_type == '1103'">人员类别:灵活就业人员在职</div>
39
+      <div style="width:50%" v-if="info.psn_type == '1160'">人员类别:地方其他扩展人员</div>
40
+      <div style="width:50%" v-if="info.psn_type == '12'">人员类别:退休人员</div>
41
+      <div style="width:50%" v-if="info.psn_type == '1201'">人员类别:职工退休</div>
42
+      <div style="width:50%" v-if="info.psn_type == '1202'">人员类别:公务员退休</div>
43
+      <div style="width:50%" v-if="info.psn_type == '1203'">人员类别:灵活就业人员退休</div>
44
+      <div style="width:50%" v-if="info.psn_type == '1260'">人员类别:地方其他扩展人员</div>
45
+      <div style="width:50%" v-if="info.psn_type == '13'">人员类别:离休</div>
46
+      <div style="width:50%" v-if="info.psn_type == '1300'">人员类别:离休人员</div>
47
+      <div style="width:50%" v-if="info.psn_type == '1360'">人员类别:地方其他扩展人员</div>
48
+      <div style="width:50%" v-if="info.psn_type == '14'">人员类别:居民(未成年)</div>
49
+      <div style="width:50%" v-if="info.psn_type == '1401'">人员类别:新生儿</div>
50
+      <div style="width:50%" v-if="info.psn_type == '1402'">人员类别:学龄前儿童</div>
51
+      <div style="width:50%" v-if="info.psn_type == '1403'">人员类别:中小学生</div>
52
+      <div style="width:50%" v-if="info.psn_type == '1404'">人员类别:大学生</div>
53
+      <div style="width:50%" v-if="info.psn_type == '1405'">人员类别:未成年(未入学)</div>
54
+      <div style="width:50%" v-if="info.psn_type == '15'">人员类别:居民(成年)</div>
55
+      <div style="width:50%" v-if="info.psn_type == '1501'">人员类别:普通居民(成年)</div>
56
+      <div style="width:50%" v-if="info.psn_type == '1560'">人员类别:地方其他扩展身份</div>
57
+      <div style="width:50%" v-if="info.psn_type == '16'">人员类别:居民(老年)</div>
58
+
59
+
60
+      <div style="width:50%">待遇类别:</div>
61
+    </div>
62
+    <div style="display:flex;padding:10px 0;border-top:1px solid #000;border-bottom:1px solid #000;">
63
+      <div style="width:20%;text-align:center;">医保编码</div>
64
+      <div style="width:20%;text-align:center;">项目名称</div>
65
+      <div style="width:10%;text-align:center;">单价</div>
66
+      <div style="width:10%;text-align:center;">数量</div>
67
+      <div style="width:10%;text-align:center;">金额</div>
68
+      <div style="width:10%;text-align:center;">先行自付金额</div>
69
+      <div style="width:10%;text-align:center;">自费</div>
70
+      <div style="width:10%;text-align:center;">自费比例</div>
71
+    </div>
72
+    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;" v-for="(item,index) in order_infos.order_infos"
73
+         :key="index">
74
+      <div style="width:20%;text-align:center;" v-if="item.advice_id > 0">{{ item.advice.drug.medical_insurance_number }}</div>
75
+      <div style="width:20%;text-align:center;" v-if="item.project_id > 0">{{ item.advice.project.medical_insurance_number }}</div>
76
+      <div style="width:20%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
77
+      <div style="width:20%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
78
+
79
+      <div style="width:10%;text-align:center;">{{item.pric}}</div>
80
+      <div style="width:10%;text-align:center;">{{item.cnt}}</div>
81
+      <div style="width:10%;text-align:center;">{{item.det_item_fee_sumamt}}</div>
82
+      <div style="width:10%;text-align:center;">{{item.preselfpay_amt}}</div>
83
+      <div style="width:10%;text-align:center;">{{item.fulamt_ownpay_amt}}</div>
84
+      <div style="width:10%;text-align:center;">{{item.selfpay_prop}}</div>
85
+    </div>
86
+    <div style="display:flex;border-bottom:1px solid #000;padding:20px 0 10px;">
87
+      <div style="width:70%;">合计:</div>
88
+      <div style="width:10%;text-align:center;">{{info.medfee_sumamt}}</div>
89
+      <div style="width:20%;"></div>
90
+    </div>
91
+    <div>医保基金支付金额:{{info.fund_pay_sumamt?info.fund_pay_sumamt:''}}</div>
92
+    <div>个人现金支付金额:{{info.psn_pay?info.psn_pay:''}}</div>
93
+    <div>其中</div>
94
+    <div style="display:flex;border-bottom:1px solid #000;padding-bottom:10px;">
95
+      <div>个人自付:</div>
96
+      <div>其中:1.乙类自付 {{info.preselfpay_amt?info.preselfpay_amt:''}}</div>
97
+      <div style="margin-left:20px;">2.自费 {{info.overlmt_selfpay?info.overlmt_selfpay:''}}</div>
98
+    </div>
99
+    <div style="display:flex;padding-top:10px;">
100
+      <div style="width:33%">参保人签名:</div>
101
+      <div style="width:33%">审核人:</div>
102
+      <div style="width:33%">医院盖章:</div>
103
+    </div>
104
+
105
+  </div>
106
+</template>
107
+<script>
108
+  import {uParseTime} from '@/utils/tools'
109
+  export default {
110
+    props: {
111
+      info: {
112
+        type: Object,
113
+        default: function () {
114
+          return {}
115
+        }
116
+      }, 
117
+      order_infos: {
118
+        type: Object,
119
+        default: function () {
120
+          return {}
121
+        }
122
+      }, 
123
+      p_admin: {
124
+        type: Object,
125
+        default: function () {
126
+          return {}
127
+        }
128
+      }, charge_admin: {
129
+        type: Object,
130
+        default: function () {
131
+          return {}
132
+        }
133
+      }
134
+    }, methods: {
135
+      getTime(val) {
136
+        if (val < 0) {
137
+          return ""
138
+        }
139
+        if (val == "") {
140
+          return ""
141
+        } else {
142
+          return uParseTime(val, '{y}-{m}-{d}')
143
+        }
144
+      },
145
+        getNowTime: function () {
146
+          let dateTime
147
+          let yy = new Date().getFullYear()
148
+          let mm = new Date().getMonth() + 1
149
+          let dd = new Date().getDate()
150
+          let hh = new Date().getHours()
151
+          let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
152
+            :
153
+            new Date().getMinutes()
154
+          let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
155
+            :
156
+            new Date().getSeconds()
157
+          dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
158
+          return dateTime
159
+        }
160
+      ,
161
+
162
+      }
163
+    }
164
+
165
+
166
+</script>
167
+
168
+
169
+<style lang="scss" scoped>
170
+  #statement-print{
171
+    width: 800px;
172
+    margin: 0 auto;
173
+  }
174
+  .statement-print {
175
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
176
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
177
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
178
+    margin-bottom: 20px;
179
+    padding: 20px 10px;
180
+  }
181
+
182
+  .statementTitle {
183
+    font-size: 22px;
184
+    text-align: center;
185
+    margin-bottom: 10px;
186
+  }
187
+
188
+  .statementTable {
189
+    width: 100%;
190
+    text-align: center;
191
+    border-collapse: collapse;
192
+    line-height: 40px;
193
+    font-size: 14px;
194
+    border-color: #000;
195
+  }
196
+</style>

+ 2 - 2
src/xt_pages/stock/stockOutOrderDetailPrint.vue View File

@@ -61,8 +61,8 @@
61 61
                           <div style="width:70px;">制单人:</div><div style="width:100px;"></div>
62 62
                         </div>
63 63
                         <div v-if="orgId == 10024" style="display:flex;margin-top:1px;float:right;">
64
-                          <div style="width:70px;">科室:</div><div style="width:100px;"></div>
65
-                          <div style="width:70px;">领料人:</div><div style="width:100px;"></div>
64
+                          <div style="width:50px;">科室:</div><div style="width:60px;"></div>
65
+                          <div style="width:70px;">领料人:</div><div style="width:60px;"></div>
66 66
                           <div style="width:80px;">审批:</div><div style="width:100px;"></div>
67 67
                           <div style="width:50px;">会计:</div><div style="width:100px;">徐立琼</div>
68 68
                           <div style="width:50px;">审核:</div><div style="width:100px;">徐立琼</div>