|
|
@@ -234,12 +234,10 @@ export default {
|
|
|
createOrder({...form, ...this.form,hdId:hdId}).then(res => {
|
|
|
uni.hideLoading()
|
|
|
uni.removeStorageSync("buyGoodsDetil")
|
|
|
-
|
|
|
- this.$util.pageTo({
|
|
|
- url: "/pages/callback/pay",
|
|
|
- type: 2,
|
|
|
- query: { pageStatus: 1, ...res.data, hdId:hdId, account:account }
|
|
|
- })
|
|
|
+ let orderSn = res.data.orderSn?res.data.orderSn:''
|
|
|
+ let id = res.data.id?res.data.id:0
|
|
|
+ let totalPrice = res.data.totalPrice?res.data.totalPrice:0
|
|
|
+ this.$util.pageTo({url:"/pages/callback/pay?pageStatus=1&orderSn="+orderSn+'&hdId='+hdId+'&account='+account+'&id='+id+'&couponId=0&totalPrice='+totalPrice,type:2})
|
|
|
}).catch(()=>{
|
|
|
uni.hideLoading()
|
|
|
})
|