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 757612b1
authored
Aug 14, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 客户来源售后选项不限场景
1 parent
ea62a7de
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
23 deletions
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.js
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.json
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.prod.js
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.prod.json
packageDynamicForm/scripts/convert-excel-template-to-schema.py
packageDynamicForm/tests/store-v230-context-visibility.test.mjs
packageDynamicForm/tests/store-v230-template-schema.test.mjs
packageDynamicForm/tests/test_store_v230_converter.py
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.js
View file @
757612b
...
@@ -267,8 +267,7 @@
...
@@ -267,8 +267,7 @@
},
},
{
{
label
:
'门店引流-售后'
,
label
:
'门店引流-售后'
,
value
:
'1'
,
value
:
'1'
baseSceneCode
:
[
110101
,
110102
,
110201
,
110202
]
}
}
],
],
rules
:
{},
rules
:
{},
...
...
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.json
View file @
757612b
...
@@ -215,13 +215,7 @@
...
@@ -215,13 +215,7 @@
},
},
{
{
"label"
:
"门店引流-售后"
,
"label"
:
"门店引流-售后"
,
"value"
:
"1"
,
"value"
:
"1"
"baseSceneCode"
:
[
110101
,
110102
,
110201
,
110202
]
}
}
]
]
},
},
...
...
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.prod.js
View file @
757612b
...
@@ -267,8 +267,7 @@
...
@@ -267,8 +267,7 @@
},
},
{
{
label
:
'门店引流-售后'
,
label
:
'门店引流-售后'
,
value
:
'1'
,
value
:
'1'
baseSceneCode
:
[
110101
,
110102
,
110201
,
110202
]
}
}
],
],
rules
:
{},
rules
:
{},
...
...
packageDynamicForm/fixtures/schema-store-daily-v2.3.0.prod.json
View file @
757612b
...
@@ -215,13 +215,7 @@
...
@@ -215,13 +215,7 @@
},
},
{
{
"label"
:
"门店引流-售后"
,
"label"
:
"门店引流-售后"
,
"value"
:
"1"
,
"value"
:
"1"
"baseSceneCode"
:
[
110101
,
110102
,
110201
,
110202
]
}
}
]
]
},
},
...
...
packageDynamicForm/scripts/convert-excel-template-to-schema.py
View file @
757612b
...
@@ -772,7 +772,7 @@ def apply_v230_customer_source_values(options: list[dict]) -> None:
...
@@ -772,7 +772,7 @@ def apply_v230_customer_source_values(options: list[dict]) -> None:
option
[
'value'
]
=
mapped_value
option
[
'value'
]
=
mapped_value
if
label
in
{
'销售端引流-售前'
,
'交付端引流-售前'
}:
if
label
in
{
'销售端引流-售前'
,
'交付端引流-售前'
}:
option
[
'baseSceneCode'
]
=
[
100101
,
100102
,
100103
]
option
[
'baseSceneCode'
]
=
[
100101
,
100102
,
100103
]
elif
label
in
{
'门店引流-售前'
,
'门店引流-售后'
}
:
elif
label
==
'门店引流-售前'
:
option
[
'baseSceneCode'
]
=
[
110101
,
110102
,
110201
,
110202
]
option
[
'baseSceneCode'
]
=
[
110101
,
110102
,
110201
,
110202
]
...
...
packageDynamicForm/tests/store-v230-context-visibility.test.mjs
View file @
757612b
...
@@ -425,7 +425,7 @@ describe('Store V2.3 delivery-date context visibility', () => {
...
@@ -425,7 +425,7 @@ describe('Store V2.3 delivery-date context visibility', () => {
const values = ctx => getVisibleFieldOptions(sourceField, ctx).map(option => option.value)
const values = ctx => getVisibleFieldOptions(sourceField, ctx).map(option => option.value)
assert.deepEqual(values(context(100101, [FIVE_REALM_ID])), [
assert.deepEqual(values(context(100101, [FIVE_REALM_ID])), [
'0', '3'
'0', '3'
, '1'
])
])
assert.deepEqual(values(context(110201, [OTHER_BRAND_ID])), [
assert.deepEqual(values(context(110201, [OTHER_BRAND_ID])), [
'0', '1'
'0', '1'
...
...
packageDynamicForm/tests/store-v230-template-schema.test.mjs
View file @
757612b
...
@@ -173,8 +173,7 @@ describe('store daily template V2.3.0 schema', () => {
...
@@ -173,8 +173,7 @@ describe('store daily template V2.3.0 schema', () => {
},
},
{
{
label: '门店引流-售后',
label: '门店引流-售后',
value: '1',
value: '1'
baseSceneCode: warrantyAndEquityScenes
}
}
]
]
assert.deepEqual(findDeep(daily.list, 'F2-107-3')?.options, expected)
assert.deepEqual(findDeep(daily.list, 'F2-107-3')?.options, expected)
...
...
packageDynamicForm/tests/test_store_v230_converter.py
View file @
757612b
...
@@ -406,7 +406,6 @@ class StoreV230ConverterTest(unittest.TestCase):
...
@@ -406,7 +406,6 @@ class StoreV230ConverterTest(unittest.TestCase):
{
{
'label'
:
'门店引流-售后'
,
'label'
:
'门店引流-售后'
,
'value'
:
'1'
,
'value'
:
'1'
,
'baseSceneCode'
:
[
110101
,
110102
,
110201
,
110202
],
},
},
],
],
)
)
...
...
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