diff --git a/src/pages/site/confirm/confirm.vue b/src/pages/site/confirm/confirm.vue index 9baa789..087b161 100644 --- a/src/pages/site/confirm/confirm.vue +++ b/src/pages/site/confirm/confirm.vue @@ -94,7 +94,7 @@ export default { ocPrice: '', ocReaon: '', ocUsage: 1, // 1 -> 客户订场, 2-> 散客, 3-> 锁场, 4 -> 挂账 - light_up: false, + light_up: true, usageLs: [ { name: '客户订场', type: 1 }, { name: '散客', type: 2 }, { name: '锁场', type: 3 }, { name: '挂账', type: 4 }, diff --git a/src/subpackage/order/pages/ym_card/detail/detail.vue b/src/subpackage/order/pages/ym_card/detail/detail.vue index 2d5d98c..204b2d6 100644 --- a/src/subpackage/order/pages/ym_card/detail/detail.vue +++ b/src/subpackage/order/pages/ym_card/detail/detail.vue @@ -53,8 +53,20 @@ + + + + + + { this.userMonthlyCardRefundFixed({ order_no: orderInfo?.order_no || '', - amount: e.refund_amount || 0, - integral: e.refund_integral || 0 + amount: +e.refund_amount || 0, + integral: +e.refund_integral || 0 }); } }); @@ -163,11 +177,18 @@ export default { } }) .catch(util.hideLoad) - .finally(_=>setTimeout(_=>this.getCardInfo({ - id: this.optionsQuery?.id, - card_no: this.optionsQuery?.card_no - - }), 1200)); + .finally(_=> + setTimeout(_=>{ + this.getCardInfo({ + id: this.optionsQuery?.id, + card_no: this.optionsQuery?.card_no + + }) + .then(res=>{ + if(res.order_no)this.getRefundInfo(res.order_no || ''); + }) + }, 1200) + ); }, previewImg(url){ if(!url)return @@ -266,7 +287,7 @@ export default {