|
@@ -2,12 +2,12 @@
|
2
|
2
|
<div>
|
3
|
3
|
<div id='prescriptionPrint'>
|
4
|
4
|
<div v-for="(item,index) in advicePrint" :key="index">
|
5
|
|
- <div id='prescription-print' v-if="item.project.length == 0" v-for='(i,pageIndex) in item.pageArr.length' :key="pageIndex" class="prescription-print" style="page-break-after: always;">
|
|
5
|
+ <div id='prescription-print' v-if="item.project.length == 0" v-for='(i,pageIndex) in item.pageArr.length' :key="pageIndex" class="prescription-print" style="page-break-after: always;">
|
6
|
6
|
<img src="../../../assets/img/bailinTop.jpg" style="width:100%" alt="">
|
7
|
7
|
<div class="printTitle">处方笺</div>
|
8
|
8
|
<div style="display:flex;">
|
9
|
|
- <div style="width:33%;display:flex;">费别:<span class="under_line">{{ faber ? getName(faber.transBody.outputlist1) : '' }}</span></div>
|
10
|
|
- <div style="width:33%;display:flex;">电脑号:<span class="under_line">{{ faber ? faber.transBody.aac999 : '' }}</span></div>
|
|
9
|
+ <div style="width:33%;display:flex;">费别:<span class="under_line">{{ faber && faber.transBody ? getName(faber.transBody.outputlist1) : '' }}</span></div>
|
|
10
|
+ <div style="width:33%;display:flex;">电脑号:<span class="under_line">{{ faber && faber.transBody ? faber.transBody.aac999 : '' }}</span></div>
|
11
|
11
|
<div style="width:33%;display:flex;">处方编号:<span class="under_line">{{ item.prescription_number.substring(item.prescription_number.length-6) }}</span></div>
|
12
|
12
|
</div>
|
13
|
13
|
|
|
@@ -40,16 +40,16 @@
|
40
|
40
|
</div>
|
41
|
41
|
<div class="drugsBox" v-for="(it,i) in item.additionalcharge" :key="i">
|
42
|
42
|
<div class="drugsOne">{{it.item_name?it.item_name:""}}: {{it.price}}元/{{it.count}}次</div>
|
43
|
|
- </div>
|
44
|
|
-
|
|
43
|
+ </div>
|
|
44
|
+
|
45
|
45
|
<!-- <div class="drugsBox" v-for="(it,index) in item.project" :key="index">
|
46
|
46
|
<div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{ it.type == 2 ? it.project.project_name : it.good_info.good_name }} {{it.single_dose}}{{it.single_dose_unit}} × {{it.count}}{{unit}}</div>
|
47
|
47
|
<div style="margin-left:100px;"><span>用法:{{it.single_dose}}{{it.single_dose_unit}}</span> <span>{{it.delivery_way}}</span> <span>{{it.advice_desc}}</span></div>
|
48
|
48
|
</div>
|
49
|
49
|
<div class="drugsBox" v-for="(it,i) in item.additionalcharge" :key="i">
|
50
|
50
|
<div class="drugsOne">{{it.project_id?it.project_id:""}}: {{it.price}}元/{{it.count}}次</div>
|
51
|
|
- </div> -->
|
52
|
|
- <div style="text-align:center;" >(以下空白)</div>
|
|
51
|
+ </div> -->
|
|
52
|
+ <div style="text-align:center;" >(以下空白)</div>
|
53
|
53
|
|
54
|
54
|
</div>
|
55
|
55
|
<div style="display:flex;">
|
|
@@ -73,11 +73,11 @@
|
73
|
73
|
</div>
|
74
|
74
|
<div class="actionBar">
|
75
|
75
|
|
76
|
|
- <p>审核:</p>
|
77
|
|
- <p>配对:</p>
|
78
|
|
- <p>核对:</p>
|
79
|
|
- <p>发药:</p>
|
80
|
|
- <p>药费:{{getTotalOne(item.id).toFixed(2)?getTotalOne(item.id).toFixed(2):0}}元</p>
|
|
76
|
+ <p>审核:</p>
|
|
77
|
+ <p>配对:</p>
|
|
78
|
+ <p>核对:</p>
|
|
79
|
+ <p>发药:</p>
|
|
80
|
+ <p>药费:{{getTotalOne(item.id).toFixed(2)?getTotalOne(item.id).toFixed(2):0}}元</p>
|
81
|
81
|
</div> -->
|
82
|
82
|
<div style="page-break-after:always"></div>
|
83
|
83
|
</div>
|
|
@@ -166,10 +166,11 @@ export default {
|
166
|
166
|
var projectlist = response.data.data.projectlist
|
167
|
167
|
console.log("所有项目列表",projectlist)
|
168
|
168
|
this.projectList = projectlist
|
169
|
|
- let outputlist1Name = JSON.parse(response.data.data.his.patient_info);
|
|
169
|
+ this.getPage()
|
|
170
|
+ let outputlist1Name = response.data.data.his.patient_info ? JSON.parse(response.data.data.his.patient_info) : {};
|
170
|
171
|
this.faber = outputlist1Name
|
171
|
172
|
|
172
|
|
- this.getPage()
|
|
173
|
+
|
173
|
174
|
}
|
174
|
175
|
})
|
175
|
176
|
},
|