yq1 11 ヶ月 前
コミット
b638111b03

+ 7 - 3
src/xt_pages/outpatientDoctorStation/treatPrint.vue ファイルの表示

@@ -16,9 +16,11 @@
16 16
         <!-- 此下条为本地开发下页面 -->
17 17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
18 18
         <!-- org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0 -->
19
-        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4 && org_id != 10375 && org_id != 10610  && org_id != 0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
19
+        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4 && org_id != 10375 && org_id != 10610 &&org_id != 10598 &&org_id != 0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
20 20
         <printThree v-if=" org_id == 10375" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printThree>
21
-        <printTwo v-if="org_id == 10138 || org_id == 10278 || org_id ==10610 || org_id == 0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
21
+        <printTwo v-if="org_id == 10138 || org_id == 10278 || org_id ==10610 " v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
22
+        <printFour v-if="org_id == 10598 || org_id == 0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printFour>
23
+      
22 24
       </div>
23 25
   </div>
24 26
 </template>
@@ -36,6 +38,7 @@ import print from "print-js";
36 38
 import printOne from "./treatTemplate/printOne"
37 39
 import printTwo from "./treatTemplate/printTwo"
38 40
 import printThree from "./treatTemplate/printThree.vue"
41
+import printFour from './treatTemplate/printFour'
39 42
 import { getAllDoctorList,getAllHisPatientList,getPrescriptionPrint } from "@/api/project/project"
