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
a8475b81
Commit
a8475b81
authored
May 26, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 工厂订单new新增全部tab下的状态筛选支持多选 #1006853
parent
c81b28aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
src/views/order/factoryOrderNew/index.vue
+16
-2
No files found.
src/views/order/factoryOrderNew/index.vue
View file @
a8475b81
...
@@ -49,9 +49,9 @@
...
@@ -49,9 +49,9 @@
:
inline
=
"true"
:
inline
=
"true"
label
-
width
=
"70px"
label
-
width
=
"70px"
>
>
<
ElFormItem
v
-
if
=
"status === 'ALL'"
label
=
"状态"
>
<
ElFormItem
v
-
if
=
"status === 'ALL'"
label
=
"
订单
状态"
>
<
ElTreeSelect
<
ElTreeSelect
v
-
model
=
"searchForm
.status
"
v
-
model
=
"searchForm
StatusSelect
"
:
data
=
"statusTreeChildren"
:
data
=
"statusTreeChildren"
:
props
=
"{
:
props
=
"{
value: 'status',
value: 'status',
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
}
"
}
"
node
-
key
=
"status"
node
-
key
=
"status"
placeholder
=
"请选择"
placeholder
=
"请选择"
multiple
clearable
clearable
filterable
filterable
check
-
strictly
check
-
strictly
...
@@ -1122,6 +1123,19 @@ const statusTreeChildren = computed(() => {
...
@@ -1122,6 +1123,19 @@ const statusTreeChildren = computed(() => {
item
.
status
!==
'AWAITING_RESTOCK'
&&
item
.
status
!==
'BATCH_MANAGE'
,
item
.
status
!==
'AWAITING_RESTOCK'
&&
item
.
status
!==
'BATCH_MANAGE'
,
)
)
}
)
}
)
const
searchFormStatusSelect
=
computed
({
get
()
{
const
val
=
searchForm
.
value
.
status
if
(
!
val
)
return
[]
return
String
(
val
).
split
(
','
).
filter
(
Boolean
)
}
,
set
(
val
:
string
|
string
[]
|
undefined
)
{
const
arr
=
Array
.
isArray
(
val
)
?
val
:
val
?
[
val
]
:
[]
searchForm
.
value
.
status
=
arr
.
length
?
arr
.
join
(
','
)
:
undefined
}
,
}
)
getFactoryOrderSearchVisibilityContext
=
()
=>
({
getFactoryOrderSearchVisibilityContext
=
()
=>
({
status
:
searchForm
.
value
.
status
??
status
.
value
,
status
:
searchForm
.
value
.
status
??
status
.
value
,
isCardLayout
:
isCardLayout
.
value
,
isCardLayout
:
isCardLayout
.
value
,
...
...
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