|
@@ -2,14 +2,14 @@
|
2
|
2
|
<div id='prescription-print' class="prescription-print">
|
3
|
3
|
<div class="printTitle">血液透析中心医药费收据及收费项目清单</div>
|
4
|
4
|
<div class="infoMain">
|
5
|
|
- <p class="infoP">医院(药店)编号:H8D50</p>
|
|
5
|
+ <p class="infoP">医院(药店)编号:</p>
|
6
|
6
|
<p class="infoP">名称:血液透析中心</p>
|
7
|
|
- <p class="infoP">医生工号:H8D50</p>
|
8
|
|
- <p class="infoP">门诊流水号:H8D50</p>
|
|
7
|
+ <p class="infoP">医生工号:</p>
|
|
8
|
+ <p class="infoP">门诊流水号:</p>
|
9
|
9
|
<p class="infoP">科别:{{list.p_info.departments}}</p>
|
10
|
|
- <p class="infoP">处方单据号:H8D50</p>
|
11
|
|
- <p class="infoP">姓名:{{list.patient.name}}</p>
|
12
|
|
- <p class="infoP">医疗账号:98798798</p>
|
|
10
|
+ <p class="infoP">处方单据号:</p>
|
|
11
|
+ <p class="infoP">姓名:{{patient.name}}</p>
|
|
12
|
+ <p class="infoP">医疗账号:</p>
|
13
|
13
|
<p class="infoP">医疗类别:普通</p>
|
14
|
14
|
</div>
|
15
|
15
|
<div class="chargeBox">
|
|
@@ -28,64 +28,58 @@
|
28
|
28
|
</div>
|
29
|
29
|
<div style="display:flex;justify-content: space-between;">
|
30
|
30
|
<div style="width:20%;">
|
31
|
|
- <div class="chargeUl" v-for="item in 3">
|
|
31
|
+ <div class="chargeUl" v-for="(item,index) in 1" :key="index">
|
32
|
32
|
<p style="width:50%;">材料费</p>
|
33
|
|
- <p style="width:50%;">122</p>
|
|
33
|
+ <p style="width:50%;"></p>
|
34
|
34
|
</div>
|
35
|
35
|
<div class="chargeUl" style="border-top:1px solid #000;">
|
36
|
36
|
<p style="width:50%;">费用合计</p>
|
37
|
|
- <p style="width:50%;">123</p>
|
|
37
|
+ <p style="width:50%;"></p>
|
38
|
38
|
</div>
|
39
|
39
|
<div class="chargeUl" style="border-top:1px solid #000;">
|
40
|
40
|
<p style="width:50%;">记账支付</p>
|
41
|
|
- <p style="width:50%;">123</p>
|
|
41
|
+ <p style="width:50%;"></p>
|
42
|
42
|
</div>
|
43
|
43
|
<div class="chargeUl" style="border-top:1px solid #000;">
|
44
|
44
|
<p style="width:50%;">个人账号</p>
|
45
|
|
- <p style="width:50%;">123</p>
|
|
45
|
+ <p style="width:50%;"></p>
|
46
|
46
|
</div>
|
47
|
47
|
<div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
|
48
|
48
|
<p style="width:50%;">现金支付</p>
|
49
|
|
- <p style="width:50%;">123</p>
|
|
49
|
+ <p style="width:50%;"></p>
|
50
|
50
|
</div>
|
51
|
51
|
</div>
|
52
|
52
|
<div style="width:80%;display:flex;height:600px;">
|
53
|
|
- <!-- <ul class="chargeUl" v-for="item in 4">
|
54
|
|
- <li style="width:20%;">血压透析器(进口)FFX60</li>
|
55
|
|
- <li style="width:20%;">次</li>
|
56
|
|
- <li style="width:20%;">1个</li>
|
57
|
|
- <li style="width:20%;">123</li>
|
58
|
|
- <li style="width:20%;">123</li>
|
59
|
|
- </ul> -->
|
|
53
|
+
|
60
|
54
|
<div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
|
61
|
|
- <p v-for="(item,i) in prescription" :key="i" class="chargeP">血压透析器(进口)FFX60</p>
|
|
55
|
+ <p v-for="(item,i) in prescription[0].advices" :key="i" class="chargeP">{{item.advice_name}}</p>
|
62
|
56
|
</div>
|
63
|
57
|
<div style="border-right:1px solid #000;width:15%;text-align:center;">
|
64
|
|
- <p v-for="(item,y) in prescription" :key="y" class="chargeP">次</p>
|
|
58
|
+ <p v-for="(item,y) in prescription[0].advices" :key="y" class="chargeP">{{item.advice_desc}}</p>
|
65
|
59
|
</div>
|
66
|
60
|
<div style="border-right:1px solid #000;width:15%;text-align:center;">
|
67
|
|
- <p v-for="(item,z) in prescription" :key="z" class="chargeP">1个</p>
|
|
61
|
+ <p v-for="(item,z) in prescription[0].advices" :key="z" class="chargeP">{{item.single_dose}}个</p>
|
68
|
62
|
</div>
|
69
|
63
|
<div style="border-right:1px solid #000;width:15%;text-align:center;">
|
70
|
|
- <p v-for="(item,f) in prescription" :key="f" class="chargeP">123</p>
|
|
64
|
+ <p v-for="(item,f) in prescription[0].advices" :key="f" class="chargeP">{{item.price}}</p>
|
71
|
65
|
</div>
|
72
|
66
|
<div style="width:15%;text-align:center;">
|
73
|
|
- <p v-for="(item,d) in prescription" :key="d" class="chargeP">123</p>
|
|
67
|
+ <p v-for="(item,d) in prescription[0].advices" :key="d" class="chargeP">{{item.single_dose * item.price}}</p>
|
74
|
68
|
</div>
|
75
|
69
|
</div>
|
76
|
70
|
</div>
|
77
|
71
|
|
78
|
72
|
</div>
|
79
|
73
|
<div class="moneyBox">
|
80
|
|
- <p>实收金:111</p>
|
81
|
|
- <p>记账前金额:111</p>
|
82
|
|
- <p>扣款金额:111</p>
|
83
|
|
- <p>记账后金额:111</p>
|
84
|
|
- <p>找赎金:111</p>
|
|
74
|
+ <p>实收金:</p>
|
|
75
|
+ <p>记账前金额:</p>
|
|
76
|
+ <p>扣款金额:</p>
|
|
77
|
+ <p>记账后金额:</p>
|
|
78
|
+ <p>找赎金:</p>
|
85
|
79
|
</div>
|
86
|
80
|
<div class="actionBar">
|
87
|
81
|
<p>收费员:</p>
|
88
|
|
- <p>日期:</p>
|
|
82
|
+ <p>日期:{{this.$route.query.record_date}}</p>
|
89
|
83
|
</div>
|
90
|
84
|
</div>
|
91
|
85
|
</template>
|
|
@@ -95,7 +89,8 @@ export default {
|
95
|
89
|
data(){
|
96
|
90
|
return{
|
97
|
91
|
list:{},
|
98
|
|
- prescription:[]
|
|
92
|
+ prescription:[],
|
|
93
|
+ patient:{},
|
99
|
94
|
}
|
100
|
95
|
},
|
101
|
96
|
methods:{
|
|
@@ -114,6 +109,9 @@ export default {
|
114
|
109
|
var prescription = response.data.data.prescription
|
115
|
110
|
console.log("prescription",prescription)
|
116
|
111
|
this.prescription = prescription
|
|
112
|
+ var patient = response.data.data.patient
|
|
113
|
+ console.log("patient",patient)
|
|
114
|
+ this.patient = patient
|
117
|
115
|
}
|
118
|
116
|
})
|
119
|
117
|
}
|