修复:配送商 - 缴费记录中支付成功后跳转页面错误
This commit is contained in:
parent
316d9a7383
commit
93d8f9e708
|
|
@ -57,7 +57,7 @@
|
||||||
@onChangeFun='onChangeFun'
|
@onChangeFun='onChangeFun'
|
||||||
:order_id="pay_order_id"
|
:order_id="pay_order_id"
|
||||||
:totalPrice='totalPrice'
|
:totalPrice='totalPrice'
|
||||||
:returnUrl="'/pages/agent/invite/record'">
|
:returnUrl="return_url">
|
||||||
</payment>
|
</payment>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -119,11 +119,13 @@ export default {
|
||||||
pay_close: false,
|
pay_close: false,
|
||||||
pay_order_id: '',
|
pay_order_id: '',
|
||||||
totalPrice: 0,
|
totalPrice: 0,
|
||||||
|
return_url: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
let _this = this;
|
let _this = this;
|
||||||
_this.agent_id = options.agent_id || 0;
|
_this.agent_id = options.agent_id || 0;
|
||||||
|
_this.return_url = `/pages/agent/delivery/payment_record?agent_id=${_this.agent_id}`;
|
||||||
// 判断:agent_id <= 0 抛出错误,返回代理中心
|
// 判断:agent_id <= 0 抛出错误,返回代理中心
|
||||||
if(Number(_this.agent_id) <= 0){
|
if(Number(_this.agent_id) <= 0){
|
||||||
_this.$util.Tips({
|
_this.$util.Tips({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue