Browse Source

11月12 打印单

yq1 2 days ago
parent
commit
98e79f29e4
2 changed files with 30 additions and 14 deletions
  1. 4 0
      src/store/modules/globalConfig.js
  2. 26 14
      src/xt_pages/outpatientCharges/summary.vue

+ 4 - 0
src/store/modules/globalConfig.js View File

2621
     {
2621
     {
2622
       id: 4,
2622
       id: 4,
2623
       name: '血流不止'
2623
       name: '血流不止'
2624
+    },
2625
+    {
2626
+      id: 5,
2627
+      name: '患者要求'
2624
     }
2628
     }
2625
     ],
2629
     ],
2626
     hemostasis_opera: [{
2630
     hemostasis_opera: [{

+ 26 - 14
src/xt_pages/outpatientCharges/summary.vue View File

169
         highlight-current-row
169
         highlight-current-row
170
         height="calc(100vh - 300px)"
170
         height="calc(100vh - 300px)"
171
       >
171
       >
172
-        <el-table-column align="center" type="selection" width="55"></el-table-column>
172
+        <el-table-column align="center" type="selection" width="50"></el-table-column>
173
         <el-table-column
173
         <el-table-column
174
           prop="date"
174
           prop="date"
175
           label="序号"
175
           label="序号"
192
         <el-table-column align="center" width="60" prop="name" label="患者年龄">
192
         <el-table-column align="center" width="60" prop="name" label="患者年龄">
193
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
193
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
194
         </el-table-column>
194
         </el-table-column>
195
-        <el-table-column align="center" prop="name" label="患者类型">
195
+        <el-table-column align="center" width="90" prop="name" label="患者类型">
196
           <template slot-scope="scope">
196
           <template slot-scope="scope">
197
             {{ getpatient(scope.row.patient.patient_type) }}
197
             {{ getpatient(scope.row.patient.patient_type) }}
198
           </template>
198
           </template>
233
           </template>
233
           </template>
234
         </el-table-column>
234
         </el-table-column>
235
 
235
 
236
-        <el-table-column align="center" width="90" prop="name" label="险种类型">
236
+        <el-table-column align="center" width="60" prop="name" label="险种类型">
237
           <template slot-scope="scope">
237
           <template slot-scope="scope">
238
             <div v-if="scope.row.insutype == '390'">
238
             <div v-if="scope.row.insutype == '390'">
239
               城乡居民
239
               城乡居民
269
             }}
269
             }}
270
           </template>
270
           </template>
271
         </el-table-column>
271
         </el-table-column>
272
-        <el-table-column align="center" width="70" prop="name" label="收费员">
272
+        <el-table-column align="center" width="65" prop="name" label="收费员">
273
           <template slot-scope="scope">{{
273
           <template slot-scope="scope">{{
274
               getName(scope.row.creator)
274
               getName(scope.row.creator)
275
             }}
275
             }}
276
           </template>
276
           </template>
277
         </el-table-column>
277
         </el-table-column>
278
-        <el-table-column align="center" width="70" prop="name" label="状态">
278
+        <el-table-column align="center" width="65" prop="name" label="状态">
279
           <template slot-scope="scope">
279
           <template slot-scope="scope">
280
             <div v-if="scope.row.order_status == 1">待结算</div>
280
             <div v-if="scope.row.order_status == 1">待结算</div>
281
             <div v-if="scope.row.order_status == 2">已结算</div>
281
             <div v-if="scope.row.order_status == 2">已结算</div>
282
             <div v-if="scope.row.order_status == 3">已退费</div>
282
             <div v-if="scope.row.order_status == 3">已退费</div>
283
           </template>
283
           </template>
284
         </el-table-column>
284
         </el-table-column>
285
-        <el-table-column align="center" prop="name" label="操作">
285
+        <el-table-column align="center" width="110" prop="name" label="操作">
286
           <template slot-scope="scope">
286
           <template slot-scope="scope">
287
             <el-button class="butt_1" size="mini" type="primary" @click="toDetail(scope.row)"
287
             <el-button class="butt_1" size="mini" type="primary" @click="toDetail(scope.row)"
288
             >详情
288
             >详情
375
               @click="invoicePrint(scope.row)"
375
               @click="invoicePrint(scope.row)"
376
             >打印发票
376
             >打印发票
377
             </el-button>
377
             </el-button>
378
+            <el-button
379
+              class="butt_2"
380
+              size="mini"
381
+              type="primary"
382
+              @click="open(scope.row)"
383
+            >打印结算清单
384
+            </el-button>
378
           </template>
385
           </template>
379
         </el-table-column>
386
         </el-table-column>
380
       </el-table>
387
       </el-table>
438
       title="打印"
445
       title="打印"
439
       :visible.sync="listVisible"
446
       :visible.sync="listVisible"
440
     >
447
     >
441
-      <listPrint></listPrint>
448
+      <listPrint :paramsObj='paramsObj'></listPrint>
442
     </el-dialog>
449
     </el-dialog>
443
     <el-dialog
450
     <el-dialog
444
       class="centerDialog"
451
       class="centerDialog"
712
       allListVisible: false,
719
       allListVisible: false,
713
       adminUserOptions: [],
720
       adminUserOptions: [],
714
       invoiceVisible: false,
721
       invoiceVisible: false,
715
-      paramsObj: {},
722
+      paramsObj: {id:''},
716
       invoiceParams: {},
723
       invoiceParams: {},
717
       settlementVisible: false,
724
       settlementVisible: false,
718
       settlementObj: {},
725
       settlementObj: {},
720
       org_id:'',
727
       org_id:'',
721
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
728
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
722
                         {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
729
                         {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
723
-      ]
730
+      ],
731
+      // paramsObj3:{
732
+      //   id:''
733
+      // }
724
     }
734
     }
725
   },
735
   },
726
 
736
 
4078
         }
4088
         }
4079
       })
4089
       })
4080
     },
4090
     },
4081
-    open(index) {
4082
-      if (index == 1) {
4091
+    open(row) {
4092
+      console.log('row',row);
4093
+      this.paramsObj.id = row.id
4094
+      // if (index == 1) {
4083
         this.listVisible = true
4095
         this.listVisible = true
4084
-      } else if (index == 2) {
4085
-        this.allListVisible = true
4086
-      }
4096
+      // } else if (index == 2) {
4097
+      //   this.allListVisible = true
4098
+      // }
4087
     }, unique(array) {
4099
     }, unique(array) {
4088
       // res用来存储结果
4100
       // res用来存储结果
4089
       var res = []
4101
       var res = []