Commit e34088bb by 张立顺

bug修复

1 parent 7f5845fd
......@@ -200,7 +200,6 @@ Page({
[`pageShow[${tabIndex}]`]: true,
tabIndex
})
// this.onShow()
this.initList()
},
......@@ -268,6 +267,12 @@ Page({
}
},
onRoute(options) {
// console.log(options,'options');
if (options&&options.tabIndex) {
this.changeTabBar({detail:options.tabIndex})
}
},
/**
* 生命周期函数--监听页面加载
*/
......
......@@ -288,7 +288,8 @@ Page({
contractNoList: res.data
})
} else {
wx.$router.reLaunch('packageEquity.equityPage')
// wx.$router.reLaunch('packageEquity.equityPage')
wx.$router.reLaunch('packageEquity.equityPage',{tabIndex:1})
}
} else {
wx.$util.showToast(res.message || '接口异常')
......@@ -303,7 +304,6 @@ Page({
scrollTop: height // 滚动到的位置(距离顶部 px)
})
},
handleSecondConfirm(e) {
let { serviceInfo, conSecondObj } = this.data
if (e.detail?.type == 'confirm') {
......@@ -367,6 +367,7 @@ Page({
this.setData({
isDialogShow: false
})
wx.$router.reLaunch('packageEquity.equityPage',{tabIndex:1})
},
// 合同地址
......@@ -465,7 +466,7 @@ Page({
onShow() {
let { isBack } = this.data
if (isBack) {
wx.$router.reLaunch('packageEquity.equityPage')
wx.$router.reLaunch('packageEquity.equityPage',{tabIndex:1})
}
},
......
......@@ -119,7 +119,7 @@ Component({
}
console.log(item.shopMinPrice||0,'item?.shopMinPrice||0');
if ((item.shopMinPrice||0) > value) {
return wx.$util.showToast('单价不可低于商品最低价')
wx.$util.showToast('单价不可低于商品最低价')
}
thisPage.setData({
......
<!-- packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxml -->
<view class="testFormCon">
<van-collapse value="{{ activeNames }}">
<view class="collapse">
<!-- <view class="collapse">
<van-collapse-item name="1" is-link="{{ false }}">
<view slot="title">
<view class="collapseBoxTitle">
......@@ -9,7 +9,6 @@
<view class="label">商业险信息</view>
</view>
</view>
<!-- <text class='required'>*</text> -->
<view class="box">
<view class="title">商业险总价</view>
<van-field
......@@ -31,7 +30,7 @@
</van-field>
</view>
</van-collapse-item>
</view>
</view> -->
<view class="collapse">
<van-collapse-item name="3" is-link="{{ false }}">
<view slot="title">
......
......@@ -67,8 +67,8 @@ Page({
},
// 页面存放表单对象的对象名
dataAttrName: 'owner',
step: 'first',
// step: 'second',
// step: 'first',
step: 'second',// 非融合不要第一步
needChangeList: ['price', 'base', 'threePremium', 'carInsidePremium', 'passengerPremium', 'payPrice', , 'insurancePrice', 'quotedPriceUpdate', 'minEquityPrice']
},
closeTips() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!