yq1 1 giorno fa
parent
commit
98e79f29e4

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

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

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

@@ -169,7 +169,7 @@
169 169
         highlight-current-row
170 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 173
         <el-table-column
174 174
           prop="date"
175 175
           label="序号"
@@ -192,7 +192,7 @@
192 192
         <el-table-column align="center" width="60" prop="name" label="患者年龄">
193 193
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
194 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 196
           <template slot-scope="scope">
197 197
             {{ getpatient(scope.row.patient.patient_type) }}
198 198
           </template>
@@ -233,7 +233,7 @@
233 233
           </template>
234 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 237
           <template slot-scope="scope">
238 238
             <div v-if="scope.row.insutype == '390'">
239 239
               城乡居民
@@ -269,20 +269,20 @@
269 269
             }}
270 270
           </template>
271 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 273
           <template slot-scope="scope">{{
274 274
               getName(scope.row.creator)
275 275
             }}
276 276
           </template>
277 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 279
           <template slot-scope="scope">
280 280
             <div v-if="scope.row.order_status == 1">待结算</div>
281 281
             <div v-if="scope.row.order_status == 2">已结算</div>
282 282
             <div v-if="scope.row.order_status == 3">已退费</div>
283 283
           </template>
284 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 286
           <template slot-scope="scope">
287 287
             <el-button class="butt_1" size="mini" type="primary" @click="toDetail(scope.row)"
288 288
             >详情
@@ -375,6 +375,13 @@
375 375
               @click="invoicePrint(scope.row)"
376 376
             >打印发票
377 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 385
           </template>
379 386
         </el-table-column>
380 387
       </el-table>
@@ -438,7 +445,7 @@
438 445
       title="打印"
439 446
       :visible.sync="listVisible"
440 447
     >
441
-      <listPrint></listPrint>
448
+      <listPrint :paramsObj='paramsObj'></listPrint>
442 449
     </el-dialog>
443 450
     <el-dialog
444 451
       class="centerDialog"
@@ -712,7 +719,7 @@ export default {
712 719
       allListVisible: false,
713 720
       adminUserOptions: [],
714 721
       invoiceVisible: false,
715
-      paramsObj: {},
722
+      paramsObj: {id:''},
716 723
       invoiceParams: {},
717 724
       settlementVisible: false,
718 725
       settlementObj: {},
@@ -720,7 +727,10 @@ export default {
720 727
       org_id:'',
721 728
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
722 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,12 +4088,14 @@ export default {
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 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 4099
     }, unique(array) {
4088 4100
       // res用来存储结果
4089 4101
       var res = []