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 b4db08ce
authored
Jan 30, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 套餐bug
1 parent
77ecf4f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
components/SkuGoods/Goods.js
packageEquity/pages/carQuotation/components/SecondStepSimple/index.wxs
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
components/SkuGoods/Goods.js
View file @
b4db08c
...
...
@@ -139,8 +139,12 @@ Component({
if
(
selectList
.
length
)
{
selectList
.
forEach
(
c
=>
{
if
(
!
c
.
count
)
c
.
count
=
1
c
.
multipleSpecificationsGoods
.
goods
.
price
=
c
.
multipleSpecificationsGoods
.
goods
.
sellPrice
||
0
let
price
=
c
.
multipleSpecificationsGoods
.
goods
.
sellPrice
||
0
// 会员权益
if
(
this
.
data
.
sceneType
==
'0'
)
{
price
=
Math
.
round
(
price
*
100
)
}
c
.
multipleSpecificationsGoods
.
goods
.
price
=
price
if
(
chooseGoodsList
.
length
>
0
)
{
chooseGoodsList
.
map
(
x
=>
{
if
(
x
.
goodsFlag
==
2
&&
x
.
multipleSpecificationsGoods
)
{
...
...
packageEquity/pages/carQuotation/components/SecondStepSimple/index.wxs
View file @
b4db08c
...
...
@@ -12,7 +12,7 @@ var divideByHundred = function (str) {
if (isNaN(floatVal)) {
return 0
}
floatVal = Math.round(str
* 100) / 100
00
floatVal = Math.round(str
) / 1
00
var strVal = floatVal.toString()
var searchVal = strVal.indexOf('.')
if (searchVal < 0) {
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
b4db08c
...
...
@@ -1377,7 +1377,7 @@ Page({
if
(
isNaN
(
floatVal
))
{
return
0
}
floatVal
=
Math
.
round
(
str
*
100
)
/
100
00
floatVal
=
Math
.
round
(
str
)
/
1
00
let
strVal
=
floatVal
.
toString
()
let
searchVal
=
strVal
.
indexOf
(
'.'
)
if
(
searchVal
<
0
)
{
...
...
@@ -1395,7 +1395,7 @@ Page({
if
(
isNaN
(
floatVal
))
{
return
0
}
floatVal
=
Math
.
round
(
str
*
100
00
)
/
100
floatVal
=
Math
.
round
(
str
*
100
)
let
strVal
=
floatVal
.
toString
()
let
searchVal
=
strVal
.
indexOf
(
'.'
)
if
(
searchVal
<
0
)
{
...
...
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