test_user vor 2 Jahren
Ursprung
Commit
7704d425b8

+ 4 - 24
src/xt_pages/outpatientCharges/batchStatementPrint.vue Datei anzeigen

18
 
18
 
19
     <div class="dialysisPage" style="padding-top: 40px">
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
       <batch-print
21
       <batch-print
26
         :infos="info"
22
         :infos="info"
27
-        v-if="org_id == 10138 || org_id == 0 || org_id == 10278"
28
       >
23
       >
29
-
30
       </batch-print>
24
       </batch-print>
31
 
25
 
32
     </div>
26
     </div>
55
 import BatchPrintThree from '../outpatientDoctorStation/batch_print_template/batchPrintThree'
49
 import BatchPrintThree from '../outpatientDoctorStation/batch_print_template/batchPrintThree'
56
 import BatchPrint from './statementTemplate/batchPrint'
50
 import BatchPrint from './statementTemplate/batchPrint'
57
 
51
 
58
-// import PrintOther from '../hospitalStation/statementTemplate/printOther'
59
 export default {
52
 export default {
60
   name: "batchStatementPrint",
53
   name: "batchStatementPrint",
61
   components: {
54
   components: {
102
       var ptime = Math.round(new Date().getTime() / 1000);
95
       var ptime = Math.round(new Date().getTime() / 1000);
103
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
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
         setTimeout(() => {
99
         setTimeout(() => {
111
           const style =
100
           const style =
112
             "@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%;}}}";
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
             scanStyles: false,
128
             scanStyles: false,
140
           });
129
           });
141
         }, 500);
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
         const style =
132
         const style =
147
           "@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;}}";
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
         printJS({
134
         printJS({
153
         });
139
         });
154
       } else {
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
           const style =
143
           const style =
161
             "@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;}}";
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
           printJS({
145
           printJS({
165
             style: style,
148
             style: style,
166
             scanStyles: false,
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
           const style =
152
           const style =
173
             "@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%;}}}";
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
           printJS({
154
           printJS({

+ 2 - 3
src/xt_pages/outpatientCharges/statementTemplate/batchPrint.vue Datei anzeigen

3
     <div  id='prescription-print' class="prescription-print"
3
     <div  id='prescription-print' class="prescription-print"
4
          style="position: relative;">
4
          style="position: relative;">
5
       <div v-for="(info,index) in infos">
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
       <img style="width:100%;height:80px" v-if="$store.getters.xt_user.org_id==10278" src="https://kuyi.shengws.com/beierlog.png" alt="">
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
       <div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
8
       <div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
9
       <div style="display:flex;">
9
       <div style="display:flex;">
61
 
61
 
62
               </td>
62
               </td>
63
               <td>
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
                 <span v-if="item.type == 2"></span>
65
                 <span v-if="item.type == 2"></span>
67
                 <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
66
                 <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
68
                 <span v-if="item.type == 4"></span>
67
                 <span v-if="item.type == 4"></span>

+ 6 - 6
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue Datei anzeigen

12
                 <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span>
12
                 <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span>
13
                 </div>
13
                 </div>
14
                 <div style="margin-left:2px;">电脑号:<span
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
             </div>
16
             </div>
17
             <div style="display:flex;justify-content: space-between;">
17
             <div style="display:flex;justify-content: space-between;">
18
                 <div style="display:flex;">
18
                 <div style="display:flex;">
26
                     </div>
26
                     </div>
27
                     <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
27
                     <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
28
                     </div>
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
                     </div>
30
                     </div>
31
                 </div>
31
                 </div>
32
                 <div style="float:right">金额单位:元</div>
32
                 <div style="float:right">金额单位:元</div>
130
                             <div style="display:flex;flez-wrap:wrap;font-size:16px;">
130
                             <div style="display:flex;flez-wrap:wrap;font-size:16px;">
131
                               <div style="width:33%;">医疗救助基金金额:{{info.maf_pay?info.maf_pay:info.new_order.maf_pay}}元</div>
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
                             </div>
135
                             </div>
136
                         </td>
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
                     </tr>
138
                     </tr>
139
 
139
 
140
                 </table>
140
                 </table>
141
             </div>
141
             </div>
142
             <div style="float:right;margin:10px 0;display:flex;">
142
             <div style="float:right;margin:10px 0;display:flex;">
143
                 <div>操作人:<span style="width:100px;display:inline-block;">{{info.p_admin.user_name}}</span></div>
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
                 </div>
145
                 </div>
146
             </div>
146
             </div>
147
             <img style="width:100%;" v-if="$store.getters.xt_user.org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
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 Datei anzeigen

21
               style="width: 150px"
21
               style="width: 150px"
22
               v-model="keywords"
22
               v-model="keywords"
23
               @input="searchAction"
23
               @input="searchAction"
24
+              placeholder="请输入内容"
24
               @keyup.enter.native="searchAction"
25
               @keyup.enter.native="searchAction"
25
               class="filter-item"
26
               class="filter-item"
26
           />
27
           />
121
                       <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
122
                       <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
122
 
123
 
123
                     </el-popover> -->
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
           </el-button>
126
           </el-button>
126
           <el-button size="small" type="primary" @click="export_detail"
127
           <el-button size="small" type="primary" @click="export_detail"
127
           >报表下载
128
           >报表下载

+ 4 - 4
src/xt_pages/outpatientDoctorStation/batch_print_template/batchPrintThree.vue Datei anzeigen

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