Commit 625f24f1 by 高淑倩

order

parent 99c3f92e
......@@ -240,8 +240,8 @@ wxService.page({
// let parmas = {
// trolleySku2Buy: JSON.stringify(trolleySku2Buy)
// }
let tradeDto = {
couponId: '',
trolleySku2Buy:JSON.stringify(trolleySku2Buy)
}
const parmas = tradeDto
......@@ -249,6 +249,18 @@ wxService.page({
wxService
.router('/pages/confirmOrder/confirmOrder')
.search(parmas)
// let tradeDto = {
// couponId: '',
// trolleySku2Buy:JSON.stringify(trolleySku2Buy)
// }
// const parmas = tradeDto
// wxService
// .router('/pages/confirmOrder/confirmOrder')
// .search(parmas)
// 直接调支付
// this.handleGoBuy(skuIds)
},
......
......@@ -30,10 +30,16 @@ wxService.page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
const { couponId, trolleySku2Buy } = this.options
// const { couponId, trolleySku2Buy } = this.options
// let tradeDto = {
// couponId: couponId,
// trolleySku2Buy: JSON.parse(trolleySku2Buy)
// }
const { trolleySku2Buy } = this.options
let tradeDto = {
couponId: couponId,
trolleySku2Buy: JSON.parse(trolleySku2Buy)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment