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
b7ac2d11
authored
Jan 03, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加分页
parent
14f6116a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
pages/container/index.vue
pages/picking/index.vue
pages/putaway/packSingle.vue
pages/container/index.vue
View file @
b7ac2d11
...
...
@@ -96,6 +96,7 @@
<view
class=
"btn row rowCenter verCenter"
@
click=
"showDrawer(item)"
>
修改
</view>
</view>
</view>
<view
class=
"row rowCenter verCenter"
v-if=
"!hasMoreData && page > 1"
style=
"color: #999;font-size: 16rpx;padding: 10px 0;flex: 0 0 100%;font-weight: normal;"
>
--
已经到底了
--
</view>
</view>
<view
class=
"no-date column rowCenter verCenter"
v-else
>
<text
class=
"iconfont icon-a-juxing21"
></text>
...
...
pages/picking/index.vue
View file @
b7ac2d11
...
...
@@ -111,7 +111,7 @@
getData
()
{
this
.
request
(
API
.
getNoTakeList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
data
.
total
>
0
)
{
if
(
res
.
data
.
list
.
length
>
0
)
{
this
.
hasMoreData
=
true
;
this
.
list
=
this
.
list
.
concat
(
res
.
data
.
list
);
}
else
{
...
...
pages/putaway/packSingle.vue
View file @
b7ac2d11
...
...
@@ -240,7 +240,7 @@
input_flag
:
false
,
input_position
:
false
,
page
:
1
,
limit
:
100
0
,
limit
:
100
,
index
:
0
,
list
:
[],
info
:
{},
...
...
@@ -252,6 +252,13 @@
}
};
},
onReachBottom
()
{
if
(
!
this
.
hasMoreData
)
{
return
;
}
this
.
page
++
;
this
.
getData
();
},
onNavigationBarButtonTap
(
e
)
{
console
.
log
(
e
);
if
(
e
.
index
==
0
)
{
...
...
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