Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 760e5185
authored
May 15, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
个人成交交付率联调修改
1 parent
fbdccacd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
src/views/systemConfig/ShopConfig/personalConversionRate/components/editDialog.vue
src/views/systemConfig/ShopConfig/personalConversionRate/index.vue
src/views/systemConfig/ShopConfig/personalConversionRate/components/editDialog.vue
View file @
760e518
...
@@ -409,17 +409,17 @@ export default {
...
@@ -409,17 +409,17 @@ export default {
const
addedIds
=
new
Set
()
const
addedIds
=
new
Set
()
sceneList
.
forEach
(
item
=>
{
sceneList
.
forEach
(
item
=>
{
if
(
item
.
scene
===
0
)
{
if
(
item
.
scene
===
0
)
{
// 添加confId为
0和1
的对象 权益和延保
// 添加confId为
1和2
的对象 权益和延保
arr
.
forEach
(
obj
=>
{
arr
.
forEach
(
obj
=>
{
if
((
obj
.
confId
===
0
||
obj
.
confId
===
1
)
&&
!
addedIds
.
has
(
obj
.
confId
))
{
if
((
obj
.
confId
===
1
||
obj
.
confId
===
2
)
&&
!
addedIds
.
has
(
obj
.
confId
))
{
result
.
push
(
obj
)
result
.
push
(
obj
)
addedIds
.
add
(
obj
.
confId
)
addedIds
.
add
(
obj
.
confId
)
}
}
})
})
}
else
if
(
item
.
scene
===
1
)
{
}
else
if
(
item
.
scene
===
1
)
{
// 添加confId为
2
的对象 轻改
// 添加confId为
0
的对象 轻改
arr
.
forEach
(
obj
=>
{
arr
.
forEach
(
obj
=>
{
if
(
obj
.
confId
===
2
&&
!
addedIds
.
has
(
obj
.
confId
))
{
if
(
obj
.
confId
===
0
&&
!
addedIds
.
has
(
obj
.
confId
))
{
result
.
push
(
obj
)
result
.
push
(
obj
)
addedIds
.
add
(
obj
.
confId
)
addedIds
.
add
(
obj
.
confId
)
}
}
...
@@ -470,8 +470,8 @@ export default {
...
@@ -470,8 +470,8 @@ export default {
var
params
=
deepClone
(
this
.
formData
)
var
params
=
deepClone
(
this
.
formData
)
params
.
merchantName
=
this
.
baseData
.
merchantList
.
find
(
item
=>
item
.
merchantId
==
params
.
merchantId
)?.
merchantName
||
params
?.
merchantName
params
.
merchantName
=
this
.
baseData
.
merchantList
.
find
(
item
=>
item
.
merchantId
==
params
.
merchantId
)?.
merchantName
||
params
?.
merchantName
params
.
staffName
=
this
.
baseData
.
staffList
?.
find
(
item
=>
item
.
staffUuid
==
params
.
staffUuid
)?.
staffName
||
params
?.
staffName
params
.
staffName
=
this
.
baseData
.
staffList
?.
find
(
item
=>
item
.
staffUuid
==
params
.
staffUuid
)?.
staffName
||
params
?.
staffName
params
.
brandChildId
=
params
?.
carChildsBrandId
params
.
brandChildId
=
params
.
brandChildId
||
params
?.
carChildsBrandId
// 编辑时使用详情接口返回的
carChildsBrandId
params
.
brandChildName
=
params
?.
carChildsBrandName
params
.
brandChildName
=
params
.
brandChildName
||
params
?.
carChildsBrandName
delete
params
.
createdDate
delete
params
.
createdDate
delete
params
.
updatedDate
delete
params
.
updatedDate
delete
params
.
operateLogs
delete
params
.
operateLogs
...
...
src/views/systemConfig/ShopConfig/personalConversionRate/index.vue
View file @
760e518
...
@@ -578,7 +578,6 @@ export default {
...
@@ -578,7 +578,6 @@ export default {
this
.
actionSetDownloadList
({
list
,
type
:
'updateList'
})
this
.
actionSetDownloadList
({
list
,
type
:
'updateList'
})
this
.
notice
.
okTips
(
'上传成功'
)
this
.
notice
.
okTips
(
'上传成功'
)
this
.
$refs
.
personalTable
.
refreshTable
(
false
,
true
)
this
.
handleImport
()
this
.
handleImport
()
}
}
})
})
...
...
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