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 df7c1569
authored
Mar 23, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
8d1cf65f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
View file @
df7c156
...
...
@@ -97,18 +97,19 @@ Component({
onChangeInsurance
(
e
)
{
console
.
log
(
e
)
let
thisPage
=
wx
.
$router
.
getPageInstance
()
const
owner
=
wx
.
$util
.
deepClone
(
thisPage
.
data
.
owner
)
orderInfo
.
owner
=
owner
orderInfo
.
owner
.
price
=
this
.
multipliedByHundred
(
orderInfo
.
owner
?.
price
)
||
''
console
.
log
(
thisPage
)
let
params
=
thisPage
.
getInsurance
()
if
(
params
.
owner
?.
buyCarTime
)
{
delete
params
.
owner
.
buyCarTime
}
if
(
params
?.
quotedPriceUpdate
)
{
delete
params
.
quotedPriceUpdate
}
let
owner
=
thisPage
.
getOwnerInfo
()
// const owner = wx.$util.deepClone(thisPage.data.owner)
params
.
owner
=
owner
// params.owner = owner
// params.owner.price = this.multipliedByHundred(orderInfo.owner?.price) || ''
// console.log(thisPage)
if
(
params
.
owner
?.
buyCarTime
)
{
delete
params
.
owner
.
buyCarTime
}
if
(
params
?.
quotedPriceUpdate
)
{
delete
params
.
quotedPriceUpdate
}
priceCounter
(
params
)
.
then
(
result
=>
{
console
.
log
(
'result'
,
result
)
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
View file @
df7c156
...
...
@@ -181,19 +181,18 @@ Page({
delete
orderInfo
.
quotedPriceUpdate
return
orderInfo
},
getOwnerInfo
()
{
getOwnerInfo
()
{
let
{
owner
}
=
this
.
data
owner
=
wx
.
$util
.
deepClone
(
owner
)
owner
.
price
=
this
.
multipliedByHundred
(
owner
?.
price
)
||
''
orderInfo
.
owner
=
owner
//
orderInfo.owner = owner
if
(
owner
)
{
delete
owner
?.
buyCarTime
}
return
owner
},
handleSecondConfirmCheck
()
{
// 获取保险信息
let
orderInfo
=
this
.
getInsurance
()
let
owner
=
this
.
getOwnerInfo
()
...
...
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