Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 year ago
parent
commit
8babc6e7d5

+ 16 - 5
src/xt_pages/outpatientCharges/statementTemplate/printthirteen.vue View File

1
 <template>
1
 <template>
2
   <div id="statement-print" class="statement-print">
2
   <div id="statement-print" class="statement-print">
3
-    
3
+
4
     <div class="statementTitle" >湖北省基本医疗保险门诊费用结算单</div>
4
     <div class="statementTitle" >湖北省基本医疗保险门诊费用结算单</div>
5
 
5
 
6
     <!-- <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088 &&this.$store.getters.xt_user.org_id != 10510 &&this.$store.getters.xt_user.org_id != 0">广东省社会医疗保险医疗费用结算单</div> -->
6
     <!-- <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088 &&this.$store.getters.xt_user.org_id != 10510 &&this.$store.getters.xt_user.org_id != 0">广东省社会医疗保险医疗费用结算单</div> -->
81
       </tr>
81
       </tr>
82
       <tr>
82
       <tr>
83
         <td>地址</td>
83
         <td>地址</td>
84
-        <td colspan="5">{{  }}</td>
84
+        <td colspan="5">{{info.patient.home_address}}</td>
85
         <td width="80">联系电话</td>
85
         <td width="80">联系电话</td>
86
         <td width="110">{{info.patient.phone}}</td>
86
         <td width="110">{{info.patient.phone}}</td>
87
         <td width="80">身份证号</td>
87
         <td width="80">身份证号</td>
89
       </tr>
89
       </tr>
90
       <tr>
90
       <tr>
91
         <td>门诊号</td>
91
         <td>门诊号</td>
92
-        <td colspan="5">{{ }}</td>
92
+        <td colspan="5">{{info.mdtrt_id}}</td>
93
         <td>门诊日期</td>
93
         <td>门诊日期</td>
94
-        <td colspan="5">{{ }}</td>
94
+        <td colspan="5">{{getTime(info.date)}}</td>
95
       </tr>
95
       </tr>
96
       <tr>
96
       <tr>
97
         <td>险种</td>
97
         <td>险种</td>
103
         <td colspan="5" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
103
         <td colspan="5" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
104
         <td colspan="5" v-if="info.insutype == '510'">生育保险</td>
104
         <td colspan="5" v-if="info.insutype == '510'">生育保险</td>
105
         <td>诊断</td>
105
         <td>诊断</td>
106
-        <td colspan="5">{{  }}</td>
106
+        <td colspan="5">{{info.diagnosis}}</td>
107
       </tr>
107
       </tr>
108
       <tr>
108
       <tr>
109
         <td>业务类别</td>
109
         <td>业务类别</td>
309
   </div>
309
   </div>
310
 </template>
310
 </template>
311
 <script>
311
 <script>
