|
@ -2,42 +2,42 @@
|
|
|
<div class='replenishment-start-device-detail fs-14'>
|
|
|
<van-sticky :offset-top="offsetTop">
|
|
|
<div class="bgc-17b3ec c-fff">
|
|
|
<div class="pt10 plr15 ellipsis_1">当前货柜:{{deviceInfo.equName}}</div>
|
|
|
<div class="pt10 plr15 ellipsis_1">当前货柜:{{deviceInfo.device.equName}}</div>
|
|
|
<van-row>
|
|
|
<van-col span="6">
|
|
|
<div class="tc pt10 pb10">
|
|
|
<div class="fs-20">{{deviceInfo.capacity||0}}</div>
|
|
|
<div class="fs-20">{{deviceInfo.deviceCapacity||0}}</div>
|
|
|
<div class="fs-12 pt5">设备容量</div>
|
|
|
</div>
|
|
|
</van-col>
|
|
|
<van-col span="6">
|
|
|
<div class="tc pt10 pb10">
|
|
|
<div class="fs-20">
|
|
|
<span>{{deviceInfo.totalQty||0}}</span>
|
|
|
<span class="fs-12">/{{(1 - (deviceInfo.idleRate||1)) * 100}}%</span>
|
|
|
<span>{{deviceInfo.inStock||0}}</span>
|
|
|
<span class="fs-12">/{{((deviceInfo.inStockRate||0)) * 100}}%</span>
|
|
|
</div>
|
|
|
<div class="fs-12 pt5">在架库存</div>
|
|
|
</div>
|
|
|
</van-col>
|
|
|
<van-col span="6">
|
|
|
<div class="tc pt10 pb10">
|
|
|
<div class="fs-20">0</div>
|
|
|
<div class="fs-20">{{deviceInfo.outOfStock||0}}</div>
|
|
|
<div class="fs-12 pt5">缺货库存</div>
|
|
|
</div>
|
|
|
</van-col>
|
|
|
<van-col span="6">
|
|
|
<div class="tc pt10 pb10">
|
|
|
<div class="fs-20">0</div>
|
|
|
<div class="fs-20">{{deviceInfo.earlyWarningCargo||0}}</div>
|
|
|
<div class="fs-12 pt5">预警货道</div>
|
|
|
</div>
|
|
|
</van-col>
|
|
|
</van-row>
|
|
|
<div class="kitbox fs-12 plr10 pb5">
|
|
|
<!-- <div class="box-flex-1">当前:0号柜</div> -->
|
|
|
<div class="box-flex-1"> 共:{{deviceInfo.layer}}层</div>
|
|
|
<div class="box-flex-1 ml5">总货道:{{deviceInfo.aisles}}</div>
|
|
|
<div class="box-flex-1"> 共:{{deviceInfo.device.layer}}层</div>
|
|
|
<div class="box-flex-1 ml5">总货道:{{deviceInfo.totalCargo}}</div>
|
|
|
<div class="box-flex-1 ml5">故障:0</div>
|
|
|
<div class="box-flex-1 ml5">关闭:{{closeCount}}</div>
|
|
|
<div class="box-flex-1 ml5">关闭:{{deviceInfo.closedCargo || 0}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</van-sticky>
|
|
@ -71,7 +71,7 @@ export default{
|
|
|
},
|
|
|
data(){
|
|
|
return {
|
|
|
deviceInfo: '',
|
|
|
deviceInfo: {device: ''},
|
|
|
deviceId: this.$route.query.deviceId,
|
|
|
list: [],
|
|
|
activeKey: 0,
|
|
@ -138,7 +138,7 @@ export default{
|
|
|
.then(res=>{
|
|
|
console.log('findDeviceById', res)
|
|
|
this.$toast.clear()
|
|
|
this.deviceInfo = res.obj.device
|
|
|
this.deviceInfo = res.obj
|
|
|
})
|
|
|
.catch(err=>{
|
|
|
console.error(err)
|