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
e348948e
Commit
e348948e
authored
Apr 07, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 重置修改
parent
6ac46bdf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/views/order/factoryOrderNew/hooks/useOrderSearchForm.ts
+4
-2
No files found.
src/views/order/factoryOrderNew/hooks/useOrderSearchForm.ts
View file @
e348948e
import
{
ref
}
from
'vue'
import
{
nextTick
,
ref
}
from
'vue'
import
type
{
SearchForm
}
from
'@/types/api/order/factoryOrderNew'
import
type
{
SearchForm
}
from
'@/types/api/order/factoryOrderNew'
export
function
useOrderSearchForm
(
refreshCurrentView
:
()
=>
void
)
{
export
function
useOrderSearchForm
(
refreshCurrentView
:
()
=>
void
)
{
...
@@ -66,7 +66,9 @@ export function useOrderSearchForm(refreshCurrentView: () => void) {
...
@@ -66,7 +66,9 @@ export function useOrderSearchForm(refreshCurrentView: () => void) {
const
reset
=
()
=>
{
const
reset
=
()
=>
{
searchForm
.
value
=
{}
searchForm
.
value
=
{}
dateRange
.
value
=
[]
dateRange
.
value
=
[]
refreshCurrentView
()
nextTick
(()
=>
{
refreshCurrentView
()
})
}
}
return
{
return
{
...
...
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