312
+import { uParseTime } from '@/utils/tools'
312
   export default {
313
   export default {
313
     props: {
314
     props: {
314
       info: {
315
       info: {
328
         }
329
         }
329
       }
330
       }
330
     },methods:{
331
     },methods:{
332
+      getTime(val) {
333
+        if (val < 0) {
334
+          return ""
335
+        }
336
+        if (val == "") {
337
+          return ""
338
+        } else {
339
+          return uParseTime(val, '{y}-{m}-{d}')
340
+        }
341
+      },
331
       getBirth(idNo){
342
       getBirth(idNo){
332
         var year = idNo.substring(6, 10);
343
         var year = idNo.substring(6, 10);
333
         var month = idNo.substring(10, 12);
344
         var month = idNo.substring(10, 12);

+ 0 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

497
       <save-template ref='saveTemplate' v-on:save_template="saveTemplate"></save-template>
497
       <save-template ref='saveTemplate' v-on:save_template="saveTemplate"></save-template>
498
       <next-or-last-prescription ref='next_or_last_prescription' v-on:save="setValue"
498
       <next-or-last-prescription ref='next_or_last_prescription' v-on:save="setValue"
499
                                  v-on:cancel="cancel"></next-or-last-prescription>
499
                                  v-on:cancel="cancel"></next-or-last-prescription>
500
-
501
-
502
       <!--<next-or-last-prescription ref='next_or_last_prescription' v-on:save="setValue" v-on:cancel="cancel"></next-or-last-prescription>-->
500
       <!--<next-or-last-prescription ref='next_or_last_prescription' v-on:save="setValue" v-on:cancel="cancel"></next-or-last-prescription>-->
503
       <call-prescription ref='call_prescription' v-on:call="call" v-on:call-cancel="callCancel"></call-prescription>
501
       <call-prescription ref='call_prescription' v-on:call="call" v-on:call-cancel="callCancel"></call-prescription>
504
-
505
-
506
   </div>
502
   </div>
507
 </template>
503
 </template>
508
 
504
 

+ 18 - 4
src/xt_pages/outpatientTool/detailPrint.vue View File

39
           </tr>
39
           </tr>
40
           <tr>
40
           <tr>
41
             <td>总费用:{{ getAllPice() }}</td>
41
             <td>总费用:{{ getAllPice() }}</td>
42
-            <td>个人支付:
43
-             {{getActPay()}}
42
+            <td>个人支付金额
43
+             {{getPsnCashPay()}}
44
             <!-- <span v-if="his_record_patient.balance_accounts_type == 2">{{ getAllPice() }}</span>
44
             <!-- <span v-if="his_record_patient.balance_accounts_type == 2">{{ getAllPice() }}</span>
45
             <span v-if="his_record_patient.balance_accounts_type != 2">{{ getActPay() }}</span> -->
45
             <span v-if="his_record_patient.balance_accounts_type != 2">{{ getActPay() }}</span> -->
46
             </td>
46
             </td>
47
+
48
+            <td>个人账户支付金额:
49
+              {{getActPay()}}
50
+              <!-- <span v-if="his_record_patient.balance_accounts_type == 2">{{ getAllPice() }}</span>
51
+              <span v-if="his_record_patient.balance_accounts_type != 2">{{ getActPay() }}</span> -->
52
+            </td>
47
             <td>基金支付记账:{{ getFundPaySumamt() }}</td>
53
             <td>基金支付记账:{{ getFundPaySumamt() }}</td>
48
             <td>补充医疗支付记账:{{ getHifesPay() }}</td>
54
             <td>补充医疗支付记账:{{ getHifesPay() }}</td>
49
           </tr>
55
           </tr>
414
       }
420
       }
415
       return total_price;
421
       return total_price;
416
     },
422
     },
417
-    getActPay() {
423
+    getPsnCashPay() {
418
       var act_pay = 0;
424
       var act_pay = 0;
419
       for (let i = 0; i < this.list.length; i++) {
425
       for (let i = 0; i < this.list.length; i++) {
420
         for (let j = 0; j < this.list[i].orders.length; j++) {
426
         for (let j = 0; j < this.list[i].orders.length; j++) {
428
       }
434
       }
429
 
435
 
430
       return act_pay.toFixed(2);
436
       return act_pay.toFixed(2);
437
+    },getActPay() {
438
+      var act_pay = 0;
439
+      for (let i = 0; i < this.list.length; i++) {
440
+        for (let j = 0; j < this.list[i].orders.length; j++) {
441
+            act_pay = act_pay + this.list[i].orders[j].acct_pay
442
+          }
443
+        }
444
+      return act_pay.toFixed(2);
431
     },
445
     },
432
     getFundPaySumamt() {
446
     getFundPaySumamt() {
433
       var fund_pay_sumamt = 0;
447
       var fund_pay_sumamt = 0;
436
           fund_pay_sumamt += this.list[i].orders[j].fund_pay_sumamt;
450
           fund_pay_sumamt += this.list[i].orders[j].fund_pay_sumamt;
437
         }
451
         }
438
       }
452
       }
439
-      return fund_pay_sumamt;
453
+      return fund_pay_sumamt.toFixed(2);
440
     },
454
     },
441
     getHifesPay() {
455
     getHifesPay() {
442
       var hifes_pay = 0;
456
       var hifes_pay = 0;