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 1135e51a
authored
Feb 03, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
878dc5b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
config.js
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
config.js
View file @
1135e51
...
@@ -18,12 +18,12 @@ export const appId = 'wx570d9331f9ace0bd'
...
@@ -18,12 +18,12 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
1
let
index
=
2
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
envName
=
accountInfo
.
miniProgram
.
envVersion
const
envName
=
accountInfo
.
miniProgram
.
envVersion
//手动控制体验版环境的请求 true就依据下面index false就默认2
//手动控制体验版环境的请求 true就依据下面index false就默认2
const
manual
=
tru
e
const
manual
=
fals
e
const
release
=
false
const
release
=
false
// 判断小程序环境
// 判断小程序环境
...
...
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
View file @
1135e51
...
@@ -439,6 +439,15 @@ Component({
...
@@ -439,6 +439,15 @@ Component({
const
strategy
=
getProductStrategy
(
item
)
const
strategy
=
getProductStrategy
(
item
)
if
(
strategy
)
{
if
(
strategy
)
{
if
(
orderInfo
.
orderType
==
2
||
orderInfo
.
orderType
==
5
)
{
const
currentBasePrice
=
strategy
.
getBasePrice
()
if
(
Number
(
currentBasePrice
)
!==
Number
(
number
))
{
const
data
=
strategy
.
getData
()
if
(
data
.
discountType
==
1
||
data
.
discountType
==
2
)
{
strategy
.
setDiscount
(
data
.
discountType
,
''
)
}
}
}
strategy
.
setBasePrice
(
number
)
strategy
.
setBasePrice
(
number
)
// Sync price for display
// Sync price for display
item
.
goods
.
price
=
number
item
.
goods
.
price
=
number
...
...
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