Commit de038472 authored by 潘永坪's avatar 潘永坪

组合填写订单页面开发

parent 1da98847
...@@ -213,8 +213,7 @@ export default { ...@@ -213,8 +213,7 @@ export default {
getDetail(){ getDetail(){
let data = { let data = {
orderId:this.orderId,//订单ID orderId:this.orderId,//订单ID
// userId:uni.getStorageSync('openid')||'',//用户Id userId:uni.getStorageSync('openid')||'',//用户Id
userId:'oroHZ5FaUQ_SOOC_uQQP92fJpBRE',//用户Id
} }
this.$request('order/userOrder/findOrderDetail', data).then(res => { this.$request('order/userOrder/findOrderDetail', data).then(res => {
if (res.code == '00') { if (res.code == '00') {
......
...@@ -585,7 +585,7 @@ export default { ...@@ -585,7 +585,7 @@ export default {
}) })
let query ='?productIdList=' + JSON.stringify(productIdList) + '&groupId=' + this.groupId + '&groupChannelId=' + this.groupChannelId + '&orderSource=3' let query ='?productIdList=' + JSON.stringify(productIdList) + '&groupId=' + this.groupId + '&groupChannelId=' + this.groupChannelId + '&orderSource=3'
uni.navigateTo({ uni.navigateTo({
url: '/pages/combination/combiOrder/combiOrder' + query url: '/pages/scenic/scenicCombiOrder/scenicCombiOrder' + query
}) })
} }
}, },
......
...@@ -456,7 +456,6 @@ export default { ...@@ -456,7 +456,6 @@ export default {
this.orderSource = option.orderSource || '' this.orderSource = option.orderSource || ''
this.thirdOpenid = option.thirdOpenid || '' //第三方openid this.thirdOpenid = option.thirdOpenid || '' //第三方openid
this.productId = option.productId || '' this.productId = option.productId || ''
this.merchantId = option.merchantId || ''
this.initData() //页面初始化数据 this.initData() //页面初始化数据
this.docQuery = uni.createSelectorQuery().in(this) this.docQuery = uni.createSelectorQuery().in(this)
}, },
...@@ -579,7 +578,8 @@ export default { ...@@ -579,7 +578,8 @@ export default {
this.timeActive = 10000 this.timeActive = 10000
uni.$u.throttle(this.getTimeStock, 3000) uni.$u.throttle(this.getTimeStock, 3000)
} }
this.initCoupon() uni.$u.throttle(this.initCoupon, 3000)
}, },
//---日历确认事件 //---日历确认事件
dateConfig(data) { dateConfig(data) {
......
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