Procházet zdrojové kódy

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 před 1 rokem
rodič
revize
9999bf1a5c

+ 51 - 44
src/xt_pages/outpatientCharges/invoiceTemplate/printthirteen.vue Zobrazit soubor

@@ -2,19 +2,24 @@
2 2
 <template>
3 3
   <div id='invoice-print'>
4 4
     <div v-for='(i,index) in pageArr.length' :key="index" style="width: 80%;margin: 0 auto;">
5
-      <div style="text-align: center;width: 100%;font-size: 20px; font-weight: bolder;">盐城盐都悦达金骆驼血液透析中心收费票据</div>
5
+      <div style="text-align: center;width: 100%;font-size: 20px; font-weight: bolder;">盐城响水燕舞血液透析中心收据</div>
6 6
       <div style="display: flex; margin: 15px 0 5px 0;">
7
-        <div style="flex: 1.5;">业务流水号:{{ list.order_number }}</div>
7
+        <div style="flex: 1;">业务流水号:{{ list.order_number }}</div>
8 8
         <div style="flex: 1;">医疗机构类型:</div>
9
-        <div style="flex: 0.6;">医生:{{ doctor_info.user_name }}</div>
10 9
         <div style="flex: 1;">医院国家编码:H32092103007</div>
11
-      </div> 
10
+       
11
+      </div>
12
+      <div style="display: flex;">
13
+        <div style="flex:1;">医生:{{ doctor_info.user_name }}</div>
14
+        <div style="flex: 1;">医生编码:{{ doctor_info.doctor_number }}</div>
15
+        <div style="flex: 1;">No.{{list.order.fa_piao_number}}</div>
16
+      </div>
12 17
       <div style="display: flex;border: 1px solid black;padding: 5px 0;">
13 18
         <div style="flex: 1;">姓名:{{ paramsObj.name }}</div>
14 19
         <div style="flex: 1;">性别:</div>
15 20
         <div style="flex: 1;">医保类型:</div>
16 21
         <div style="flex: 1;">社会保障号码:</div>
17
-       
22
+
18 23
       </div>
19 24
       <div style="display: flex;border: 1px solid black;text-align: center;border-top:none;">
20 25
         <div style="flex: 1;display: flex;">
@@ -26,10 +31,15 @@
26 31
           <div style="flex: 1;border-left: 1px solid black; padding: 5px 0;">数量</div>
27 32
           <div style="flex: 1;border-left: 1px solid black; padding: 5px 0;">金额</div>
28 33
         </div>
34
+        <div style="flex: 2;display: flex;border-left: 1px solid black;">
35
+          <div style="flex: 1; padding: 5px 0;">项目/规格</div>
36
+          <div style="flex: 1;border-left: 1px solid black; padding: 5px 0;">数量</div>
37
+          <div style="flex: 1;border-left: 1px solid black; padding: 5px 0;">金额</div>
38
+        </div>
29 39
       </div>
30 40
 
31
-      <div style="display: flex;border: 1px solid black;border-top:none;height: 200px;">
32
-        <div style="flex: 1;margin-left: 10px;" >
41
+      <div style="display: flex;border: 1px solid black;border-top:none;min-height: 200px;">
42
+        <div style="flex: 1;" >
33 43
           <div v-if="list.westernMedicineCostTotal">西药 &nbsp;&nbsp;{{ list.westernMedicineCostTotal }}</div>
34 44
           <div v-if="list.treatCostTotal">治疗费 &nbsp;&nbsp;{{ list.treatCostTotal }}</div>
35 45
           <div v-if="list.bedCostTotal">床位费 &nbsp;&nbsp;{{ list.bedCostTotal }}</div>
@@ -40,8 +50,8 @@
40 50
           <div v-if="list.materialCostTotal">材料费 &nbsp;&nbsp;{{ list.materialCostTotal }}</div>
41 51
         </div>
42 52
         <div style="flex: 2;border-left: 1px solid black;">
43
-          <div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])" style="margin-left: 10px;">
44
-            <span style="display:inline-block;width:300px;">
53
+          <div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])" style="">
54
+            <span style="display:inline-block;width:56%;">
45 55
                 <span v-if="item.advice.id == 0">
46 56
                     <span v-if="item.project.type == 2">{{ item.project.project.project_name }}</span>
47 57
                     <span v-if="item.project.type == 3">{{ item.project.good_info.good_name }}</span>
@@ -64,6 +74,9 @@
64 74
             </span>
65 75
           </div>
66 76
         </div>
77
+        <div style="flex: 2;border-left: 1px solid black;">
78
+          
79
+        </div>
67 80
       </div>
