Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 26e63ce0
authored
Jun 05, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(api): 修复全损无忧识别逻辑
- 修改了全损无忧的逻辑,现在同时检查 materialInfoList 和 toolList
1 parent
637d8fa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
api/module/systemApi.js
api/module/systemApi.js
View file @
26e63ce
...
@@ -139,8 +139,9 @@ const getSoureData = async (shopMerchantId, sceneType, params = {}) => {
...
@@ -139,8 +139,9 @@ const getSoureData = async (shopMerchantId, sceneType, params = {}) => {
let
{
toolList
,
materialInfoList
}
=
data
,
let
{
toolList
,
materialInfoList
}
=
data
,
storageName
=
`source_
${
sceneType
}
_
${
shopMerchantId
}
`
storageName
=
`source_
${
sceneType
}
_
${
shopMerchantId
}
`
if
(
params
.
brandId
&&
params
.
subBrandId
)
storageName
+=
`_
${
params
.
brandId
}
_
${
params
.
subBrandId
}
`
if
(
params
.
brandId
&&
params
.
subBrandId
)
storageName
+=
`_
${
params
.
brandId
}
_
${
params
.
subBrandId
}
`
let
hasEquity
=
materialInfoList
.
find
(
e
=>
e
.
componentName
==
'insurance'
)
let
insurance
=
materialInfoList
.
find
(
e
=>
e
.
componentName
==
'insurance'
),
if
(
hasEquity
)
{
hasEquity
=
toolList
.
find
(
e
=>
e
.
id
==
insurance
.
id
)
if
(
insurance
&&
hasEquity
)
{
let
configList
let
configList
try
{
try
{
configList
=
await
findReceptionpriproConfigList
({})
configList
=
await
findReceptionpriproConfigList
({})
...
...
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