40 43
 export default {
41 44
   name: "dialysisPrintOrder",
@@ -43,7 +46,8 @@ export default {
43 46
     BreadCrumb,
44 47
     printOne,
45 48
     printTwo,
46
-    printThree
49
+    printThree,
50
+    printFour
47 51
   },
48 52
   props:{
49 53
     paramsObj:Object,

+ 602 - 0
src/xt_pages/outpatientDoctorStation/treatTemplate/printFour.vue ファイルの表示

@@ -0,0 +1,602 @@
1
+<template>
2
+    <div id='prescriptionPrint'>
3
+        <div id='prescription-print' class="prescription-print" v-for="(item,index) in advicePrint" :key="index">
4
+            <div style="display:flex;justify-content: space-between;font-weight:bold;align-items:center;" >
5
+                <div style="width:200px;display:flex;justify-content: space-between;font-weight:bold;">
6
+                    <span>费别</span>
7
+                    <span>自费</span>
8
+                    <span>公费</span>
9
+                    <span>保险</span>
10
+                    <span>其他</span>
11
+                </div>
12
+                <div v-if="org_id == 10460">就诊日期:{{getTime(item.pre_time,'{y}-{m}-{d}')}}</div>
13
+                <div v-else>就诊日期:{{getTime(item.pre_time,'{y}-{m}-{d}')}}</div>
14
+            </div>
15
+            <div class="printTitle">{{orgname}}</div>
16
+            <div class="printTitle">处方、治疗单</div>
17
+            <!-- class="infoTitle" -->
18
+            <div style="display: flex; margin-top: 10px; line-height: 24px;padding: 0 10px;">
19
+                <div style="width: 300px;">门诊编号:</div>
20
+                <div style="width: 300px;">电脑号:</div>
21
+            </div>
22
+
23
+            <div class="infoMain">
24
+                <div style="margin-bottom: 10px;width:25%">姓名:{{item.patient.name}}</div>
25
+                <div style="margin-bottom: 10px;width:25%">性别:
26
+                    <span v-if="item.patient.gender == 1">男</span>
27
+                    <span v-if="item.patient.gender == 2">女</span>
28
+                </div>
29
+                <div style="margin-bottom: 10px;width:25%">年龄:
30
+                    <span>{{getAge(item.patient)?getAge(item.patient):""}}岁</span>
31
+                </div>
32
+                <div style="margin-bottom: 10px;width:25%">参保类型:{{hisPatient.social_type?hisPatient.social_type:''}}
33
+                </div>
34
+                <div style="margin-bottom: 10px;width:50%;">联系电话:{{item.patient.phone}}</div>
35
+                <div style="width:50%;">地址:{{ item.patient.home_address }}
36
+                  <!-- {{item.patient.unit_address}} -->
37
+                </div>
38
+                <div style="width:100%;">诊断:{{getDiagnosis(item.info.diagnosis)}}</div>
39
+            </div>
40
+
41
+            <div class="prescriptionBox" style="min-height: 720px;">
42
+                <table style="width:100%;text-align:center;line-height:25px;">
43
+                    <tr>
44
+                        <td>序号</td>
45
+                        <td>项目名称</td>
46
+                        <td>数量</td>
47
+                        <td>单位</td>
48
+                        <td>单价</td>
49
+                        <td>部位</td>
50
+                        <td>备注</td>
51
+                        <td>天数</td>
52
+                    </tr>
53
+                    <tr v-for="(it,index) in item.project" :key="index">
54
+                        <td>{{index+1}}</td>
55
+                        <td>{{it.type == 2 ? it.project.project_name : it.good_info.good_name}}</td>
56
+                        <td>{{it.count}}</td>
57
+                        <td>{{getUnit(it.unit)}}</td>
58
+                        <td>{{it.price.toFixed(2)}}</td>
59
+                        <td></td>
60
+                        <td>{{it.remark}}</td>
61
+                        <td>{{it.day}}</td>
62
+
63
+                    </tr>
64
+
65
+                    <tr v-for="(it,index) in item.advices" :key="index">
66
+                        <td>{{index+1}}</td>
67
+                        <td>{{it.advice_name?it.advice_name:''}}</td>
68
+                        <td>{{it.single_dose?it.single_dose:''}}</td>
69
+                        <td>{{it.single_dose_unit?it.single_dose_unit:''}}</td>
70
+                        <td>{{it.price.toFixed(2)}}</td>
71
+                        <td></td>
72
+                        <td>{{it.remark}}</td>
73
+                        <td>{{it.day}}</td>
74
+
75
+                    </tr>
76
+                </table>
77
+            </div>
78
+
79
+            <div style="display: flex; margin-top: 10px; line-height: 24px;padding: 0 10px;">
80
+                <div style="width: 300px;" v-if="org_id!=10088 && org_id!=0 && org_id!=10598">开单医生:{{item.doctor?item.doctor:''}}</div>
81
+                <div style="width: 300px;" v-if="org_id==10088 ">
82
+                  开单医生:
83
+                  <span
84
+                    style="width: 100px; display: inline-block"
85
+                    v-if="item.creator == ''"
86
+                  >
87
+                    {{ item.doctor ? item.doctor : "" }}
88
+                  </span>
89
+                    <span
90
+                    style="width: 100px; display: inline-block"
91
+                    v-else-if="doc_name != ''"
92
+                  >
93
+                    {{ doc_name }}
94
+                  </span>
95
+                  <img
96
+                    style="height: 30px"
97
+                    :src="setAdminUserES(item.creator,item.doctor)"
98
+                    alt=""
99
+                    srcset=""
100
+                    v-else
101
+                  />
102
+                </div>
103
+                <div style="width: 300px;" v-if="org_id==10598 || org_id==0">
104
+                  开单医生:
105
+                  <!-- <span
106
+                    style="width: 100px; display: inline-block"
107
+                    v-if="item.creator == ''"
108
+                  >
109
+                    {{ item.doctor ? item.doctor : "" }}
110
+                  </span>
111
+                    <span
112
+                    style="width: 100px; display: inline-block"
113
+                    v-else-if="doc_name != ''"
114
+                  >
115
+                    {{ doc_name }}
116
+                  </span> -->
117
+                  <img
118
+                    style="height: 30px"
119
+                    :src="setAdminUserES(item.creator,item.doctor)"
120
+                    alt=""
121
+                    srcset=""
122
+                  />
123
+                </div>
124
+                <div style="width: 300px;">签章:</div>
125
+                <div style="width: 300px;">费用:{{getTotalOne(item.id).toFixed(2)?getTotalOne(item.id).toFixed(2):''}}元</div>
126
+            </div>
127
+            <div v-if="org_id !=10478">
128
+              <table style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
129
+                  <tr>
130
+                      <td style="width:16%;">治疗时间</td>
131
+                      <td style="width:16%;"></td>
132
+                      <td style="width:16%;"></td>
133
+                      <td style="width:16%;"></td>
134
+                      <td style="width:16%;"></td>
135
+                      <td style="width:16%;"></td>
136
+                  </tr>
137
+                  <tr>
138
+                      <td style="width:16%;">医生签字</td>
139
+                      <td style="width:16%;"></td>
140
+                      <td style="width:16%;"></td>
141
+                      <td style="width:16%;"></td>
142
+                      <td style="width:16%;"></td>
143
+                      <td style="width:16%;"></td>
144
+                  </tr>
145
+                  <tr>
146
+                      <td style="width:16px;">患者签字</td>
147
+                      <td style="width:16px;"></td>
148
+                      <td style="width:16px;"></td>
149
+                      <td style="width:16px;"></td>
150
+                      <td style="width:16px;"></td>
151
+                      <td style="width:16px;"></td>
152
+                  </tr>
153
+              </table>
154
+            </div>
155
+        </div>
156
+
157
+
158
+        <!-- <div id='prescriptionPrint'>
159
+
160
+            <div v-for="(item,index) in advicePrint" :key="index">
161
+                <div id='prescription-print' class="prescription-print" style="page-break-after: always;">
162
+                    <div style="display:flex;justify-content: space-between;font-weight:bold;">
163
+                        <div style="width:200px;display:flex;justify-content: space-between;font-weight:bold;">
164
+                            <span>费别</span>
165
+                            <span>自费</span>
166
+                            <span>公费</span>
167
+                            <span>保险</span>
168
+                            <span>其他</span>
169
+                        </div>
170
+                        <div>就诊日期:{{getTime(item.ctime)}}</div>
171
+                    </div>
172
+
173
+                    <div class="printTitle">血液透析中心</div>
174
+
175
+                    <div class="printTitle">处方、治疗单</div>
176
+
177
+                    <div class="infoTitle">
178
+                        <div>门诊编号:</div>
179
+                        <div>电脑号:</div>
180
+                    </div>
181
+
182
+                    <div class="infoMain">
183
+                        <div style="margin-bottom: 10px;width:25%">姓名:{{item.patient.name}}</div>
184
+                        <div style="margin-bottom: 10px;width:25%">性别:
185
+                            <span v-if="item.patient.gender == 1">男</span>
186
+                            <span v-if="item.patient.gender == 2">女</span>
187
+                        </div>
188
+                        <div style="margin-bottom: 10px;width:25%">年龄:
189
+                            <span>{{item.patient.age}}</span>
190
+                        </div>
191
+                        <div style="margin-bottom: 10px;width:25%">参保类型:</div>
192
+                        <div style="margin-bottom: 10px;width:50%;">联系电话:{{item.patient.phone}}</div>
193
+                        <div style="width:50%;">地址:{{item.patient.unit_address}}</div>
194
+                        <div style="width:100%;">诊断:{{item.patient.diagnose}}</div>
195
+                    </div>
196
+
197
+                    <div class="prescriptionBox">
198
+                        <table style="width:100%;text-align:center;line-height:25px;">
199
+                            <tr>
200
+                                <td>序号</td>
201
+                                <td>项目名称</td>
202
+                                <td>数量</td>
203
+                                <td>单位</td>
204
+                                <td>单价</td>
205
+                                <td>部位</td>
206
+                                <td>备注</td>
207
+                                <td>天数</td>
208
+                            </tr>
209
+                            <tr v-for="(it,index) in item.project" :key="index">
210
+                                <td>{{index+1}}</td>
211
+                                <td>{{getProjectName(it.project_id)}}</td>
212
+                                <td>{{it.single_dose}}</td>
213
+                                <td>{{getUnit(it.unit)}}</td>
214
+                                <td>{{it.price}}</td>
215
+                                <td></td>
216
+                                <td>{{it.remark}}</td>
217
+                                <td>{{it.day}}</td>
218
+
219
+                            </tr>
220
+                        </table>
221
+                    </div>
222
+                    <div class="infoTitle">
223
+                        <div>开单医生:{{getDoctor(item.doctor)?getDoctor(item.doctor):""}}</div>
224
+                        <div>签章:</div>
225
+                    </div>
226
+                    <div class="actionBar">
227
+                        <div>执行医生:{{getDoctor(item.doctor)?getDoctor(item.doctor):""}}</div>
228
+                        <div>费用:</div>
229
+                    </div>
230
+                    <table style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
231
+                        <tr>
232
+                            <td style="width:16%;">治疗时间</td>
233
+                            <td style="width:16%;"></td>
234
+                            <td style="width:16%;"></td>
235
+                            <td style="width:16%;"></td>
236
+                            <td style="width:16%;"></td>
237
+                            <td style="width:16%;"></td>
238
+                        </tr>
239
+                        <tr>
240
+                            <td style="width:16%;">医生签字</td>
241
+                            <td style="width:16%;"></td>
242
+                            <td style="width:16%;"></td>
243
+                            <td style="width:16%;"></td>
244
+                            <td style="width:16%;"></td>
245
+                            <td style="width:16%;"></td>
246
+                        </tr>
247
+                        <tr>
248
+                            <td style="width:16px;">患者签字</td>
249
+                            <td style="width:16px;"></td>
250
+                            <td style="width:16px;"></td>
251
+                            <td style="width:16px;"></td>
252
+                            <td style="width:16px;"></td>
253
+                            <td style="width:16px;"></td>
254
+                        </tr>
255
+                    </table>
256
+                </div>
257
+
258
+            </div>
259
+
260
+        </div> -->
261
+    </div>
262
+</template>
263
+<script>
264
+  import { jsGetAge, uParseTime } from '@/utils/tools'
265
+  import { getAllDoctorList, getPrescriptionPrint } from '@/api/project/project'
266
+  import { getInitData } from '@/api/his/his'
267
+
268
+  export default {
269
+    props: {
270
+      patient_id: Number,
271
+      record_date: String,
272
+      prescription_id: Number,
273
+      ids: String
274
+    },
275
+    data() {
276
+      return {
277
+        doctorList: [],
278
+        advicePrint: {},
279
+        operatorMaps: {},
280
+        patient: {},
281
+        doc_name:"",
282
+        tableData: [],
283
+        prescriptionInfo: [],
284
+        projectList: [],
285
+        prescriptions: [],
286
+        settlement:
287
+          [
288
+            { value: 1, label: '医保' },
289
+            { value: 2, label: '自费' },
290
+            { value: 3, label: '公费' },
291
+            { value: 4, label: '农保' },
292
+            { value: 5, label: '会员' },
293
+            { value: 6, label: '职工' },
294
+            { value: 7, label: '合同' },
295
+            { value: 8, label: '医保自费' }
296
+
297
+          ],
298
+        hisPatient: {},
299
+        diagnoses: [],
300
+        org_id:''
301
+      }
302
+    },
303
+    methods: {
304
+      // 电子签名
305
+      setAdminUserES(id,name) {
306
+        if (id == 0) {
307
+          return "";
308
+        }
309
+        if (id in this.operatorMaps) {
310
+          return this.operatorMaps[id].url;
311
+        } else {
312
+          this.doc_name = name
313
+          return "";
314
+        }
315
+      },
316
+      getAge(patient){
317
+        var thisLen = patient.id_card_no.length
318
+        var birth = ''
319
+        if (thisLen == 15) {
320
+          birth = '19' + patient.id_card_no.substr(6, 6)
321
+        } else {
322
+          birth = patient.id_card_no.substr(6, 8)
323
+        }
324
+        var births =
325
+          birth.substr(0, 4) +
326
+          '-' +
327
+          birth.substr(4, 2) +
328
+          '-' +
329
+          birth.substr(6, 2)
330
+        return jsGetAge(births, '-')
331
+
332
+      },
333
+      printThisPage() {
334
+        var ptime = Math.round(new Date().getTime() / 1000)
335
+        this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
336
+
337
+        const style =
338
+          '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 1px;padding:0 10px;}.infoTitle p{width: 200px;}.otherInfo{display: flex;margin-top:10px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle p{width: 200px;}}'
339
+        printJS({
340
+          printable: 'prescription-print',
341
+          type: 'html',
342
+          style: style,
343
+          scanStyles: false
344
+        })
345
+      },
346
+      getAllDoctorList() {
347
+        getAllDoctorList().then(response => {
348
+          if (response.data.state == 1) {
349
+            var doctor = response.data.data.doctor
350
+
351
+            this.doctorList = doctor
352
+          }
353
+        })
354
+      },
355
+
356
+      getDoctor(id) {
357
+        var name = ''
358
+        for (let i = 0; i < this.doctorList.length; i++) {
359
+          if (id == this.doctorList[i].admin_user_id) {
360
+            name = this.doctorList[i].user_name
361
+          }
362
+        }
363
+        return name
364
+      },
365
+      getTime(value, temp) {
366
+        if (value != undefined) {
367
+          return uParseTime(value, temp)
368
+        }
369
+        return ''
370
+      },
371
+      getPrescriptionPrint() {
372
+        var params = {
373
+          patient_id: this.patient_id,
374
+          record_date: this.record_date,
375
+          prescription_id: this.prescription_id,
376
+          ids: this.ids,
377
+          p_type:2,
378
+        }
379
+        console.log('999999', params)
380
+        getPrescriptionPrint(params).then(response => {
381
+          if (response.data.state == 1) {
382
+            var advicePrint = response.data.data.advicePrint
383
+            console.log('adviceprint', advicePrint)
384
+            this.advicePrint = advicePrint
385
+            this.prescriptions = advicePrint
386
+            var projectlist = response.data.data.projectlist
387
+            console.log('所有项目列表', projectlist)
388
+            this.projectList = projectlist
389
+            this.hisPatient = response.data.data.hisPatient
390
+            this.doctorList_1 = response.data.data.eles;
391
+            console.log(this.doctorList_1, "医生列表");
392
+            if (this.doctorList_1.length > 0) {
393
+              var operatorsLen = this.doctorList_1.length;
394
+              for (var index = 0; index < operatorsLen; index++) {
395
+                this.$set(
396
+                  this.operatorMaps,
397
+                  this.doctorList_1[index].creator,
398
+                  this.doctorList_1[index]
399
+                );
400
+              }
401
+            }
402
+            this.advicePrint.map((item) => {
403
+              console.log(item.project.length);
404
+              if (item.project.length > 0) {
405
+                for (var i = item.project.length - 1; i >= 0; i--) {
406
+                  if (item.project[i].type == 2) {
407
+                    if (item.project[i].project.cost_classify == 3) {
408
+                      console.log("!1111111")
409
+                      item.project.splice(i, 1);
410
+                    }
411
+                  }
412
+                }
413
+              }
414
+            });
415
+
416
+          }
417
+        })
418
+      },
419
+      getProjectName(id) {
420
+        var project_name = ''
421
+        for (let i = 0; i < this.projectList.length; i++) {
422
+          if (id == this.projectList[i].id) {
423
+            project_name = this.projectList[i].project_name
424
+          }
425
+        }
426
+        return project_name
427
+      },
428
+      getUnit(id) {
429
+        var unit = ''
430
+        for (let i = 0; i < this.projectList.length; i++) {
431
+          if (id == this.projectList[i].id) {
432
+            unit = this.projectList[i].unit
433
+          }
434
+        }
435
+        return unit
436
+      },
437
+
438
+      getTotalOne(id) {
439
+
440
+        var total = 0
441
+        var addtotal = 0
442
+        for (let i = 0; i < this.prescriptions.length; i++) {
443
+          if (id == this.prescriptions[i].id) {
444
+            if (this.prescriptions[i].project != null) {
445
+              for (let a = 0; a < this.prescriptions[i].project.length; a++) {
446
+                total = total + this.prescriptions[i].project[a].price * this.prescriptions[i].project[a].count
447
+              }
448
+            }
449
+
450
+            if (this.prescriptions[i].additionalcharge != null) {
451
+              for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
452
+                addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
453
+              }
454
+            }
455
+            addtotal = Math.floor(addtotal * 100) / 100
456
+          }
457
+
458
+        }
459
+
460
+        for (let i = 0; i < this.prescriptions.length; i++) {
461
+          if (id == this.prescriptions[i].id) {
462
+            if (this.prescriptions[i].advices != null) {
463
+              for (let a = 0; a < this.prescriptions[i].advices.length; a++) {
464
+                total = total + this.prescriptions[i].advices[a].price * this.prescriptions[i].advices[a].prescribing_number
465
+              }
466
+            }
467
+
468
+            if (this.prescriptions[i].additionalcharge != null) {
469
+              for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
470
+                addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
471
+              }
472
+            }
473
+            addtotal = Math.floor(addtotal * 100) / 100
474
+          }
475
+        }
476
+
477
+        return total + addtotal
478
+      },
479
+      getInitData() {
480
+        getInitData().then(response => {
481
+          if (response.data.state == 1) {
482
+            this.diagnoses = response.data.data.diagnose
483
+            console.log('争端', this.diagnoses)
484
+          }
485
+        })
486
+      },
487
+      getDiagnosis(id) {
488
+        let arr = id.split(",");
489
+        var name = "";
490
+        for (let i = 0; i < this.diagnoses.length; i++) {
491
+          if (arr.indexOf(String(this.diagnoses[i].id)) > -1) {
492
+            name += this.diagnoses[i].class_name + " ";
493
+          }
494
+        }
495
+        return name
496
+      }
497
+    },
498
+    created() {
499
+      this.getInitData()
500
+      this.getAllDoctorList()
501
+      this.getPrescriptionPrint()
502
+      var xtuser = this.$store.getters.xt_user
503
+      this.orgname = xtuser.org.org_name
504
+      this.org_id = this.$store.getters.xt_user.org_id
505
+    },
506
+    watch: {
507
+      patient_id: function(val) {
508
+        console.log('101000010101010', this.patient_id, this.record_date, this.prescription_id)
509
+        //    this.getPrescriptionPrint()
510
+      },
511
+      ids: function(val) {
512
+        this.ids = val
513
+        console.log('this.idsids', this.ids)
514
+        this.getPrescriptionPrint()
515
+      }
516
+    }
517
+  }
518
+</script>
519
+
520
+
521
+<style lang="scss" scoped>
522
+    .prescription-print {
523
+        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
524
+        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
525
+        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
526
+        margin-bottom: 20px;
527
+        padding: 20px 10px;
528
+    }
529
+
530
+    .prescription-print {
531
+        font-size: 14px;
532
+    }
533
+
534
+    .printTitle {
535
+        font-size: 18px;
536
+        text-align: center;
537
+        font-weight: bold;
538
+        margin-top: 10px;
539
+    }
540
+
541
+    .infoTitle {
542
+        display: flex;
543
+        // border-bottom: 2px solid #000;
544
+        margin-top: 10px;
545
+        line-height: 24px;
546
+        padding: 0 10px;
547
+    }
548
+
549
+    .infoTitle div {
550
+        width: 300px;
551
+    }
552
+
553
+    .infoMain {
554
+        display: flex;
555
+        flex-wrap: wrap;
556
+        border-bottom: 2px solid #000;
557
+        padding: 0 10px;
558
+    }
559
+
560
+    .infoMain div {
561
+        width: 50%;
562
+        line-height: 24px;
563
+    }
564
+
565
+    .prescriptionBox {
566
+        padding: 0 10px;
567
+
568
+    }
569
+
570
+    .Rp {
571
+        font-size: 22px;
572
+        font-weight: bold;
573
+    }
574
+
575
+    .drugsBox {
576
+        padding-left: 40px;
577
+        margin-bottom: 10px;
578
+    }
579
+
580
+    .drugsBox p {
581
+        line-height: 30px;
582
+    }
583
+
584
+    .drugsOne {
585
+        line-height: 24px;
586
+    }
587
+
588
+    .drugsOne span {
589
+        margin-right: 20px;
590
+    }
591
+
592
+    .actionBar {
593
+        display: flex;
594
+        justify-content: space-between;
595
+        line-height: 24px;
596
+        padding: 0 10px;
597
+    }
598
+
599
+    .actionBar div {
600
+        width: 150px;
601
+    }
602
+</style>

+ 7 - 6
src/xt_pages/stock/drugs/drugStockInOrderDetailPrint.vue ファイルの表示

@@ -17,14 +17,14 @@
17 17
           <table class="print-table" border="1">
18 18
             <tbody>
19 19
             <tr>
20
-              <td width="80">药品名称</td>
20
+              <td width="60">药品<br>名称</td>
21 21
               <td style="line-height:18px;" width="80">注册证号/批准文号/备案凭证号</td>
22
-              <td style="line-height:18px;" width="100">规格<br>型号</td>
23
-              <td style="line-height:18px;" width="80">生产<br>厂商</td>
24
-              <td style="line-height:18px;" width="80">经销商</td>
25
-              <td style="line-height:18px;" width="80">进货价</td>
22
+              <td style="line-height:18px;" width="80">规格<br>型号</td>
23
+              <td style="line-height:18px;" width="100">生产<br>厂商</td>
24
+              <td style="line-height:18px;" width="100">经销商</td>
25
+              <td style="line-height:18px;" width="70">进货价</td>
26 26
               <td style="line-height:18px;" width="80">入库<br>数量</td>
27
-              <td style="line-height:18px;" width="80">单位</td>
27
+              <td style="line-height:18px;" width="60">单位</td>
28 28
               <td style="line-height:18px;" width="60">总价</td>
