Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pmk-screen-datav
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
黄麒宇
pmk-screen-datav
Commits
bd112edb
Commit
bd112edb
authored
May 24, 2024
by
韩振
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a01ffe8e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
30 行增加
和
17 行删除
+30
-17
center.vue
src/views/center.vue
+30
-17
没有找到文件。
src/views/center.vue
View file @
bd112edb
<
template
>
<
template
>
<div
id=
"center"
>
<div
id=
"center"
>
<div
class=
"up"
>
<div
class=
"up"
>
<div
class=
"item"
style=
"height: 2.2rem"
>
<div
class=
"item"
style=
"height: 2.2rem;display: flex;justify-content: space-evenly"
>
<span
style=
"font-size: 0.3875rem;"
>
库存物资总数
</span>
<div>
<dv-decoration-12
style=
"width: 2rem;height: 2rem;margin: 0 auto;color: #fff"
:color=
"['#046DB5', '#046DB5']"
>
<span
style=
"font-size: 0.3875rem"
>
库存物资总数
</span>
<span
style=
"font-size: 0.6rem;color: rgb(61,231,201)"
>
{{
amount
}}
</span><span
style=
"color: rgb(61,231,201);font-size: 0.56rem;margin-left: 10px;"
>
件
</span></dv-decoration-12>
<dv-decoration-12
style=
"width: 2rem;height: 2rem;margin-top: 15px;color: #fff"
:color=
"['#046DB5', '#046DB5']"
>
<span
style=
"font-size: 0.6rem;color: rgb(61,231,201)"
>
{{
amount
}}
</span><span
style=
"color: rgb(61,231,201);font-size: 0.56rem;margin-left: 10px;"
>
件
</span></dv-decoration-12>
</div>
<div>
<span
style=
"font-size: 0.3875rem;"
>
品种总数
</span>
<dv-border-box-8
style=
"width: 2rem;height: 2rem;margin-top: 15px;color: #fff;"
>
<div
style=
"font-size: 0.6rem;color: rgb(61,231,201);height: 100%;width: 100%;display: flex;justify-content: center;align-items: center"
>
{{
categoryAmount
}}
种
</div>
</dv-border-box-8>
</div>
</div>
</div>
<div
class=
"item"
style=
"height: 1.
6rem;margin-top: 0.2
rem;"
>
<div
class=
"item"
style=
"height: 1.
2rem;margin-top: 0.30
rem;"
>
<span
style=
"font-size: 0.3
875rem;display: block;
"
>
本年度收发总数
</span>
<span
style=
"font-size: 0.3
075rem;display: block;margin-top: 20px
"
>
本年度收发总数
</span>
<div
style=
"display: flex;"
>
<div
style=
"display: flex;"
>
<span
style=
"font-size: 0.3
875rem;margin-top: 5
5px;display: block;width: 20%;text-align: center;"
>
收物:
</span>
<span
style=
"font-size: 0.3
075rem;margin-top: 4
5px;display: block;width: 20%;text-align: center;"
>
收物:
</span>
<dv-digital-flop
:config=
"inAmount"
style=
"height:1.
6
25rem;width: 30%"
/>
<dv-digital-flop
:config=
"inAmount"
style=
"height:1.
3
25rem;width: 30%"
/>
<span
style=
"font-size: 0.3
875rem;margin-top: 5
5px;display: block;width: 20%;text-align: center;"
>
发物:
</span>
<span
style=
"font-size: 0.3
075rem;margin-top: 4
5px;display: block;width: 20%;text-align: center;"
>
发物:
</span>
<dv-digital-flop
:config=
"outAmount"
style=
"height:1.
6
25rem;width: 30%"
/>
<dv-digital-flop
:config=
"outAmount"
style=
"height:1.
3
25rem;width: 30%"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"extra"
>
<div
class=
"extra"
style=
"margin-top: 0.35rem;"
>
<div
class=
"item"
>
<div
class=
"item"
>
<span
style=
"font-size: 0.
3
rem;"
>
垛位总数
</span>
<span
style=
"font-size: 0.
22
rem;"
>
垛位总数
</span>
<span
style=
"margin-left: 38px;color: #03a9f4;font-size: 0.
3
2rem;font-weight: 700;"
>
{{
rackAmount
}}
</span>
<span
style=
"margin-left: 38px;color: #03a9f4;font-size: 0.
2
2rem;font-weight: 700;"
>
{{
rackAmount
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"down"
>
<div
class=
"down"
>
<div
class=
"leftNm"
>
<div
class=
"leftNm"
>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
工作垛位
</span>
<span>
工作垛位
</span>
<span
style=
"margin-left:
55px;font-size: 0.25
rem;color: #03a9f4;"
>
{{
workRackAmount
}}
</span>
<span
style=
"margin-left:
45px;font-size: 0.22
rem;color: #03a9f4;"
>
{{
workRackAmount
}}
</span>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
有货垛位
</span>
<span>
有货垛位
</span>
<span
style=
"margin-left:
55px;font-size: 0.25
rem;color: #03a9f4;"
>
{{
usedRackAmount
}}
</span>
<span
style=
"margin-left:
45px;font-size: 0.22
rem;color: #03a9f4;"
>
{{
usedRackAmount
}}
</span>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<span>
无货垛位
</span>
<span>
无货垛位
</span>
<span
style=
"margin-left:
55px;font-size: 0.25
rem;color: #03a9f4;"
>
{{
nullRackAmount
}}
</span>
<span
style=
"margin-left:
45px;font-size: 0.22
rem;color: #03a9f4;"
>
{{
nullRackAmount
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"percent"
>
<div
class=
"percent"
>
...
@@ -54,6 +65,7 @@ export default {
...
@@ -54,6 +65,7 @@ export default {
return
{
return
{
url
:
'/big/getGoodsByBig'
,
url
:
'/big/getGoodsByBig'
,
amount
:
0
,
amount
:
0
,
categoryAmount
:
0
,
inAmount
:
{},
inAmount
:
{},
outAmount
:
{},
outAmount
:
{},
nullPalletAmount
:
0
,
nullPalletAmount
:
0
,
...
@@ -86,6 +98,7 @@ export default {
...
@@ -86,6 +98,7 @@ export default {
initData
()
{
initData
()
{
getAction
(
window
.
_CONFIG
[
'domianURL'
]
+
this
.
url
,
{
storeCode
:
this
.
$route
.
query
.
storeCode
}).
then
(
res
=>
{
getAction
(
window
.
_CONFIG
[
'domianURL'
]
+
this
.
url
,
{
storeCode
:
this
.
$route
.
query
.
storeCode
}).
then
(
res
=>
{
this
.
amount
=
res
.
data
.
stockVo
.
amount
this
.
amount
=
res
.
data
.
stockVo
.
amount
this
.
categoryAmount
=
res
.
data
.
stockVo
.
categoryAmount
this
.
inAmount
=
{
this
.
inAmount
=
{
number
:
[
res
.
data
.
stockVo
.
inAmount
],
number
:
[
res
.
data
.
stockVo
.
inAmount
],
content
:
"{nt}件"
,
content
:
"{nt}件"
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论