Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
395c6008
Commit
395c6008
authored
Jul 20, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复placeholder不展示bug
parent
f185347d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/views/logistics/components/CreateSortingRuleDialog.vue
+5
-4
No files found.
src/views/logistics/components/CreateSortingRuleDialog.vue
View file @
395c6008
...
@@ -214,7 +214,7 @@ const editId = ref<number>()
...
@@ -214,7 +214,7 @@ const editId = ref<number>()
const
createConditionItem
=
():
SortingPortCondition
=>
({
const
createConditionItem
=
():
SortingPortCondition
=>
({
conditionType
:
''
,
conditionType
:
''
,
operator
:
''
,
operator
:
''
,
conditionValue
:
undefined
,
conditionValue
:
[]
,
})
})
const
createDefaultForm
=
():
IsortingInfo
=>
({
const
createDefaultForm
=
():
IsortingInfo
=>
({
...
@@ -238,7 +238,7 @@ const getAvailableConditionTypes = (currentIndex: number) => {
...
@@ -238,7 +238,7 @@ const getAvailableConditionTypes = (currentIndex: number) => {
}
}
const
handleConditionTypeChange
=
(
item
:
SortingPortCondition
)
=>
{
const
handleConditionTypeChange
=
(
item
:
SortingPortCondition
)
=>
{
item
.
conditionValue
=
undefined
item
.
conditionValue
=
[]
item
.
operator
=
'in'
item
.
operator
=
'in'
}
}
...
@@ -280,7 +280,9 @@ const formatConditionsForForm = (conditions: SortingPortCondition[]) =>
...
@@ -280,7 +280,9 @@ const formatConditionsForForm = (conditions: SortingPortCondition[]) =>
conditionValue
:
conditionValue
:
typeof
item
.
conditionValue
===
'string'
typeof
item
.
conditionValue
===
'string'
?
item
.
conditionValue
.
split
(
','
).
filter
(
Boolean
)
?
item
.
conditionValue
.
split
(
','
).
filter
(
Boolean
)
:
item
.
conditionValue
,
:
Array
.
isArray
(
item
.
conditionValue
)
?
item
.
conditionValue
:
[],
}))
}))
const
addConditionItem
=
()
=>
{
const
addConditionItem
=
()
=>
{
...
@@ -415,7 +417,6 @@ defineExpose({ open })
...
@@ -415,7 +417,6 @@ defineExpose({ open })
:deep
(
.el-select__selection
)
{
:deep
(
.el-select__selection
)
{
flex-wrap
:
nowrap
;
flex-wrap
:
nowrap
;
overflow
:
hidden
;
}
}
:deep
(
.el-select__selected-item
)
{
:deep
(
.el-select__selected-item
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment