diff --git a/src/pages/write_off/operate/operate.vue b/src/pages/write_off/operate/operate.vue index a00527f..001bbe4 100644 --- a/src/pages/write_off/operate/operate.vue +++ b/src/pages/write_off/operate/operate.vue @@ -252,7 +252,7 @@ export default { // 年月卡 if(_data.extension&&_data.extension.verify_order_type === 'monthly_card'){ - util.$_emit(WRITE_OFF_ORDER_INFO, {..._data}); + util.$_emit(WRITE_OFF_ORDER_INFO, { data: _data, query }); util.routeTo(`/pages/write_off/ym_confirm/ym_confirm?type=${vType}`, 'nT'); return } diff --git a/src/pages/write_off/ym_confirm/ym_confirm.vue b/src/pages/write_off/ym_confirm/ym_confirm.vue index 9b5e221..8d68911 100644 --- a/src/pages/write_off/ym_confirm/ym_confirm.vue +++ b/src/pages/write_off/ym_confirm/ym_confirm.vue @@ -45,14 +45,16 @@ export default { orderInfo: { extension: {}, card_info: {} - } + }, + operate_stadium_id: '', // 操作的场馆id, 有多门店年月卡,不能随接口返回门店id } }, onLoad(options){ if(options.type)this.type = options.type || ''; util.$_once(WRITE_OFF_ORDER_INFO, data => { console.warn(data) - this.orderInfo = data; + this.orderInfo = data?.data || {}; + this.operate_stadium_id = data?.query?.stadium_id ?? data?.data?.stadium_id ?? ''; }) }, methods: { @@ -67,7 +69,7 @@ export default { data: { brand_id: orderInfo.brand_id, card_no: orderInfo.card_no, - stadium_id: orderInfo.stadium_id, + stadium_id: this.operate_stadium_id ?? '', type: type == 'verify_code'? 5 : 6, }, isDefaultGet: false, diff --git a/src/subpackage/verification/pages/site_people/index.vue b/src/subpackage/verification/pages/site_people/index.vue index 4956e9e..324395a 100644 --- a/src/subpackage/verification/pages/site_people/index.vue +++ b/src/subpackage/verification/pages/site_people/index.vue @@ -102,7 +102,7 @@ export default { let { brand_id, id } = this.stadiumInfo; if(!brand_id || !id) return; this.refreshData({ brand_id, stadium_id: id }); - }, 3000) + }, 5000) }, clearTimer(timer){ try{ diff --git a/src/subpackage/verification/pages/site_people/modules/methods_bar.vue b/src/subpackage/verification/pages/site_people/modules/methods_bar.vue index bd8f495..025887d 100644 --- a/src/subpackage/verification/pages/site_people/modules/methods_bar.vue +++ b/src/subpackage/verification/pages/site_people/modules/methods_bar.vue @@ -9,6 +9,8 @@