Commit 05c75104 by zhangxw

Merge branch 'SAAS+V4.55.1' of http://192.168.3.233:8090/saas_plus/dj-car-boutiq…

…ue-work-wechat into SAAS+V4.55.1
2 parents 5920d470 044579ba
...@@ -40,7 +40,8 @@ Component({ ...@@ -40,7 +40,8 @@ Component({
} }
} }
}, },
orderCode: String orderCode: String,
orderInfo: Object
}, },
/** /**
...@@ -247,7 +248,7 @@ Component({ ...@@ -247,7 +248,7 @@ Component({
createWxQrcode() { createWxQrcode() {
let _this = this let _this = this
let oParams = {} let oParams = {}
oParams.appId = 'wx06d1198e751435d1' oParams.appId = this.data.orderInfo.paymentChannel.wechatAppId
oParams.qrcodeType = 'QR_WXA_UNLIMIT' oParams.qrcodeType = 'QR_WXA_UNLIMIT'
oParams.path = 'packagesPayment/pages/payment/index' oParams.path = 'packagesPayment/pages/payment/index'
// oParams.path = 'packagesPayment/pages/QRPayment/QRPayment' // oParams.path = 'packagesPayment/pages/QRPayment/QRPayment'
......
...@@ -82,7 +82,8 @@ Page({ ...@@ -82,7 +82,8 @@ Page({
let _this = this let _this = this
let { zyVoucherStatus } = _this.data let { zyVoucherStatus } = _this.data
let oParams = {} let oParams = {}
oParams.appId = 'wx06d1198e751435d1' // oParams.appId = 'wx06d1198e751435d1'
oParams.appId = this.data.orderDetail.paymentChannel.wechatAppId
oParams.qrcodeType = 'QR_WXA_UNLIMIT' oParams.qrcodeType = 'QR_WXA_UNLIMIT'
oParams.path = 'packagesPayment/pages/payment/index' oParams.path = 'packagesPayment/pages/payment/index'
oParams.scene = `orderCode=${_this.data.orderCode}&workWxSessionId=${wx.getStorageSync('dj_boutique_sessionId')}&zyVoucherStatus=${zyVoucherStatus}` oParams.scene = `orderCode=${_this.data.orderCode}&workWxSessionId=${wx.getStorageSync('dj_boutique_sessionId')}&zyVoucherStatus=${zyVoucherStatus}`
......
...@@ -61,7 +61,8 @@ Page({ ...@@ -61,7 +61,8 @@ Page({
if (wxqrcode) return if (wxqrcode) return
let _this = this let _this = this
let oParams = {} let oParams = {}
oParams.appId = 'wx06d1198e751435d1' // oParams.appId = 'wx06d1198e751435d1'
oParams.appId = this.data.orderInfo.paymentChannel.wechatAppId
oParams.qrcodeType = 'QR_WXA_UNLIMIT' oParams.qrcodeType = 'QR_WXA_UNLIMIT'
oParams.path = 'packagesPayment/pages/payment/index' oParams.path = 'packagesPayment/pages/payment/index'
oParams.scene = `orderCode=${_this.data.orderCode}&workWxSessionId=${wx.getStorageSync('dj_boutique_sessionId')}` oParams.scene = `orderCode=${_this.data.orderCode}&workWxSessionId=${wx.getStorageSync('dj_boutique_sessionId')}`
...@@ -223,11 +224,11 @@ Page({ ...@@ -223,11 +224,11 @@ Page({
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) {}, onLoad(options) { },
onPageScroll({scrollTop}){ onPageScroll({ scrollTop }) {
this.setData({ this.setData({
navStyle:scrollTop > 20 ? '' : navStyle navStyle: scrollTop > 20 ? '' : navStyle
}) })
}, },
...@@ -259,15 +260,15 @@ Page({ ...@@ -259,15 +260,15 @@ Page({
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh() {}, onPullDownRefresh() { },
/** /**
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
onReachBottom() {}, onReachBottom() { },
/** /**
* 用户点击右上角分享 * 用户点击右上角分享
*/ */
onShareAppMessage() {} onShareAppMessage() { }
}) })
...@@ -214,6 +214,6 @@ ...@@ -214,6 +214,6 @@
<view class="payTips">超过24h未支付将关闭此订单</view> <view class="payTips">超过24h未支付将关闭此订单</view>
</block> --> </block> -->
<!-- orderInfo.selectPayType showPopup --> <!-- orderInfo.selectPayType showPopup -->
<order-popup orderType="{{orderInfo.selectPayType }}" wx:if="{{showPopup}}" show="{{showPopup}}" qrCode="{{orderInfo.payOrder.outTradeNo || ''}}" price="{{orderInfo.total_price}}" orderCode="{{orderInfo.orderCode}}" /> <order-popup orderType="{{orderInfo.selectPayType }}" wx:if="{{showPopup}}" show="{{showPopup}}" orderInfo="{{orderInfo}}" qrCode="{{orderInfo.payOrder.outTradeNo || ''}}" price="{{orderInfo.total_price}}" orderCode="{{orderInfo.orderCode}}" />
<artificer-select-popup show="{{artificerSelectPopup}}" title="选择技师" copyArtificerList="{{artificerList}}" orderInfo="{{orderInfo}}" artificerSelectObj="{{artificerSelectObj}}" bindconfirm="changeArtificer" /> <artificer-select-popup show="{{artificerSelectPopup}}" title="选择技师" copyArtificerList="{{artificerList}}" orderInfo="{{orderInfo}}" artificerSelectObj="{{artificerSelectObj}}" bindconfirm="changeArtificer" />
<date-select selectPay="{{orderInfo.selectPayType}}" show="{{showDateSelect}}" bind:confirm="getSelectDate"></date-select> <date-select selectPay="{{orderInfo.selectPayType}}" show="{{showDateSelect}}" bind:confirm="getSelectDate"></date-select>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!