Pārlūkot izejas kodu

12月16 打印单

yq1 3 nedēļas atpakaļ
vecāks
revīzija
5dcde9428e
1 mainītis faili ar 8 papildinājumiem un 4 dzēšanām
  1. 8 4
      src/xt_pages/outpatientTool/components/settle.vue

+ 8 - 4
src/xt_pages/outpatientTool/components/settle.vue Parādīt failu

@@ -104,8 +104,6 @@
104 104
         </el-table-column>
105 105
 
106 106
 
107
-
108
-
109 107
           <el-table-column align="center" prop="item_name" label="结算类型">
110 108
               <template slot-scope="scope">
111 109
                 <div v-if="scope.row.is_medicine_insurance == 0">自费</div>
@@ -392,7 +390,7 @@
392 390
       </el-table-column>
393 391
 
394 392
 
395
-      <el-table-column align="center" prop="item_name" label="储值卡说明">
393
+      <el-table-column align="center" prop="card_desc" label="储值卡说明">
396 394
         <template slot-scope="scope">{{scope.row.card_desc}}</template>
397 395
         <!--        <template slot-scope="scope" style="width: 100px">-->
398 396
         <!--          <el-input v-model="scope.row.oth_desc"></el-input>-->
@@ -691,7 +689,13 @@ import { uParseTime } from '@/utils/tools'
691 689
             return
692 690
           }
693 691
           const values = data.map(item => Number(item[column.property]))
694
-          if (column.property === 'total' || column.property === 'medfee_sumamt'  || column.property === 'fund_pay_sumamt'  || column.property === 'acct_pay'  || column.property === 'maf_pay'  || column.property === 'psn_cash_pay'  || column.property === 'hifp_pay'  || column.property === 'hifob_pay' ||  column.property === 'hifes_pay' || column.property === 'hifmi_pay' || column.property === 'oth_pay' || column.property === 'cvlserv_pay' || column.property === 'wechat_pay' || column.property === 'ali_pay' || column.property === 'band_card_pay' || column.property === 'jifen_pay' || column.property === 'cash_pay') {
692
+          if (column.property === 'total' || column.property === 'medfee_sumamt'  || column.property === 'fund_pay_sumamt'  || 
693
+              column.property === 'acct_pay'  || column.property === 'maf_pay'  || column.property === 'psn_cash_pay'  || 
694
+              column.property === 'hifp_pay'  || column.property === 'hifob_pay' ||  column.property === 'hifes_pay' || 
695
+              column.property === 'hifmi_pay' || column.property === 'oth_pay' || column.property === 'cvlserv_pay' || 
696
+              column.property === 'wechat_pay' || column.property === 'ali_pay' || column.property === 'band_card_pay' || 
697
+              column.property === 'jifen_pay' || column.property === 'cash_pay' || column.property ==='card_desc'
698
+          ) {
695 699
             sums[index] = values.reduce((prev, curr) => {
696 700
               const value = Number(curr)
697 701
               if (!isNaN(value)) {