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 1708e69c
authored
Mar 26, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
校验最低价修改
1 parent
09d82a46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
1708e69
...
@@ -481,8 +481,8 @@ Page({
...
@@ -481,8 +481,8 @@ Page({
merchantGoodsId
:
item
.
goodsId
,
merchantGoodsId
:
item
.
goodsId
,
upgradeGoodsId
:
item
.
goodsId
,
upgradeGoodsId
:
item
.
goodsId
,
price
:
this
.
divideByHundred
(
item
.
goodsPrice
),
price
:
this
.
divideByHundred
(
item
.
goodsPrice
),
minSellPrice
:
quotationGoodsList
?.
find
(
val
=>
val
.
packageGoods
?.
goodsList
?.
length
)?.
packageGoods
?.
goodsList
?.
find
(
subV
=>
subV
.
merchantGoodsId
==
item
.
goodsId
)?.
minSellPrice
,
// 按商品数据对比补充详情商品最低价
minSellPrice
:
quotationGoodsList
?.
find
(
val
=>
val
.
packageGoods
?.
goodsList
?.
length
&&
val
.
packageGoods
?.
packageCode
==
item
?.
packageId
)?.
packageGoods
?.
goodsList
?.
find
(
subV
=>
subV
.
merchantGoodsId
==
item
.
goodsId
)?.
minSellPrice
,
// 按商品数据对比补充详情商品最低价
validMinSellPrice
:
quotationGoodsList
?.
find
(
val
=>
val
.
packageGoods
?.
goodsList
?.
length
)?.
packageGoods
?.
goodsList
?.
find
(
subV
=>
subV
.
merchantGoodsId
==
item
.
goodsId
)?.
validMinSellPrice
// 按商品数据对比补充详情商品校验最低价字段
validMinSellPrice
:
quotationGoodsList
?.
find
(
val
=>
val
.
packageGoods
?.
goodsList
?.
length
&&
val
.
packageGoods
?.
packageCode
==
item
?.
packageId
)?.
packageGoods
?.
goodsList
?.
find
(
subV
=>
subV
.
merchantGoodsId
==
item
.
goodsId
)?.
validMinSellPrice
// 按商品数据对比补充详情商品校验最低价字段
}
}
let
index
=
pre
.
findIndex
(
ele
=>
{
let
index
=
pre
.
findIndex
(
ele
=>
{
if
(
ele
.
packageGoods
)
{
if
(
ele
.
packageGoods
)
{
...
...
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