see999 4 years ago
parent
commit
b7d53eeee1

+ 1 - 1
src/xt_pages/outpatientCharges/allListPrint.vue View File

266
       printThisPage() {
266
       printThisPage() {
267
 
267
 
268
         const style =
268
         const style =
269
-          '@media print {.allListTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.allListInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .allListTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;text-align:left;}.allListTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}'
269
+          '@media print {.allListTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.allListInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .allListTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;text-align:left;}.allListTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}'
270
         printJS({
270
         printJS({
271
           printable: 'allList-print',
271
           printable: 'allList-print',
272
           type: 'html',
272
           type: 'html',

+ 3 - 3
src/xt_pages/outpatientCharges/allListTemplate/printOne.vue View File

19
                     <td style="width:10%">数量</td>
19
                     <td style="width:10%">数量</td>
20
                     <td style="width:10%">金额(元)</td>
20
                     <td style="width:10%">金额(元)</td>
21
                 </tr>
21
                 </tr>
22
-                <template v-for='item in list.slice(index * 13,(index * 14) + pageArr[index])'>
22
+                <template v-for='item in list.slice(index * 13,(index * 13) + pageArr[index])'>
23
                     <tr v-if="item.is_total == 2">
23
                     <tr v-if="item.is_total == 2">
24
                         <td style="width:10%">{{item.med_chrgitm_type}}</td>
24
                         <td style="width:10%">{{item.med_chrgitm_type}}</td>
25
                         <td style="width:50%">{{item.name}}</td>
25
                         <td style="width:50%">{{item.name}}</td>
140
     padding:20px 10px;
140
     padding:20px 10px;
141
 }
141
 }
142
 .allListTitle{
142
 .allListTitle{
143
-    font-size: 28px;
143
+    font-size: 24px;
144
     text-align: center;
144
     text-align: center;
145
     font-weight: bold;
145
     font-weight: bold;
146
     margin-bottom: 10px;
146
     margin-bottom: 10px;
156
     text-align: center;
156
     text-align: center;
157
     border-collapse: collapse;
157
     border-collapse: collapse;
158
     line-height: 40px;
158
     line-height: 40px;
159
-    font-size: 16px;
159
+    font-size: 14px;
160
     border-color: #000;
160
     border-color: #000;
161
     text-align: left;
161
     text-align: left;
162
 }
162
 }

+ 1 - 1
src/xt_pages/outpatientCharges/listPrint.vue View File

153
       printThisPage() {
153
       printThisPage() {
154
 
154
 
155
         const style =
155
         const style =
156
-          '@media print {.listTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}'
156
+          '@media print {.listTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}'
157
         printJS({
157
         printJS({
158
           printable: 'list-print',
158
           printable: 'list-print',
159
           type: 'html',
159
           type: 'html',

+ 3 - 3
src/xt_pages/outpatientCharges/listTemplate/printOne.vue View File

21
                 <td style="width:6%">数量</td>
21
                 <td style="width:6%">数量</td>
22
                 <td style="width:10%">金额(元)</td>
22
                 <td style="width:10%">金额(元)</td>
23
             </tr>
23
             </tr>
24
-            <tr v-for="item in list.slice(index * 13,(index * 14) + pageArr[index])">
24
+            <tr v-for="item in list.slice(index * 13,(index * 13) + pageArr[index])">
25
                 <td style="width:19%">{{item.p_time}}</td>
25
                 <td style="width:19%">{{item.p_time}}</td>
26
                 <td style="width:10%">{{item.med_chrgitm_type}}</td>
26
                 <td style="width:10%">{{item.med_chrgitm_type}}</td>
27
                 <td style="width:31%">{{item.name}}</td>
27
                 <td style="width:31%">{{item.name}}</td>
136
     padding:20px 10px;
136
     padding:20px 10px;
137
 }
137
 }
138
 .listTitle{
138
 .listTitle{
139
-    font-size: 28px;
139
+    font-size: 24px;
140
     text-align: center;
140
     text-align: center;
141
     font-weight: bold;
141
     font-weight: bold;
142
     margin-bottom: 10px;
142
     margin-bottom: 10px;
152
     text-align: center;
152
     text-align: center;
153
     border-collapse: collapse;
153
     border-collapse: collapse;
154
     line-height: 40px;
154
     line-height: 40px;
155
-    font-size: 16px;
155
+    font-size: 14px;
156
     border-color: #000;
156
     border-color: #000;
157
     text-align: left;
157
     text-align: left;
158
 }
158
 }