29 29
               <td style="line-height:18px;" width="80">批号</td>
30 30
               <td style="line-height:18px;" width="120">生产日期</td>
@@ -83,6 +83,7 @@
83 83
             <div style="width:80px;">药材主任:</div><div style="width:100px;"></div>
84 84
             <div style="width:50px;">会计:</div><div style="width:100px;"></div>
85 85
             <div style="width:70px;">制单人:</div><div style="width:100px;">{{ getXuserName(it.creater) }}</div>
86
+            <div style="width: 200px;">验证签名:</div>
86 87
           </div>
87 88
         </div>
88 89
 

+ 7 - 6
src/xt_pages/stock/stockInOrderDetailPrint.vue ファイルの表示

@@ -31,12 +31,12 @@
31 31
                               <tr>
32 32
                                   <td style="line-height:18px;" width="80">耗材<br>名称</td>
33 33
                                   <td style="line-height:18px;" width="80">注册证号/批准文号/备案凭证号</td>
34
-                                  <td style="line-height:18px;" width="80">规格<br>型号</td>
35
-                                  <td style="line-height:18px;" width="80">生产<br>厂商</td>
36
-                                  <td style="line-height:18px;" width="80">经销商</td>
37
-                                  <td style="line-height:18px;" width="80">单位</td>
38
-                                  <td style="line-height:18px;" width="80">进货价</td>
39
-                                  <td style="line-height:18px;" width="80">入库<br>数量</td> 
34
+                                  <td style="line-height:18px;" width="70">规格<br>型号</td>
35
+                                  <td style="line-height:18px;" width="100">生产<br>厂商</td>
36
+                                  <td style="line-height:18px;" width="100">经销商</td>
37
+                                  <td style="line-height:18px;" width="60">单位</td>
38
+                                  <td style="line-height:18px;" width="60">进货价</td>
39
+                                  <td style="line-height:18px;" width="70">入库<br>数量</td> 
40 40
                                   <td style="line-height:18px;" width="60">总价</td>
41 41
                                   <td style="line-height:18px;" width="80">批号</td>
42 42
                                   <td style="line-height:18px;" width="120">生产日期</td>
@@ -79,6 +79,7 @@
79 79
                           <div style="width:50px;">会计:</div><div style="width:100px;"><span v-if='orgId == 10024'>徐立琼</span></div>
80 80
                           <div style="width:50px;">审核:</div><div style="width:100px;"><span v-if='orgId == 10024'>徐立琼</span></div>
81 81
                           <div style="width:70px;">制单人:</div><div style="width:100px;">{{ getXuserName(it.creater) }}</div>
82
+                          <div style="width: 200px;">验证签名:</div>
82 83
                      </div>
83 84
                   </div>
84 85
                 </div>