Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
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 8887103c
authored
Jul 20, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化 buildSubmitData 方法,简化 merchantId 的赋值逻辑,并在 bySystemMerchant 为 true 时动态添加 potentialCustomerId 字段。
1 parent
61fa62a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
packageWorkspace/pages/recruitManage/recruitInsert/recruitInsert.js
packageWorkspace/pages/recruitManage/recruitInsert/recruitInsert.js
View file @
8887103
...
@@ -646,8 +646,10 @@ Page({
...
@@ -646,8 +646,10 @@ Page({
// 构建提交数据
// 构建提交数据
buildSubmitData
()
{
buildSubmitData
()
{
const
{
formList
,
bySystemMerchant
}
=
this
.
data
const
{
formList
,
bySystemMerchant
}
=
this
.
data
const
merchantId
=
formList
[
FORM_FIELDS
.
MERCHANT
].
value
||
null
return
{
return
{
merchantId
:
formList
[
FORM_FIELDS
.
MERCHANT
].
value
||
null
,
merchantId
,
...(
bySystemMerchant
?
{
potentialCustomerId
:
merchantId
}
:
{}),
merchantName
:
formList
[
FORM_FIELDS
.
MERCHANT
].
displayValue
,
merchantName
:
formList
[
FORM_FIELDS
.
MERCHANT
].
displayValue
,
// salesVolume: bySystemMerchant ? formList[FORM_FIELDS.SALES].value : null,
// salesVolume: bySystemMerchant ? formList[FORM_FIELDS.SALES].value : null,
// brand: bySystemMerchant ? formList[FORM_FIELDS.BRANDS].displayValue : null,
// brand: bySystemMerchant ? formList[FORM_FIELDS.BRANDS].displayValue : null,
...
...
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