Browse Source

7月24日杨青

杨青 1 year ago
parent
commit
0f78760153

+ 8 - 8
src/xt_pages/outpatientCharges/invoiceTemplate/printSix.vue View File

@@ -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>

+ 4 - 4
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

@@ -58,11 +58,11 @@
58 58
             <div
59 59
               class="drugsBox"
60 60
               v-for="(it, index) in advicess" :key="index" 
61
-              :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"
61
+              :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
62 62
             >
63 63
             <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
64 64
               <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
65
-              <template v-if="index==yi+1&&item.advices.length>3">
65
+              <template v-if="index==yi+1&&item.advices.length>5">
66 66
                 <div style="margin: 20px 0px;">
67 67
                   <div class="infoTitle">
68 68
                     <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
@@ -132,7 +132,7 @@
132 132
                   ×&nbsp;{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
133 133
                 </div>
134 134
               </div>
135
-              <template v-if="index==yi&&item.advices.length>3">
135
+              <template v-if="index==yi&&item.advices.length>5">
136 136
                 <div style="margin: 20px 0px;">
137 137
                   <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
138 138
                     <p v-if="org_id == 10217 || org_id == 0">
@@ -343,7 +343,7 @@ export default{
343 343
       doc_name:"",
344 344
       doctorList: [],
345 345
       advicePrint: {},
346
-      yi:2,
346
+      yi:4,
347 347
       arr:[],
348 348
       arrs:{},
349 349
       advicess:[],