Browse Source

8月19,费用单添加自负比例

yq1 7 months ago
parent
commit
592193c6ab

+ 4 - 2
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -14,10 +14,11 @@
14 14
     </template>
15 15
 
16 16
     <div class='dialysisPage' style="padding-top:40px;">
17
-      <printOne v-if="org_id == 10191" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
17
+      
18 18
       <listPrintforu v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485 && org_id != 10191"
19 19
         :list="list" :patient="patient" :order="order" :admin="admin">
20 20
       </listPrintforu>
21
+      <printOne v-if="org_id == 10191" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
21 22
       <printTwo v-if="org_id == 10106 && this.paramsObj.balance_accounts_type != 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
22 23
       <print-three v-if="org_id == 10106 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
23 24
 <!--      <list-print-two v-if="org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>-->
@@ -171,7 +172,8 @@
171 172
                 let obj = {
172 173
                   med_chrgitm_type: this.getType(infos.med_chrgitm_type),
173 174
                   price: infos.pric.toFixed(4),
174
-                  count: infos.cnt
175
+                  count: infos.cnt,
176
+                  selfpay_prop:infos.selfpay_prop,
175 177
                 }
176 178
                 if (infos.advice && infos.advice.id == 0 && infos.project && infos.project.id > 0) {
177 179
                   obj['p_time'] = this.getTimes(infos.project.prescription.ctime)

+ 8 - 4
src/xt_pages/outpatientCharges/listTemplate/listPrintforu.vue View File

@@ -24,25 +24,30 @@
24 24
         
25 25
         <table class="listTable" style="text-align: center;">
26 26
             <tr style="border-bottom: 1px solid black;">
27
-              <td style="width:30%">医保编码</td>
27
+              <td style="width:25%">医保编码</td>
28 28
               <td style="width:25%">项目名称</td>
29 29
               <td style="width:15%">规格</td>
30 30
               <td style="width:5%">数量</td>
31 31
               <td style="width:5%">单位</td>
32 32
               <td style="width:8%">单价(元)</td>
33 33
               <td style="width:8%">金额(元)</td>
34
+              <td style="width:8%">自负比例</td>
34 35
             </tr>
35 36
             <tr v-for="(item,index) in list" style="line-height: 30px;">
36 37
                 <!-- <template v-if="index == (list.length)-1">
37 38
                     <tr style="border-bottom: 1px solid black;"></tr>
38 39
                 </template> -->
39
-                <td style="width:30%">{{item.code}}</td>
40
+                <td style="width:25%">{{item.code}}</td>
40 41
                 <td style="width:25%">{{item.name}}</td>
41 42
                 <td style="width:15%">{{item.spec}}</td>
42 43
                 <td style="width:5%">{{item.count}}</td>
43 44
                 <td style="width:5%">{{item.unit}}</td>
44 45
                 <td style="width:8%">{{(item.price*1).toFixed(2)}}</td>
45 46
                 <td style="width:8%">{{(item.price * item.count).toFixed(2)}}</td>
47
+                <td style="width:8%">
48
+                  {{(item.selfpay_prop)*100}}
49
+                  <span v-if="item.selfpay_prop !=''">%</span>
50
+                </td>
46 51
             </tr>
47 52
         </table>
48 53
         <div style="border-top: 1px solid black;">
@@ -139,8 +144,7 @@ export default {
139 144
               this.pageArr.push(num)
140 145
           }
141 146
       }
142
-     
143
-      console.log('this.pageArr',this.pageArr);
147
+      console.log('this.pageArr',this.list);
144 148
     },
145 149
     getlist(){
146 150
       // if(this.list.length <= 17){