瀏覽代碼

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

XMLWAN 4 年之前
父節點
當前提交
b3ef5121dc

+ 4 - 4
src/xt_pages/outpatientCharges/components/registerDialog.vue 查看文件

@@ -79,7 +79,7 @@
79 79
 
80 80
       <el-form-item label="处方类型:" prop="p_type" :validate-event="is_Name">
81 81
         <el-select style="margin-right:5px;width:100px;" v-model="form.p_type" placeholder=""
82
-        >
82
+                   >
83 83
           <el-option
84 84
             v-for="(item,index) in registers"
85 85
             :key="index"
@@ -291,9 +291,9 @@
291 291
           value: 6,
292 292
           label: "城乡居民大病医疗保险"
293 293
         }, {
294
-          value: 7,
295
-          label: "生育保险"
296
-        }],
294
+            value: 7,
295
+            label: "生育保险"
296
+          }],
297 297
         register: [{
298 298
           value: 1,
299 299
           label: '普通'

文件差異過大導致無法顯示
+ 505 - 552
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue


+ 2 - 2
src/xt_pages/outpatientCharges/template/printOne.vue 查看文件

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

+ 465 - 179
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue 查看文件

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

+ 5 - 5
src/xt_pages/workforce/remind_print.vue 查看文件

@@ -59,8 +59,8 @@
59 59
                   {{modeOptions[main_collection.mode_id].name}}
60 60
                 </td>
61 61
                 <td :width="td_1_width">
62
-                  <span v-if="org_id!=9987">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
63
-                  {{main_collection.prescription.dialysis_dialyszers}} 
62
+                  <span v-if="org_id!=9987">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span>
63
+                  {{main_collection.prescription.dialysis_dialyszers}}
64 64
                   <span v-if="main_collection.prescription.dialysis_dialyszers!=''&& main_collection.prescription.dialysis_irrigation!='' ">/</span>
65 65
                   <span v-if="main_collection.prescription.dialysis_irrigation!=''">{{main_collection.prescription.dialysis_irrigation}}</span>
66 66
 
@@ -128,7 +128,7 @@
128 128
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
129 129
       this.week_type = this.$route.query.week_type
130 130
       this.week_time  = this.$route.query.week_time
131
-      
131
+
132 132
       const params = {
133 133
           week_type:this.week_type,
134 134
           week_time:this.week_time,
@@ -311,7 +311,7 @@
311 311
         }else{
312 312
           var str = year + "年" + month + "月" + day + "日  " + days;
313 313
           return str;
314
-        } 
314
+        }
315 315
       },
316 316
       compare(property) {
317 317
         return function (a, b) {
@@ -321,7 +321,7 @@
321 321
         }
322 322
       },
323 323
     }
324
-   
324
+
325 325
   }
326 326
 </script>
327 327