Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e34088bb
authored
Aug 02, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
7f5845fd
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
packageEquity/pages/TabBar/equityPage.js
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/TabBar/equityPage.js
View file @
e34088b
...
@@ -200,7 +200,6 @@ Page({
...
@@ -200,7 +200,6 @@ Page({
[
`pageShow[
${
tabIndex
}
]`
]:
true
,
[
`pageShow[
${
tabIndex
}
]`
]:
true
,
tabIndex
tabIndex
})
})
// this.onShow()
this
.
initList
()
this
.
initList
()
},
},
...
@@ -268,6 +267,12 @@ Page({
...
@@ -268,6 +267,12 @@ Page({
}
}
},
},
onRoute
(
options
)
{
// console.log(options,'options');
if
(
options
&&
options
.
tabIndex
)
{
this
.
changeTabBar
({
detail
:
options
.
tabIndex
})
}
},
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
...
...
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
View file @
e34088b
...
@@ -288,7 +288,8 @@ Page({
...
@@ -288,7 +288,8 @@ Page({
contractNoList
:
res
.
data
contractNoList
:
res
.
data
})
})
}
else
{
}
else
{
wx
.
$router
.
reLaunch
(
'packageEquity.equityPage'
)
// wx.$router.reLaunch('packageEquity.equityPage')
wx
.
$router
.
reLaunch
(
'packageEquity.equityPage'
,{
tabIndex
:
1
})
}
}
}
else
{
}
else
{
wx
.
$util
.
showToast
(
res
.
message
||
'接口异常'
)
wx
.
$util
.
showToast
(
res
.
message
||
'接口异常'
)
...
@@ -303,7 +304,6 @@ Page({
...
@@ -303,7 +304,6 @@ Page({
scrollTop
:
height
// 滚动到的位置(距离顶部 px)
scrollTop
:
height
// 滚动到的位置(距离顶部 px)
})
})
},
},
handleSecondConfirm
(
e
)
{
handleSecondConfirm
(
e
)
{
let
{
serviceInfo
,
conSecondObj
}
=
this
.
data
let
{
serviceInfo
,
conSecondObj
}
=
this
.
data
if
(
e
.
detail
?.
type
==
'confirm'
)
{
if
(
e
.
detail
?.
type
==
'confirm'
)
{
...
@@ -367,6 +367,7 @@ Page({
...
@@ -367,6 +367,7 @@ Page({
this
.
setData
({
this
.
setData
({
isDialogShow
:
false
isDialogShow
:
false
})
})
wx
.
$router
.
reLaunch
(
'packageEquity.equityPage'
,{
tabIndex
:
1
})
},
},
// 合同地址
// 合同地址
...
@@ -465,7 +466,7 @@ Page({
...
@@ -465,7 +466,7 @@ Page({
onShow
()
{
onShow
()
{
let
{
isBack
}
=
this
.
data
let
{
isBack
}
=
this
.
data
if
(
isBack
)
{
if
(
isBack
)
{
wx
.
$router
.
reLaunch
(
'packageEquity.equityPage'
)
wx
.
$router
.
reLaunch
(
'packageEquity.equityPage'
,{
tabIndex
:
1
}
)
}
}
},
},
...
...
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
View file @
e34088b
...
@@ -119,7 +119,7 @@ Component({
...
@@ -119,7 +119,7 @@ Component({
}
}
console
.
log
(
item
.
shopMinPrice
||
0
,
'item?.shopMinPrice||0'
);
console
.
log
(
item
.
shopMinPrice
||
0
,
'item?.shopMinPrice||0'
);
if
((
item
.
shopMinPrice
||
0
)
>
value
)
{
if
((
item
.
shopMinPrice
||
0
)
>
value
)
{
return
wx
.
$util
.
showToast
(
'单价不可低于商品最低价'
)
wx
.
$util
.
showToast
(
'单价不可低于商品最低价'
)
}
}
thisPage
.
setData
({
thisPage
.
setData
({
...
...
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
View file @
e34088b
<!-- packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxml -->
<!-- packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxml -->
<view class="testFormCon">
<view class="testFormCon">
<van-collapse value="{{ activeNames }}">
<van-collapse value="{{ activeNames }}">
<view class="collapse">
<
!-- <
view class="collapse">
<van-collapse-item name="1" is-link="{{ false }}">
<van-collapse-item name="1" is-link="{{ false }}">
<view slot="title">
<view slot="title">
<view class="collapseBoxTitle">
<view class="collapseBoxTitle">
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
<view class="label">商业险信息</view>
<view class="label">商业险信息</view>
</view>
</view>
</view>
</view>
<!-- <text class='required'>*</text> -->
<view class="box">
<view class="box">
<view class="title">商业险总价</view>
<view class="title">商业险总价</view>
<van-field
<van-field
...
@@ -31,7 +30,7 @@
...
@@ -31,7 +30,7 @@
</van-field>
</van-field>
</view>
</view>
</van-collapse-item>
</van-collapse-item>
</view>
</view>
-->
<view class="collapse">
<view class="collapse">
<van-collapse-item name="3" is-link="{{ false }}">
<van-collapse-item name="3" is-link="{{ false }}">
<view slot="title">
<view slot="title">
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
e34088b
...
@@ -67,8 +67,8 @@ Page({
...
@@ -67,8 +67,8 @@ Page({
},
},
// 页面存放表单对象的对象名
// 页面存放表单对象的对象名
dataAttrName
:
'owner'
,
dataAttrName
:
'owner'
,
step
:
'first'
,
//
step: 'first',
// step: 'second',
step
:
'second'
,
// 非融合不要第一步
needChangeList
:
[
'price'
,
'base'
,
'threePremium'
,
'carInsidePremium'
,
'passengerPremium'
,
'payPrice'
,
,
'insurancePrice'
,
'quotedPriceUpdate'
,
'minEquityPrice'
]
needChangeList
:
[
'price'
,
'base'
,
'threePremium'
,
'carInsidePremium'
,
'passengerPremium'
,
'payPrice'
,
,
'insurancePrice'
,
'quotedPriceUpdate'
,
'minEquityPrice'
]
},
},
closeTips
()
{
closeTips
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment