Browse Source

12月16 打印单

yq1 3 weeks ago
parent
commit
5dcde9428e
1 changed files with 8 additions and 4 deletions
  1. 8 4
      src/xt_pages/outpatientTool/components/settle.vue

+ 8 - 4
src/xt_pages/outpatientTool/components/settle.vue View File

104
         </el-table-column>
104
         </el-table-column>
105
 
105
 
106
 
106
 
107
-
108
-
109
           <el-table-column align="center" prop="item_name" label="结算类型">
107
           <el-table-column align="center" prop="item_name" label="结算类型">
110
               <template slot-scope="scope">
108
               <template slot-scope="scope">
111
                 <div v-if="scope.row.is_medicine_insurance == 0">自费</div>
109
                 <div v-if="scope.row.is_medicine_insurance == 0">自费</div>
392
       </el-table-column>
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
         <template slot-scope="scope">{{scope.row.card_desc}}</template>
394
         <template slot-scope="scope">{{scope.row.card_desc}}</template>
397
         <!--        <template slot-scope="scope" style="width: 100px">-->
395
         <!--        <template slot-scope="scope" style="width: 100px">-->
398
         <!--          <el-input v-model="scope.row.oth_desc"></el-input>-->
396
         <!--          <el-input v-model="scope.row.oth_desc"></el-input>-->
691
             return
689
             return
692
           }
690
           }
693
           const values = data.map(item => Number(item[column.property]))
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
             sums[index] = values.reduce((prev, curr) => {
699
             sums[index] = values.reduce((prev, curr) => {
696
               const value = Number(curr)
700
               const value = Number(curr)
697
               if (!isNaN(value)) {
701
               if (!isNaN(value)) {