仓储
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@
|
||||
<div class="clearfix locate-content" :class="e.coordinate">
|
||||
<div class="tan_pline">
|
||||
<p class="tan_p">货位:{{e.point_code}}</p>
|
||||
<p class="tan_p">载具:{{e.storagevehicle_code}}</p>
|
||||
<p class="tan_p">载具:{{e.vehicle_code}}</p>
|
||||
<p class="tan_p">物料:{{e.material_code}}</p>
|
||||
<p class="tan_p">重量(kg):{{e.ivt_qty}}</p>
|
||||
<p class="tan_p">入库时间:{{e.instorage_time}}</p>
|
||||
@@ -58,7 +58,7 @@
|
||||
<div class="clearfix locate-content" :class="e.coordinate">
|
||||
<div class="tan_pline">
|
||||
<p class="tan_p">货位:{{e.point_code}}</p>
|
||||
<p class="tan_p">载具:{{e.storagevehicle_code}}</p>
|
||||
<p class="tan_p">载具:{{e.vehicle_code}}</p>
|
||||
<p class="tan_p">物料:{{e.material_code}}</p>
|
||||
<p class="tan_p">库存(kg):{{e.ivt_qty}}</p>
|
||||
<p class="tan_p">入库时间:{{e.instorage_time}}</p>
|
||||
@@ -103,7 +103,7 @@
|
||||
<vue-seamless-scroll :data="array1" :class-option="classOption" class="content-block-scroll">
|
||||
<ul class="content-block-scroll-ul">
|
||||
<li v-for="(e, i) in array1" :key="i">
|
||||
<span>{{e.point_name}}</span><span>{{e.material_id}}</span><span>{{e.ivt_weight}}</span><span>{{e.standing_time}}</span><span>{{e.standing_status}}</span>
|
||||
<span>{{e.point_name}}</span><span>{{e.material_code}}</span><span>{{e.ivt_weight}}</span><span>{{e.standing_time}}</span><span>{{e.standing_status}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</vue-seamless-scroll>
|
||||
@@ -118,7 +118,7 @@
|
||||
<vue-seamless-scroll :data="array2" :class-option="classOption" class="content-block-scroll">
|
||||
<ul class="content-block-scroll-ul">
|
||||
<li v-for="(e, i) in array2" :key="i">
|
||||
<span>{{e.point_name}}</span><span>ZLMCZ1001C111122GM001BD20-8</span><span>{{e.ivt_qty}}</span><span>{{e.is_full}}</span><span>{{e.vehicle_code}}</span>
|
||||
<span>{{e.point_name}}</span><span>{{e.material_code}}</span><span>{{e.ivt_qty}}</span><span>{{e.is_full}}</span><span>{{e.vehicle_code}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</vue-seamless-scroll>
|
||||
@@ -236,11 +236,38 @@ export default {
|
||||
}, this.interTime)
|
||||
},
|
||||
async initData () {
|
||||
// for (let i = 1; i <= 20; i++) {
|
||||
// if (i <= 10) {
|
||||
// pai1.push({sequence_number: i * 2 - 1, coordinate: 'coordinate1', aline: 'aline1', bline: 'bline1', show: 0})
|
||||
// pai2.push({sequence_number: i * 2, coordinate: 'coordinate1', aline: 'aline1', bline: 'bline1', show: 0})
|
||||
// } else {
|
||||
// pai1.push({sequence_number: i * 2 - 1, coordinate: 'coordinate2', aline: 'aline2', bline: 'bline2', show: 0})
|
||||
// pai2.push({sequence_number: i * 2, coordinate: 'coordinate2', aline: 'aline2', bline: 'bline2', show: 0})
|
||||
// }
|
||||
// }
|
||||
// pai12 = pai1.concat(pai2)
|
||||
// this.group01 = pai12
|
||||
let res = await storageMonitor()
|
||||
this.array1 = res.result.materialList
|
||||
this.array2 = res.result.productionList
|
||||
this.group01 = [...res.result.materialTask]
|
||||
this.group02 = [...res.result.productionTask]
|
||||
// for (let i = 1; i <= this.group02.length; i++) {
|
||||
// if (i === (18 || 19 || 20 || 38 || 39 || 40)) {
|
||||
// this.group02[i].push({coordinate: 'coordinate2', aline: 'aline2', bline: 'bline2', show: 0})
|
||||
// } else {
|
||||
// this.group02[i].push({coordinate: 'coordinate1', aline: 'aline1', bline: 'bline1', show: 0})
|
||||
// }
|
||||
// }
|
||||
// for (let i = 1; i <= 20; i++) {
|
||||
// if (i <= 10) {
|
||||
// group01.push({sequence_number: i * 2 - 1, coordinate: 'coordinate1', aline: 'aline1', bline: 'bline1', show: 0})
|
||||
// group01.push({sequence_number: i * 2, coordinate: 'coordinate1', aline: 'aline1', bline: 'bline1', show: 0})
|
||||
// } else {
|
||||
// group01.push({sequence_number: i * 2 - 1, coordinate: 'coordinate2', aline: 'aline2', bline: 'bline2', show: 0})
|
||||
// group01.push({sequence_number: i * 2, coordinate: 'coordinate2', aline: 'aline2', bline: 'bline2', show: 0})
|
||||
// }
|
||||
// }
|
||||
// for (let i = 0; i < this.structArr.length; i++) {
|
||||
// for (let j = 0; j < this.group01.length; j++) {
|
||||
// if (this.structArr[i].sequence_number === this.group01[j].sequence_number + '') {
|
||||
@@ -433,16 +460,16 @@ export default {
|
||||
width 100%
|
||||
.locate-content
|
||||
position absolute
|
||||
width 2.4rem
|
||||
width 2.8rem
|
||||
height 2.56rem
|
||||
z-index 99
|
||||
background center center / 100% 100% url(../assets/images/popover_1.png) no-repeat
|
||||
padding .36rem .3rem
|
||||
padding .36rem .15rem
|
||||
.tan_pline
|
||||
width 100%
|
||||
margin 0 auto
|
||||
.tan_p
|
||||
font-size .14rem
|
||||
font-size .13rem
|
||||
line-height .36rem
|
||||
height .36rem
|
||||
overflow hidden
|
||||
|
||||
Reference in New Issue
Block a user