Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
82df2014
authored
May 13, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
1cec3c42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
pages/arrivalRegister/index.vue
pages/arrivalRegister/index.vue
View file @
82df2014
...
...
@@ -769,22 +769,23 @@
* 清空数据
*/
clearInput
(
type
)
{
this
.
resetChange
();
if
(
type
==
'start'
)
{
//清除起始时间
this
.
searchParams
.
create_time_begin
=
''
;
if
(
this
.
searchParams
.
mobile_register_all_search
||
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
||
this
.
searchParams
.
tracking_no
||
this
.
searchParams
.
box_sn
)
{
this
.
getData
();
}
}
else
if
(
type
==
'end'
)
{
//清除结束时间
this
.
searchParams
.
create_time_end
=
''
;
}
else
{
this
.
resetChange
();
//搜索条件清空
if
(
this
.
index
==
0
)
{
this
.
searchParams
.
mobile_register_all_search
=
''
;
//全量搜索
}
else
if
(
this
.
index
==
1
)
{
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
//入仓号
}
else
if
(
this
.
index
==
2
)
{
this
.
searchParams
.
tracking_no
=
''
;
//Fedex
if
(
this
.
searchParams
.
mobile_register_all_search
||
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
||
this
.
searchParams
.
tracking_no
||
this
.
searchParams
.
box_sn
)
{
this
.
getData
();
}
}
else
{
// 清除搜索条件
const
fields
=
[
'mobile_register_all_search'
,
'stock_in_with_stock_in_items_inhouse'
,
'tracking_no'
,
'box_sn'
];
this
.
searchParams
[
fields
[
this
.
index
]]
=
''
;
this
.
input_flag
=
false
;
this
.
clearInputAndFocus
();
//再次获取焦点
}
...
...
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