仓储
This commit is contained in:
@@ -393,7 +393,7 @@
|
|||||||
<vue-seamless-scroll :data="array1" :class-option="classOption" class="content-block-scroll">
|
<vue-seamless-scroll :data="array1" :class-option="classOption" class="content-block-scroll">
|
||||||
<ul class="content-block-scroll-ul">
|
<ul class="content-block-scroll-ul">
|
||||||
<li v-for="(e, i) in array1" :key="i">
|
<li v-for="(e, i) in array1" :key="i">
|
||||||
<span>{{e.storageLocation}}</span><span>{{e.materialCode}}</span><span>{{e.materialName}}</span><span>{{e.weight}}</span><span>{{e.standTime}}</span><span>{{e.standStatus}}</span>
|
<span>{{e.storageLocation}}</span><span>{{e.materialCode}}</span><span>{{e.materialName}}</span><span>{{e.weight}}</span><span>{{e.standTime}}</span><span>{{e.standStatusName}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</vue-seamless-scroll>
|
</vue-seamless-scroll>
|
||||||
@@ -550,8 +550,8 @@ export default {
|
|||||||
// }
|
// }
|
||||||
classOption () {
|
classOption () {
|
||||||
return {
|
return {
|
||||||
step: 0.6, // 数值越大速度滚动越快
|
step: 0.4, // 数值越大速度滚动越快
|
||||||
limitMoveNum: 10, // 开始无缝滚动的数据量 this.dataList.length
|
limitMoveNum: 7, // 开始无缝滚动的数据量 this.dataList.length
|
||||||
hoverStop: true, // 是否开启鼠标悬停stop
|
hoverStop: true, // 是否开启鼠标悬停stop
|
||||||
direction: 1, // 0向下 1向上 2向左 3向右
|
direction: 1, // 0向下 1向上 2向左 3向右
|
||||||
openWatch: true, // 开启数据实时监控刷新dom
|
openWatch: true, // 开启数据实时监控刷新dom
|
||||||
@@ -580,6 +580,23 @@ export default {
|
|||||||
async initData () {
|
async initData () {
|
||||||
let res = await storageMonitor()
|
let res = await storageMonitor()
|
||||||
this.array1 = res.standStock
|
this.array1 = res.standStock
|
||||||
|
this.array1.map(el => {
|
||||||
|
if (el.standStatus === '1') {
|
||||||
|
return el.standStatusName = '静置中'
|
||||||
|
}
|
||||||
|
if (el.standStatus === '2') {
|
||||||
|
return el.standStatusName = '静置完成'
|
||||||
|
}
|
||||||
|
if (el.standStatus === '3') {
|
||||||
|
return el.standStatusName = '强制静置完成'
|
||||||
|
}
|
||||||
|
if (el.standStatus === '4') {
|
||||||
|
return el.standStatusName = '静置超时'
|
||||||
|
}
|
||||||
|
if (el.standStatus === '5') {
|
||||||
|
return el.standStatusName = '强制静置超时'
|
||||||
|
}
|
||||||
|
})
|
||||||
this.array2 = res.frontWarehouseStock
|
this.array2 = res.frontWarehouseStock
|
||||||
this.array3 = res.backWarehouseStock
|
this.array3 = res.backWarehouseStock
|
||||||
this.group01 = res.standMonitor
|
this.group01 = res.standMonitor
|
||||||
@@ -870,14 +887,14 @@ height 90px
|
|||||||
background #262F52
|
background #262F52
|
||||||
span
|
span
|
||||||
display inline-block
|
display inline-block
|
||||||
width 16%
|
width 14%
|
||||||
text-align center
|
text-align center
|
||||||
line-height 32px
|
line-height 32px
|
||||||
font-size 12px
|
font-size 12px
|
||||||
color rgba(255,255,255,0.60)
|
color rgba(255,255,255,0.60)
|
||||||
// float left
|
// float left
|
||||||
&:nth-child(2)
|
&:nth-child(6)
|
||||||
width 20%
|
width 30%
|
||||||
.content-block-scroll
|
.content-block-scroll
|
||||||
// width calc(100% - 30px)
|
// width calc(100% - 30px)
|
||||||
// margin 0 15px 4px 15px
|
// margin 0 15px 4px 15px
|
||||||
@@ -895,15 +912,15 @@ height 90px
|
|||||||
background rgba(38,47,82,0.50)
|
background rgba(38,47,82,0.50)
|
||||||
span
|
span
|
||||||
display inline-block
|
display inline-block
|
||||||
width 18%
|
width 14%
|
||||||
padding 0 2px
|
padding 0 2px
|
||||||
font-size 12px
|
font-size 12px
|
||||||
text-align center
|
text-align center
|
||||||
line-height 38px
|
line-height 38px
|
||||||
box-sizing border-box
|
box-sizing border-box
|
||||||
// float left
|
// float left
|
||||||
&:nth-child(2)
|
&:nth-child(6)
|
||||||
width 28%
|
width 30%
|
||||||
.foldcricle0
|
.foldcricle0
|
||||||
position absolute
|
position absolute
|
||||||
z-index 102
|
z-index 102
|
||||||
|
|||||||
Reference in New Issue
Block a user