Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-pda-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-pda-master
Commits
c2729cb3
Commit
c2729cb3
authored
Dec 06, 2024
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备货菜单显示待处理订单数量
parent
6fa0a3fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
api.js
src/api/api.js
+7
-0
index.vue
src/pages/index/index.vue
+23
-3
No files found.
src/api/api.js
View file @
c2729cb3
...
...
@@ -430,3 +430,10 @@ export const shipmentBoxPage = (params) => {
method
:
'
GET
'
,
});
}
// 待备货(可出)订单列表数量统计
export
const
dataScopeCanShipmentCount
=
(
params
)
=>
{
return
http
(
"
/air/order/data/scope/can/shipment/count
"
,
params
,
{
method
:
'
GET
'
,
});
}
\ No newline at end of file
src/pages/index/index.vue
View file @
c2729cb3
...
...
@@ -7,6 +7,7 @@
<!--
<uni-icons
:type=
"item.icon"
size=
"40"
></uni-icons>
-->
<image
:src=
'item.icon'
mode=
"widthFix"
></image>
<text
class=
"card-text"
>
{{
item
.
title
}}
</text>
<view
class=
'cu-tag badge2'
v-if=
"item.num"
>
{{
item
.
num
}}
</view>
</view>
</view>
<uniSection
class=
"mb-10"
:title=
"$t('出库')"
type=
"line"
></uniSection>
...
...
@@ -60,6 +61,7 @@
<
script
>
import
{
uniSection
,
uniIcons
}
from
'
@dcloudio/uni-ui
'
;
import
{
getUserPermission
,
getUserProfile
,
getVesionData
}
from
'
../../api/system
'
import
{
dataScopeCanShipmentCount
}
from
'
../../api/api
'
import
path
from
'
../../static/images/rucang.png
'
import
path1
from
'
../../static/images/xiegui.png
'
import
path2
from
'
../../static/images/tiaobo.png
'
...
...
@@ -109,7 +111,8 @@
forceUpdate
:
0
,
showdownLine
:
false
,
downloadNum
:
0
,
//下载百分比
totalSize
:
0
//下载总量
totalSize
:
0
,
//下载总量
num
:
0
};
},
...
...
@@ -121,6 +124,9 @@
})
},
onLoad
(){
dataScopeCanShipmentCount
().
then
((
data
)
=>
{
this
.
num
=
data
});
setTimeout
(()
=>
{
this
.
getVersion
()
//#ifdef APP
...
...
@@ -182,7 +188,8 @@
title
:
this
.
$t
(
'
空运备货
'
),
icon
:
path7
,
color
:
'
#e54d42
'
,
url
:
'
../stocking/index
'
url
:
'
../stocking/index
'
,
num
:
this
.
num
},
{
permission
:
'
pda:ExitWarehouseAir
'
,
...
...
@@ -494,4 +501,17 @@
width
:
80%
;
margin
:
20upx
auto
;
}
.cu-tag.badge2
{
border-radius
:
200upx
;
top
:
-30upx
;
font-size
:
30upx
;
padding
:
0upx
10upx
;
height
:
38upx
;
color
:
#ffffff
;
}
.cu-tag.badge2
:not
([
class
*=
"bg-"
])
{
background-color
:
#dd514c
;
}
</
style
>
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