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
1308c07f
authored
Mar 27, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
移动端--理货--操作优化
parent
799893c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/tallyReceive/index.vue
View file @
1308c07f
...
@@ -273,6 +273,15 @@
...
@@ -273,6 +273,15 @@
},
},
onShow
()
{
onShow
()
{
that
=
this
;
that
=
this
;
if
(
getApp
().
globalData
.
fromPage
===
"tallyReceiveOperate"
)
{
// 从特定页面返回
that
.
searchParams
.
search_keyword
=
''
;
// 重置全局变量或执行其他操作
getApp
().
globalData
.
fromPage
=
null
;
this
.
resetSearchParams
();
//重置参数
//再次获取焦点
this
.
clearInputAndFocus
();
}
if
(
this
.
noexebshowFalg
)
{
if
(
this
.
noexebshowFalg
)
{
this
.
resetChange
();
this
.
resetChange
();
this
.
getData
();
this
.
getData
();
...
@@ -472,7 +481,11 @@
...
@@ -472,7 +481,11 @@
resetSearchParams
()
{
resetSearchParams
()
{
this
.
searchParams
.
mobile_wait_tally_all_search
=
''
;
this
.
searchParams
.
mobile_wait_tally_all_search
=
''
;
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
this
.
searchParams
.
container_name
=
''
;
this
.
searchParams
.
container_id
=
''
;
this
.
searchParams
.
tracking_no
=
''
;
this
.
searchParams
.
tracking_no
=
''
;
this
.
searchParams
.
goods_name
=
''
;
this
.
searchParams
.
code_type
=
''
;
},
},
/**
/**
* DigKey,Rochester,TME,Chip1stop供应商
* DigKey,Rochester,TME,Chip1stop供应商
...
...
pages/tallyReceive/operate.vue
View file @
1308c07f
...
@@ -872,6 +872,8 @@
...
@@ -872,6 +872,8 @@
icon
:
'success'
icon
:
'success'
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// 在进行导航之前设置全局变量
getApp
().
globalData
.
fromPage
=
"tallyReceiveOperate"
;
uni
.
navigateBack
({
uni
.
navigateBack
({
delta
:
1
delta
:
1
});
});
...
...
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