Commit a7e5b0b0 by 张立顺

fix bu'g

1 parent 61d6b29d
......@@ -44,7 +44,7 @@ Component({
{
labelName: '实际支付',
orderType: 'success',
key: 'totalPrice'
key: 'finalPrice'
},
{
labelName: '订单状态',
......
......@@ -708,7 +708,7 @@
}
.item-disabled {
opacity: .4 !important;
opacity: .4;
}
.payType-box .item {
......
......@@ -328,9 +328,7 @@ Page({
icon: 'success'
})
setTimeout(() => {
wx.$router.reLaunch('packageEquity.equityPage', {
tabIndex: 1
})
wx.$router.reLaunch('packageEquity.equityPage?tabIndex=1')
}, 1000)
} else {
this.setData({
......@@ -392,9 +390,7 @@ Page({
icon: 'success'
})
setTimeout(() => {
wx.$router.reLaunch('packageEquity.equityPage', {
tabIndex: 1
})
wx.$router.reLaunch('packageEquity.equityPage?tabIndex=1')
}, 1000)
setTimeout(() => {
this.setData({
......@@ -650,9 +646,7 @@ Page({
if (orderInfo.resetOrder && orderInfo.id) {
wx.hideLoading()
if (result.code == 0) {
return wx.$router.reLaunch('packageEquity.equityPage', {
tabIndex: 1
})
return wx.$router.reLaunch('packageEquity.equityPage?tabIndex=1')
} else {
this.setData({
confirmStatus: false
......@@ -667,9 +661,7 @@ Page({
if (id) {
// 2:门店收款 5:嘀加收款 6:对公转账 7:其它收款 就直接返回列表
if ([2, 5, 6, 7].includes(Number(orderInfo.payType)))
return wx.$router.reLaunch('packageEquity.equityPage', {
tabIndex: 1
})
return wx.$router.reLaunch('packageEquity.equityPage?tabIndex=1')
let status = await this.createWithPay(id)
wx.hideLoading()
let that = this
......@@ -1227,9 +1219,10 @@ Page({
let { owner, orderInfo, saveStatus } = this.data
// 补单点放弃
if (orderInfo.outTradeNo || orderInfo.resetOrder) {
return wx.$router.reLaunch('packageEquity.equityPage', {
tabIndex: 1
})
// return wx.$router.reLaunch('packageEquity.equityPage', {
// tabIndex: 1
// })
return wx.$router.reLaunch('packageEquity.equityPage?tabIndex=1')
}
if (saveStatus) return false
wx.showLoading('保存中...')
......@@ -1253,9 +1246,10 @@ Page({
console.log('id', res)
let { code, data, message } = res
if (code == 0) {
wx.$router.reLaunch('packageEquity.equityPage', {
tabIndex: 1
})
// wx.$router.reLaunch('packageEquity.equityPage', {
// tabIndex: 1
// })
return wx.$router.reLaunch('packageEquity.equityPage?tabIndex=1')
} else {
return wx.$util.showToast(res.message || '保存错误')
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!