Commit a7e5b0b0 by 张立顺

fix bu'g

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