Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
37f90a83
authored
Aug 04, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
f840a710
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
26 deletions
assets/css/pda/logisticsList.scss
pages/pda/logisticsList.vue
util/api.js
assets/css/pda/logisticsList.scss
View file @
37f90a83
...
...
@@ -75,7 +75,7 @@
background
:
#fff
;
border-bottom
:
1px
solid
#cad9e0
;
text
{
flex
:
0
0
2
5
%
;
flex
:
0
0
2
0
%
;
font-size
:
22rpx
;
color
:
#6e767a
;
border-right
:
1px
solid
#cad9e0
;
...
...
pages/pda/logisticsList.vue
View file @
37f90a83
...
...
@@ -23,12 +23,12 @@
<text
class=
"row verCenter rowCenter"
>
出库
</text>
</view>
<template
v-if=
"total > 0"
>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in
rePackageL
ist"
:key=
"index"
>
<text
class=
"row verCenter rowCenter
color"
>
{{
item
.
tray_name
}}
</text>
<text
class=
"row verCenter rowCenter"
:class=
"
{ color: item.scan_status_cn == '全部已经扫描' }">
{{
item
.
have_load_box_num
}}
</text>
<text
class=
"row verCenter rowCenter"
:class=
"
{ color: item.scan_status_cn != '全部已经扫描' }">
{{
item
.
scan_status_cn
}}
</text>
<text
class=
"row verCenter rowCenter"
>
{{
item
.
audit_status_cn
||
'
'
}}
</text>
<text
class=
"row verCenter rowCenter"
>
{{
item
.
audit_status_cn
||
'
'
}}
</text>
<view
class=
"uni-tr row verCenter"
v-for=
"(item, index) in
l
ist"
:key=
"index"
>
<text
class=
"row verCenter rowCenter
"
>
{{
item
.
entrustNo
||
'-'
}}
</text>
<text
class=
"row verCenter rowCenter"
>
{{
item
.
carOrder
||
'-'
}}
</text>
<text
class=
"row verCenter rowCenter"
>
{{
item
.
boxesNum
||
'-'
}}
</text>
<text
class=
"row verCenter rowCenter"
>
{{
item
.
inWoreStatus
||
'-
'
}}
</text>
<text
class=
"row verCenter rowCenter"
>
{{
item
.
outWoreStatus
||
'-
'
}}
</text>
</view>
</
template
>
<
template
v-else
>
...
...
@@ -51,11 +51,7 @@ export default {
textArr
:
[
'全部'
,
'未入库'
,
'未出库'
],
today
:
currentDate
,
total
:
1
,
page
:
1
,
limit
:
1000
,
is_loading
:
false
,
loading
:
false
,
rePackageList
:
[]
list
:
[]
};
},
computed
:
{
...
...
@@ -66,12 +62,6 @@ export default {
return
this
.
getDate
(
'end'
);
}
},
onReachBottom
()
{
if
(
this
.
is_loading
)
return
;
this
.
page
++
;
this
.
loading
=
true
;
this
.
getData
();
},
onShow
()
{
this
.
getData
();
},
...
...
@@ -97,20 +87,19 @@ export default {
bindDateChange
(
e
)
{
this
.
today
=
e
.
detail
.
value
;
this
.
total
=
0
;
this
.
page
=
1
;
this
.
rePackageList
=
[];
this
.
list
=
[];
this
.
getData
();
},
getData
()
{
this
.
request
(
API
.
rePackageList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
today
:
this
.
today
},
this
.
loading
).
then
(
res
=>
{
this
.
request
(
API
.
szScanOutInList
,
'POST'
,
{
today
:
this
.
today
},
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
data
.
data
.
length
>
0
)
{
if
(
res
.
data
.
length
>
0
)
{
this
.
is_loading
=
false
;
this
.
rePackageList
=
this
.
rePackageList
.
concat
(
res
.
data
.
data
)
;
this
.
total
=
res
.
data
.
total
;
this
.
list
=
res
.
data
;
this
.
total
=
100
;
}
else
{
this
.
total
=
0
;
this
.
is_loading
=
true
;
this
.
list
=
[]
;
}
}
else
{
uni
.
showToast
({
...
...
util/api.js
View file @
37f90a83
...
...
@@ -116,7 +116,11 @@ const API = {
/**
* 扫描出库
*/
szScanOut
:
API_BASE
+
'/supplywechatwms/szScanOut'
szScanOut
:
API_BASE
+
'/supplywechatwms/szScanOut'
,
/**
* 扫描出入库列表
*/
szScanOutInList
:
API_BASE
+
'/supplywechatwms/szScanOutInList'
}
...
...
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