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
8b8cd68e
authored
Jul 03, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
432ab023
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
pages/picking/me.vue
pages/picking/me.vue
View file @
8b8cd68e
...
@@ -128,13 +128,16 @@ export default {
...
@@ -128,13 +128,16 @@ export default {
* @param {Object} event
* @param {Object} event
*/
*/
handleInput
:
debounce
(
function
(
event
)
{
handleInput
:
debounce
(
function
(
event
)
{
this
.
resetChange
();
var
val
=
event
.
target
.
value
;
var
val
=
event
.
target
.
value
;
this
.
searchParams
.
stock_out_sn
=
''
;
if
(
val
)
{
if
(
val
)
{
this
.
input_flag
=
true
;
this
.
input_flag
=
true
;
this
.
searchParams
.
stock_out_sn
=
val
;
}
else
{
}
else
{
this
.
input_flag
=
false
;
this
.
input_flag
=
false
;
}
}
y
;
this
.
getData
();
this
.
getData
();
},
500
),
},
500
),
/**
/**
...
@@ -166,7 +169,7 @@ export default {
...
@@ -166,7 +169,7 @@ export default {
getData
()
{
getData
()
{
this
.
request
(
API
.
getTakedList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
this
.
request
(
API
.
getTakedList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
if
(
res
.
data
.
total
>
0
)
{
if
(
res
.
data
.
list
.
length
>
0
)
{
this
.
hasMoreData
=
true
;
this
.
hasMoreData
=
true
;
this
.
list
=
this
.
list
.
concat
(
res
.
data
.
list
);
this
.
list
=
this
.
list
.
concat
(
res
.
data
.
list
);
}
else
{
}
else
{
...
@@ -179,6 +182,13 @@ export default {
...
@@ -179,6 +182,13 @@ export default {
});
});
}
}
});
});
},
/**
* 重置
*/
resetChange
()
{
this
.
list
=
[];
this
.
page
=
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