Browse Source

新功能

test_user 2 years ago
parent
commit
7704d425b8

+ 4 - 24
src/xt_pages/outpatientCharges/batchStatementPrint.vue View File

@@ -18,15 +18,9 @@
18 18
 
19 19
     <div class="dialysisPage" style="padding-top: 40px">
20 20
 
21
-<!--      <batch-print-three-->
22
-<!--        :info="info"-->
23
-<!--        v-if="org_id == 10138 || org_id == 0 || org_id == 10278"-->
24
-<!--      ></batch-print-three>-->
25 21
       <batch-print
26 22
         :infos="info"
27
-        v-if="org_id == 10138 || org_id == 0 || org_id == 10278"
28 23
       >
29
-
30 24
       </batch-print>
31 25
 
32 26
     </div>
@@ -55,7 +49,6 @@ import printTen from "./statementTemplate/printTen";
55 49
 import BatchPrintThree from '../outpatientDoctorStation/batch_print_template/batchPrintThree'
56 50
 import BatchPrint from './statementTemplate/batchPrint'
57 51
 
58
-// import PrintOther from '../hospitalStation/statementTemplate/printOther'
59 52
 export default {
60 53
   name: "batchStatementPrint",
61 54
   components: {
@@ -102,11 +95,7 @@ export default {
102 95
       var ptime = Math.round(new Date().getTime() / 1000);
103 96
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
104 97
 
105
-      if (
106
-        this.$store.getters.xt_user.org_id == 10138 ||
107
-        this.$store.getters.xt_user.org_id == 0 ||
108
-        this.$store.getters.xt_user.org_id == 10278
109
-      ) {
98
+      if (this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 10278) {
110 99
         setTimeout(() => {
111 100
           const style =
112 101
             "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 47%;}}}";
@@ -139,10 +128,7 @@ export default {
139 128
             scanStyles: false,
140 129
           });
141 130
         }, 500);
142
-      } else if (
143
-        this.$store.getters.xt_user.org_id == 9504 ||
144
-        this.$store.getters.xt_user.org_id == 10028
145
-      ) {
131
+      } else if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
146 132
         const style =
147 133
           "@media print {.printTitle{font-size: 20px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;font-size:12px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;font-size:12px;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none;font-size:12px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;font-size:12px;}.actionBar div{width:150px;}}";
148 134
         printJS({
@@ -153,10 +139,7 @@ export default {
153 139
         });
154 140
       } else {
155 141
         // 医保环境打印格式
156
-        if (
157
-          this.$store.getters.xt_user.org_id == 9919 ||
158
-          this.$store.getters.xt_user.org_id == 10106
159
-        ) {
142
+        if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106) {
160 143
           const style =
161 144
             "@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}";
162 145
           printJS({
@@ -165,10 +148,7 @@ export default {
165 148
             style: style,
166 149
             scanStyles: false,
167 150
           });
168
-        } else if (
169
-
170
-          this.$store.getters.xt_user.org_id == 10191
171
-        ) {
151
+        } else if (this.$store.getters.xt_user.org_id == 10191) {
172 152
           const style =
173 153
             "@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}";
174 154
           printJS({

+ 2 - 3
src/xt_pages/outpatientCharges/statementTemplate/batchPrint.vue View File

@@ -3,7 +3,7 @@
3 3
     <div  id='prescription-print' class="prescription-print"
4 4
          style="position: relative;">
5 5
       <div v-for="(info,index) in infos">
6
-      <img style="width:100%;height:80px" v-if="$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 0 " src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
6
+      <img style="width:100%;height:80px" v-if="$store.getters.xt_user.org_id==10138" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
7 7
       <img style="width:100%;height:80px" v-if="$store.getters.xt_user.org_id==10278" src="https://kuyi.shengws.com/beierlog.png" alt="">
8 8
       <div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
9 9
       <div style="display:flex;">
@@ -61,8 +61,7 @@
61 61
 
62 62
               </td>
63 63
               <td>
64
-                                <span v-if="item.type == 1"><span
65
-                                  v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}}&nbsp;* &nbsp;</span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
64
+                  <span v-if="item.type == 1"><span v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}}&nbsp;* &nbsp;</span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
66 65
                 <span v-if="item.type == 2"></span>
67 66
                 <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
68 67
                 <span v-if="item.type == 4"></span>

+ 6 - 6
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue View File

@@ -12,7 +12,7 @@
12 12
                 <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span>
13 13
                 </div>
14 14
                 <div style="margin-left:2px;">电脑号:<span
15
-                        style="display:inline-block;">{{info.psn_no ? info.psn_no : ''}}</span></div>
15
+                        style="display:inline-block;">{{info.new_order.psn_no ? info.new_order.psn_no : ''}}</span></div>
16 16
             </div>
17 17
             <div style="display:flex;justify-content: space-between;">
18 18
                 <div style="display:flex;">
@@ -26,7 +26,7 @@
26 26
                     </div>
27 27
                     <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
28 28
                     </div>
29
-                    <div>收费日期:<span style="display:inline-block;width:100px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span>
29
+                    <div>收费日期:<span style="display:inline-block;width:100px;">{{info.new_order.setl_time ? info.new_order.setl_time.split(' ')[0] : ''}}</span>
30 30
                     </div>
31 31
                 </div>
32 32
                 <div style="float:right">金额单位:元</div>
@@ -130,18 +130,18 @@
130 130
                             <div style="display:flex;flez-wrap:wrap;font-size:16px;">
131 131
                               <div style="width:33%;">医疗救助基金金额:{{info.maf_pay?info.maf_pay:info.new_order.maf_pay}}元</div>
132 132
 
133
-                              <div style="width:33%;">个人支付金额:{{ info.psn_pay?info.psn_pay:info.new_order.psn_pay }}元</div>
134
-                                <div style="width:33%;">个人账户金额:{{info.balc >= 0 ? info.balc : info.new_order.balc}}元</div>
133
+                              <div style="width:33%;">个人支付金额:{{ info.new_order.psn_cash_pay}}元</div>
134
+                                <div style="width:33%;">个人账户金额:{{info.new_order.balc}}元</div>
135 135
                             </div>
136 136
                         </td>
137
-                        <td style="font-size:16px;">合计:{{info.medfee_sumamt?info.medfee_sumamt:info.new_order.medfee_sumamt}}元</td>
137
+                        <td style="font-size:16px;">合计:{{info.new_order.medfee_sumamt}}元</td>
138 138
                     </tr>
139 139
 
140 140
                 </table>
141 141
             </div>
142 142
             <div style="float:right;margin:10px 0;display:flex;">
143 143
                 <div>操作人:<span style="width:100px;display:inline-block;">{{info.p_admin.user_name}}</span></div>
144
-                <div>操作日期:<span style="width:100px;display:inline-block;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span>
144
+                <div>操作日期:<span style="width:100px;display:inline-block;">{{info.new_order.setl_time ? info.new_order.setl_time.split(' ')[0] : ''}}</span>
145 145
                 </div>
146 146
             </div>
147 147
             <img style="width:100%;" v-if="$store.getters.xt_user.org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">

+ 2 - 1
src/xt_pages/outpatientCharges/summary.vue View File

@@ -21,6 +21,7 @@
21 21
               style="width: 150px"
22 22
               v-model="keywords"
23 23
               @input="searchAction"
24
+              placeholder="请输入内容"
24 25
               @keyup.enter.native="searchAction"
25 26
               class="filter-item"
26 27
           />
@@ -121,7 +122,7 @@
121 122
                       <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
122 123
 
123 124
                     </el-popover> -->
124
-          <el-button v-if="$store.getters.xt_user.org_id == 0" size="small" type="primary" @click="batch_print_settlte">批量打印结算单
125
+          <el-button v-if="$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 0 || $store.getters.xt_user.org_id == 10278"  size="small" type="primary" @click="batch_print_settlte">批量打印结算单
125 126
           </el-button>
126 127
           <el-button size="small" type="primary" @click="export_detail"
127 128
           >报表下载

+ 4 - 4
src/xt_pages/outpatientDoctorStation/batch_print_template/batchPrintThree.vue View File

@@ -8,13 +8,13 @@
8 8
           class="prescription-print"
9 9
           style="page-break-after: always"
10 10
         >
11
-          <span v-if="org_id == 10138">
11
+          <span v-if="org_id == 10138 || org_id == 10341 || org_id == 10342">
12 12
             <img
13 13
               src="https://kuyi.shengws.com/bailin/bltotle.jpg"
14 14
               style="width: 100%"
15 15
               alt=""
16 16
             /></span>
17
-          <span v-if="org_id == 10278">
17
+          <span v-if="org_id == 10278  || org_id == 10341 || org_id == 10342">
18 18
             <img
19 19
               src="https://kuyi.shengws.com/beierlog.png"
20 20
               style="width: 100%"
@@ -220,13 +220,13 @@
220 220
           </div>
221 221
           <div>*处方当日有效,特殊情况可适当延长,一般不超过3天</div>
222 222
           <div>*药品属于特殊商品,非质量问题不允许退换</div>
223
-          <span v-if="org_id == 10138"
223
+          <span v-if="org_id == 10138  || org_id == 10341 || org_id == 10342"
224 224
           ><img
225 225
             src="https://kuyi.shengws.com/bailin/blend.jpg"
226 226
             style="width: 100%"
227 227
             alt=""
228 228
           /></span>
229
-          <span v-if="org_id == 10278"
229
+          <span v-if="org_id == 10278  || org_id == 10341 || org_id == 10342"
230 230
           ><img
231 231
             src="https://kuyi.shengws.com/bailinbeier.png"
232 232
             style="width: 100%"