|
@@ -1,12 +1,12 @@
|
1
|
1
|
<template>
|
2
|
|
- <div id='invoice-print'>
|
|
2
|
+ <div id='invoice-print' style="position: relative;">
|
3
|
3
|
<div v-for='(i,index) in pageArr.length' :key="index" >
|
4
|
4
|
<div :style="{position: 'absolute',top:(20 + (index * 660)) + 'px',left:200+ 'px',}">盐城大丰悦达金骆驼血液透析中心</div>
|
5
|
|
- <div :style="{position: 'absolute',top:(70 + (index * 660)) + 'px',left:150+ 'px',}">{{ list.order_number }}</div>
|
|
5
|
+ <div :style="{position: 'absolute',top:(70 + (index * 660)) + 'px',left:90+ 'px',}">{{ list.order_number }}</div>
|
6
|
6
|
<div style="display:flex;justify-content: space-between;">
|
7
|
|
- <div :style="{position: 'absolute',top:(100 + (index * 660)) + 'px',left:100+ 'px',}">{{ paramsObj.name }}</div>
|
|
7
|
+ <div :style="{position: 'absolute',top:(110 + (index * 660)) + 'px',left:20+ 'px',}">{{ paramsObj.name }}</div>
|
8
|
8
|
</div>
|
9
|
|
- <div :style="{position: 'absolute',top:(130 + (index * 660)) + 'px',left:100+ 'px',}">
|
|
9
|
+ <div :style="{position: 'absolute',top:(160 + (index * 660)) + 'px',left:20+ 'px',}">
|
10
|
10
|
<div v-if="list.westernMedicineCostTotal">西药 {{ list.westernMedicineCostTotal }}</div>
|
11
|
11
|
<div v-if="list.treatCostTotal">治疗费 {{ list.treatCostTotal }}</div>
|
12
|
12
|
<div v-if="list.bedCostTotal">床位费 {{ list.bedCostTotal }}</div>
|
|
@@ -16,7 +16,7 @@
|
16
|
16
|
<div v-if="list.otherCostTotal">其他费 {{ list.otherCostTotal }}</div>
|
17
|
17
|
<div v-if="list.materialCostTotal">材料费 {{ list.materialCostTotal }}</div>
|
18
|
18
|
</div>
|
19
|
|
- <div :style="{position: 'absolute',top:(130 + (index * 660)) + 'px',left:280+ 'px'}">
|
|
19
|
+ <div :style="{position: 'absolute',top:(160 + (index * 660)) + 'px',left:220+ 'px'}">
|
20
|
20
|
<div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])">
|
21
|
21
|
<span style="display:inline-block;width:200px;">
|
22
|
22
|
<span v-if="item.advice.id == 0">
|
|
@@ -41,9 +41,9 @@
|
41
|
41
|
</span>
|
42
|
42
|
</div>
|
43
|
43
|
</div>
|
44
|
|
- <div :style="{position: 'absolute',top:(340 + (index * 660)) + 'px',left:100+ 'px'}">{{ zhongwen }}</div>
|
45
|
|
- <div :style="{position: 'absolute',top:(340 + (index * 660)) + 'px',left:480+ 'px'}">{{ list.medfee_sumamt }}</div>
|
46
|
|
- <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(370 + (index * 660)) + 'px',left:110+ 'px',width:100 + '%',fontSize:12+'px'}">
|
|
44
|
+ <div :style="{position: 'absolute',top:(370 + (index * 660)) + 'px',left:50+ 'px'}">{{ zhongwen }}</div>
|
|
45
|
+ <div :style="{position: 'absolute',top:(370 + (index * 660)) + 'px',left:480+ 'px'}">{{ list.medfee_sumamt }}</div>
|
|
46
|
+ <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(400 + (index * 660)) + 'px',left:110+ 'px',width:100 + '%',fontSize:12+'px'}">
|
47
|
47
|
<div style="display:flex;">
|
48
|
48
|
<div style="width:140px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
|
49
|
49
|
<div style="width:140px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
|