68 81
       <div style="display: flex;border:1px solid black;border-top: none;">
69 82
         <div style="flex: 2; padding: 5px 0;">
@@ -72,51 +85,45 @@
72 85
         </div>
73 86
         <div style="flex: 1;border-left: 1px solid black; padding: 5px 0;">¥:{{ list.medfee_sumamt }}</div>
74 87
       </div>
75
-      <div style="display: flex;border:1px solid black;border-top: none;height: 70px;">
76
-        <div 
77
-          style="flex: 0.5;border-right: 1px solid black; padding: 5px 0;
78
-          text-align: center;line-height: 60px;font-weight: bolder;"
79
-        >
80
-          附注:
81
-        </div>
82
-        <div style="flex: 2; padding: 5px 0; position: relative;">
88
+      <div style="border:1px solid black;border-top: none;height: 80px;">
89
+        <div style="padding: 5px 0; position: relative;">
83 90
           <div v-if="index == pageArr.length - 1">
84
-                <div style="display:flex;">
85
-                  <div style="width:150px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
86
-                  <div style="width:150px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
87
-                  <div style="width:150px">统筹支出:{{ list.order.hifp_pay }}</div>
88
-                  <div style="width:150px">大病支出:{{list.order.hifmi_pay}}</div>
89
-
90
-                </div>
91
-                <div style="display:flex;">
92
-                  <div style="width:150px">个人账户支付:{{ list.order.acct_pay }}</div>
93
-                  <div style="width:150px">现金支出:{{ list.order.psn_cash_pay }}</div>
94
-                  <div style="width:150px">本次账户:0</div>
95
-                  <div style="width:150px">上次账户:0</div>
96
-                </div>
97
-              <div style="display:flex;">
98
-                <div style="width:150px">账户余额:{{ list.order.balc }}</div>
99
-                <div style="width:150px">其他支出:{{ list.order.oth_pay }}</div>
100
-                <div style="width:150px">大病补充保险支出:0</div>
101
-                <div style="width:150px">民政支出:0</div>
102
-              </div>
103
-              <div style="display:flex;">
104
-                <div style="width:220px">医疗救助基金支出:{{ list.order.maf_pay }}</div>
105
-                <div style="width:280px">企业补充医疗保险基金支出:{{ list.order.hifes_pay }}</div>
106
-              </div>
91
+            <div style="display:flex;">
92
+              <div style="flex: 1;">医疗总费用:{{ list.order.medfee_sumamt }}</div>
93
+              <div style="flex: 1;">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
94
+              <div style="flex: 1;">统筹支出:{{ list.order.hifp_pay }}</div>
95
+              <div style="flex: 1;">大病支出:{{list.order.hifmi_pay}}</div>
107 96
 
108 97
             </div>
109
-          <span style="position: absolute;left: 90%;top: 70%;">(手写无效)</span>
98
+            <div style="display:flex;">
99
+              <div style="flex: 1;">个人账户支付:{{ list.order.acct_pay }}</div>
100
+              <div style="flex: 1;">现金支出:{{ list.order.psn_cash_pay }}</div>
101
+              <div style="flex: 1;">本次账户:0</div>
102
+              <div style="flex: 1;">上次账户:0</div>
103
+            </div>
104
+            <div style="display:flex;">
105
+              <div style="flex: 1;">账户余额:{{ list.order.balc }}</div>
106
+              <div style="flex: 1;">其他支出:{{ list.order.oth_pay }}</div>
107
+              <div style="flex: 1;">大病补充保险支出:0</div>
108
+              <div style="flex: 1;">民政支出:0</div>
109
+            </div>
110
+            <div style="display:flex;">
111
+              <div style="flex: 1;">医疗救助基金支出:{{ list.order.maf_pay }}</div>
112
+              <div style="flex: 1;">企业补充医疗保险基金支出:{{ list.order.hifes_pay }}</div>
113
+            </div>
114
+
115
+          </div>
116
+          <!-- <span style="position: absolute;left: 80%;top: 70%;">(手写无效)</span> -->
110 117
         </div>
111 118
       </div>
112 119
       <div style="display: flex;">
113 120
         <div style="flex: 1;">收款单位(章):{{ org_name }}</div>
114 121
         <div style="flex: 1;">收费员:{{ paramsObj.chargeName }}</div>
115
-        <div style="flex: 1;"> 
122
+        <div style="flex: 1;">
116 123
           <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
117 124
118 125
           <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
119
-          月  
126
+          月
120 127
           <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
121 128
122 129
           </div>
@@ -267,4 +274,4 @@ export default {
267 274
         }
268 275
     }
269 276
 }
270
-</script>
277
+</script>