Ver código fonte

赤峰打印单

huangyw 2 anos atrás
pai
commit
23ca916e50

+ 1 - 1
src/xt_pages/outpatientCharges/listPrint.vue Ver arquivo

@@ -436,7 +436,7 @@
436 436
       },
437 437
       printThisPage() {
438 438
         if(this.org_id != 10106){
439
-          if(this.org_id == 10215 || this.org_id == 0){
439
+          if(this.org_id == 10215){
440 440
             const style =
441 441
                 '@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: 20px;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;}}'
442 442
             printJS({

+ 13 - 13
src/xt_pages/outpatientCharges/listTemplate/printTwo10265.vue Ver arquivo

@@ -14,9 +14,9 @@
14 14
       <div class="listInfo">
15 15
         <div>入院科室:血液透析室</div>
16 16
         <div>出院科室:血液透析室</div>
17
-        <div>入院日期:{{hospital_record.in_hosptial_time.split(' ')[0]}}</div>
18
-        <div>出院日期:{{hospital_record.out_hosptial_time.split(' ')[0]}}</div>
19
-        <div>住院天数:{{getDay(hospital_record.in_hosptial_time.split(' ')[0] ,hospital_record.out_hosptial_time.split(' ')[0])}}</div>
17
+        <!-- <div>入院日期:{{hospital_record.in_hosptial_time.split(' ')[0]}}</div> -->
18
+        <!-- <div>出院日期:{{hospital_record.out_hosptial_time.split(' ')[0]}}</div> -->
19
+        <!-- <div>住院天数:{{getDay(hospital_record.in_hosptial_time.split(' ')[0] ,hospital_record.out_hosptial_time.split(' ')[0])}}</div> -->
20 20
       </div>
21 21
 
22 22
       <div
@@ -48,23 +48,23 @@
48 48
           <td style="width: 20%">金额(元)</td>
49 49
         </tr>
50 50
         <tr v-for="subItem in item.details">
51
-          <td style="width: 19%">{{subItem.name}}</td>
52
-          <td style="width: 21%"></td>
51
+          <td style="width: 19%;white-space: nowrap;">{{subItem.name}}</td>
52
+          <td style="width: 21%;white-space: nowrap;"></td>
53 53
           <td style="width: 14%">{{ subItem.spec }}</td>
54
-          <td style="width: 10%">{{ subItem.medicine_insurance_kind }}</td>
54
+          <td style="width: 10%;white-space: nowrap;">{{ subItem.medicine_insurance_kind }}</td>
55 55
           <td style="width: 10%">{{ subItem.price.toFixed(2) }}</td>
56
-          <td style="width: 6%">{{ subItem.count }}{{ subItem.unit }}</td>
56
+          <td style="width: 6%;white-space: nowrap;">{{ subItem.count }}{{ subItem.unit }}</td>
57 57
           <td style="width: 20%">{{ (subItem.price * subItem.count).toFixed(2) }}</td>
58 58
         </tr>
59 59
 
60 60
         <tr>
61
-          <td style="width: 20%">甲类:{{item.jiaTotal}}</td>
62
-          <td style="width: 20%">乙类药品:{{item.yiTotal}}</td>
63
-          <td style="width: 5%">非药品:{{0.00}}</td>
64
-          <td style="width: 5%">丙类:{{item.bingTotal}}</td>
65
-          <td style="width: 5%">其他:{{0.00}}</td>
61
+          <td style="width: 20%;white-space: nowrap;">甲类:{{item.jiaTotal}}</td>
62
+          <td style="width: 20%;white-space: nowrap;">乙类药品:{{item.yiTotal}}</td>
63
+          <td style="width: 5%;white-space: nowrap;">非药品:{{0.00}}</td>
64
+          <td style="width: 5%;white-space: nowrap;">丙类:{{item.bingTotal}}</td>
65
+          <td style="width: 5%;white-space: nowrap;">其他:{{0.00}}</td>
66 66
           <td></td>
67
-          <td style="width: 20%">小计:{{item.total}}</td>
67
+          <td style="width: 20%;white-space: nowrap;">小计:{{item.total}}</td>
68 68
 
69 69
         </tr>
70 70
       </table>