diff --git a/src/subpackage/device/components/order/reservation_people_detail/reservation_people_detail.vue b/src/subpackage/device/components/order/reservation_people_detail/reservation_people_detail.vue index 725c970..c9e1f8c 100644 --- a/src/subpackage/device/components/order/reservation_people_detail/reservation_people_detail.vue +++ b/src/subpackage/device/components/order/reservation_people_detail/reservation_people_detail.vue @@ -62,7 +62,7 @@ {{orderInfo.date || '-'}} - + 验证码{{i+1}}: @@ -73,7 +73,7 @@ - + 核销方式:{{ k.verify_desc || '-' }} 核销时间:{{ k.verify_time || '-' }} 离场方式:{{ k.verify_leave_desc || '-' }} @@ -94,11 +94,11 @@ - {{ isShowEnterRecord ? '收起' : '查看全部进场记录' }} - + {{ isShowEnterRecordIndexArr.includes(i) ? '收起' : '查看全部进场记录' }} + @@ -356,13 +356,21 @@ export default { sucInfo: {}, //绑定IC卡成功信息 // 20230823 【ID1001365】 次卡多次进出需求 - isShowEnterRecord: false, + isShowEnterRecordIndexArr: [], }; }, methods:{ + showEnterRecordBtn(i){ + let { isShowEnterRecordIndexArr } = this; + if(isShowEnterRecordIndexArr.includes(i)){ + this.isShowEnterRecordIndexArr = isShowEnterRecordIndexArr.filter(e=>e!==i); + }else{ + this.isShowEnterRecordIndexArr = [ ...isShowEnterRecordIndexArr, i ]; + } + }, filterVerifyRecord(e){ if(e?.many_enter_record?.length === -1)return []; - return e?.many_enter_record?.filter(e=>e.verify_type != 0) || []; + return e?.many_enter_record?.filter(e=>e.verify_time !== '') || []; }, verifyBtn(){ this.$emit('verify');