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 846a78d8
authored
Jul 17, 2026
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/584/zxw' into 'SAAS+V5.8.4'
商户管理编辑修改 See merge request
!852
2 parents
c68649ff
fb050ff5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
src/views/systemConfig/merchant/merchantGroundingEdit/MerchantGroundingEdit.vue
src/views/systemConfig/merchant/merchantGroundingEdit/components/MerchantGroundingTrafficProviderInformation.vue
src/views/systemConfig/merchant/merchantGroundingEdit/MerchantGroundingEdit.vue
View file @
846a78d
...
...
@@ -271,7 +271,12 @@ export default {
const
productDetailsForSubmit
=
this
.
mapProductDetailsForSubmit
(
this
.
productDetails
);
this
.
saving
=
true
;
try
{
traffic
.
guaranteeList
?.
forEach
((
val
)
=>
{
// 使用组件方法构建包含 dataType 的兜底条件列表
console
.
log
(
trafficRef
.
buildGuaranteeListForSubmit
);
const
guaranteeList
=
typeof
trafficRef
.
buildGuaranteeListForSubmit
===
"function"
?
trafficRef
.
buildGuaranteeListForSubmit
()
:
traffic
.
guaranteeList
||
[];
guaranteeList
?.
forEach
((
val
)
=>
{
if
(
val
.
compensationMode
==
2
&&
val
.
ladderConditions
?.
length
)
{
val
.
ladderConditions
=
JSON
.
stringify
(
val
.
ladderConditions
);
}
...
...
@@ -284,7 +289,7 @@ export default {
businessForm
,
productDetailsForSubmit
,
baseSceneList
:
this
.
baseSceneList
,
guaranteeList
:
traffic
.
guaranteeList
,
guaranteeList
,
});
console
.
log
(
payload
);
await
merchantOnShelf
(
payload
);
...
...
src/views/systemConfig/merchant/merchantGroundingEdit/components/MerchantGroundingTrafficProviderInformation.vue
View file @
846a78d
...
...
@@ -1071,6 +1071,20 @@ export default {
}
return
null
;
},
/**
* 构建提交用的兜底条件列表(添加 dataType)
*/
buildGuaranteeListForSubmit
()
{
const
list
=
this
.
componentData
.
guaranteeList
||
[];
return
list
.
map
((
item
)
=>
{
// 从当前场景的指标选项中查找对应的 dataType
const
indicator
=
this
.
currentSceneIndicatorOptions
.
find
(
opt
=>
opt
.
value
===
item
.
guaranteeIndex
);
return
{
...
item
,
dataType
:
indicator
?.
dataType
||
null
,
// 1: 比例,2: 数值
};
});
},
getSelectText
(
i
)
{
const
value
=
this
.
componentData
[
i
.
key
];
if
(
this
.
isViewMode
&&
i
.
viewKey
)
{
...
...
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