yq1 1 year ago
parent
commit
8be8397c02
1 changed files with 21 additions and 21 deletions
  1. 21 21
      src/xt_pages/outpatientCharges/invoiceTemplate/printfourteen.vue

+ 21 - 21
src/xt_pages/outpatientCharges/invoiceTemplate/printfourteen.vue View File

@@ -6,7 +6,7 @@
6 6
     <div>
7 7
       <div style="display: inline-block; position: absolute;top: 40px;left: 50px;">血液透析中心</div>
8 8
       <div style="display: inline-block; position: absolute;top: 40px;left: 460px;">{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</div>
9
-      <div style="display: inline-block; position: absolute;top: 40px;left: 520;">{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</div>
9
+      <div style="display: inline-block; position: absolute;top: 40px;left: 520px;">{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</div>
10 10
       <div style="display: inline-block; position: absolute;top: 40px;left: 560px;">{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</div>
11 11
     </div>
12 12
     <div>
@@ -19,11 +19,11 @@
19 19
     </div>
20 20
 
21 21
     <div style="display:flex;justify-content: space-between;">
22
-      <div  style="position: absolute;top:80px;left:60px;" v-if="list.gender == 1">√</div>
23
-      <div  style="position: absolute;top:80px;left:80px;" v-else-if="list.gender == 2">√</div>
24
-      <div  style="position: absolute;top:80px;left:220px;">{{list.order.fund_pay_sumamt}}</div>
25
-      <div  style="position: absolute;top:80px;left:380px;">{{list.psn_cash_money}}</div>
26
-      <div  style="position: absolute;top:80px;left:540px;">{{"医保-门慢"}}</div>
22
+      <div  style="position: absolute;top:85px;left:60px;" v-if="list.gender == 1">√</div>
23
+      <div  style="position: absolute;top:85px;left:80px;" v-else-if="list.gender == 2">√</div>
24
+      <div  style="position: absolute;top:85px;left:220px;">{{list.order.fund_pay_sumamt}}</div>
25
+      <div  style="position: absolute;top:85px;left:380px;">{{list.psn_cash_money}}</div>
26
+      <div  style="position: absolute;top:85px;left:530px;">{{"医保-门慢"}}</div>
27 27
     </div>
28 28
     <div style="display:flex;justify-content: space-between;">
29 29
       <div v-if="list.westernMedicineCostTotal != ''">
@@ -39,7 +39,7 @@
39 39
         <div  style="position: absolute;top:140px;left:360px;">{{ list.treatCostTotal ? list.treatCostTotal.toFixed(2) : '' }}</div>
40 40
       </div>
41 41
       <div v-if="list.materialCostTotal != ''">
42
-        <div  style="position: absolute;top:140px;left:480px;">材料费</div>
42
+        <div  style="position: absolute;top:140px;left:470px;">材料费</div>
43 43
         <div  style="position: absolute;top:140px;left:540px;">{{ list.materialCostTotal ? list.materialCostTotal.toFixed(2) : '' }}</div>
44 44
       </div>
45 45
     </div>
@@ -57,7 +57,7 @@
57 57
         <div  style="position: absolute;top:160px;left:360px;"></div>
58 58
       </div>
59 59
       <div v-if="list.otherCostTotal !=''">
60
-        <div  style="position: absolute;top:160px;left:480px;"> 其他</div>
60
+        <div  style="position: absolute;top:160px;left:470px;"> 其他</div>
61 61
         <div  style="position: absolute;top:160px;left:540px;">{{ list.otherCostTotal ? list.otherCostTotal.toFixed(2) : '' }}</div>
62 62
       </div>
63 63
     </div>
@@ -75,7 +75,7 @@
75 75
         <div  style="position: absolute;top:180px;left:360px;"></div>
76 76
       </div>
77 77
       <div v-if="list.hiliCostTotal !=''">
78
-        <div  style="position: absolute;top:180px;left:480px;">护理费</div>
78
+        <div  style="position: absolute;top:180px;left:470px;">护理费</div>
79 79
         <div  style="position: absolute;top:180px;left:540px;">{{list.hiliCostTotal ? list.hiliCostTotal.toFixed(2) : ''}}</div>
80 80
       </div>
81 81
     </div>
@@ -87,62 +87,62 @@
87 87
     </div>
88 88
     <div>
89 89
       <span>
90
-        <span  style="position: absolute;top:220px;left:140px">
90
+        <span  style="position: absolute;top:240px;left:140px">
91 91
           <span v-if="zhongwen.indexOf('万') > -1 && zhongwen.indexOf('拾') > -1 && zhongwen.indexOf('拾') == 1">
92 92
                     {{ zhongwen.substring(0,1) }}
93 93
                 </span>
94 94
                 <span v-else>零</span>
95 95
         </span>
96
-        <span  style="position: absolute;top:220px;left:180px">
96
+        <span  style="position: absolute;top:240px;left:180px">
97 97
             <span v-if="zhongwen.indexOf('万') > -1">
98 98
                     {{ zhongwen.substring(zhongwen.indexOf('万') - 1,zhongwen.indexOf('万')) }}
99 99
                 </span>
100 100
                 <span v-else>零</span>
101 101
         </span>
102
-        <span  style="position: absolute;top:220px;left:220px">
102
+        <span  style="position: absolute;top:240px;left:215px">
103 103
             <span v-if="zhongwen.indexOf('仟') > -1">
104 104
                     {{ zhongwen.substring(zhongwen.indexOf('仟') - 1,zhongwen.indexOf('仟')) }}
105 105
                 </span>
106 106
                 <span v-else>零</span>
107 107
         </span>
108
-        <span  style="position: absolute;top:220px;left:260px">
108
+        <span  style="position: absolute;top:240px;left:255px">
109 109
             <span v-if="zhongwen.indexOf('佰') > -1">
110 110
                     {{ zhongwen.substring(zhongwen.indexOf('佰') - 1,zhongwen.indexOf('佰')) }}
111 111
                 </span>
112 112
                 <span v-else>零</span>
113 113
         </span>
114
-        <span style="position: absolute;top:220px;left:300px">
114
+        <span style="position: absolute;top:240px;left:295px">
115 115
             <span v-if="zhongwen.indexOf('拾') > -1">
116 116
                     {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
117 117
                 </span>
118 118
                 <span v-else>零</span>
119 119
         </span>
120
-        <span  style="position: absolute;top:220px;left:340px">
120
+        <span  style="position: absolute;top:240px;left:335px">
121 121
            <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
122 122
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
123 123
                 </span>
124 124
                 <span v-else>零</span>
125 125
         </span>
126
-        <span  style="position: absolute;top:220px;left:380px">
126
+        <span  style="position: absolute;top:240px;left:375px">
127 127
              <span v-if="zhongwen.indexOf('角') > -1">
128 128
                     {{ zhongwen.substring(zhongwen.indexOf('角') - 1,zhongwen.indexOf('角')) }}
129 129
                 </span>
130 130
                 <span v-else>零</span>
131 131
         </span>
132
-        <span  style="position: absolute;top:220px;left:420px">
132
+        <span  style="position: absolute;top:240px;left:415px">
133 133
              <span v-if="zhongwen.indexOf('分') > -1">
134 134
                     {{ zhongwen.substring(zhongwen.indexOf('分') - 1,zhongwen.indexOf('分')) }}
135 135
                 </span>
136 136
                 <span v-else>零</span>
137 137
         </span>
138 138
       </span>
139
-      <span style="position: absolute;top:220px;left:490px">{{ totalPrice.toFixed(2) }}</span>
139
+      <span style="position: absolute;top:240px;left:490px">{{ totalPrice.toFixed(2) }}</span>
140 140
     </div>
141 141
 
142 142
     <div style="display:flex;justify-content: space-between;">
143
-      <div style="position: absolute;top:300px;left:100px;">{{ org_name}}</div>
144
-      <div style="position: absolute;top:300px;left:240px;"></div>
145
-      <div style="position: absolute;top:300px;left:380px;">{{list.admin_user_name}}</div>
143
+      <div style="position: absolute;top:320px;left:60px;">{{ org_name}}</div>
144
+      <div style="position: absolute;top:320px;left:240px;"></div>
145
+      <div style="position: absolute;top:320px;left:380px;">{{list.admin_user_name}}</div>
146 146
     </div>
147 147
   </div>
148 148
 </template>