change
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<div class="relative b_title">
|
<div class="relative b_title">
|
||||||
<span class="absolute sj_icon"></span>
|
<span class="absolute sj_icon"></span>
|
||||||
<!-- <p>仓储使用情况</p> -->
|
<!-- <p>仓储使用情况</p> -->
|
||||||
<p>{{ e.storsName }}</p>
|
<p>{{ storsName }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="zd-row wraper_1 mgb8">
|
<div class="zd-row wraper_1 mgb8">
|
||||||
<div class="box zd-col-7 mgr8">
|
<div class="box zd-col-7 mgr8">
|
||||||
@@ -196,6 +196,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
storsName: '',
|
||||||
interTime: this.$store.getters.setTime,
|
interTime: this.$store.getters.setTime,
|
||||||
intervalId: null,
|
intervalId: null,
|
||||||
materList: [],
|
materList: [],
|
||||||
@@ -240,7 +241,6 @@ export default {
|
|||||||
secCode: this.$store.getters.secCode
|
secCode: this.$store.getters.secCode
|
||||||
}
|
}
|
||||||
this.$store.dispatch('setConfig', obj)
|
this.$store.dispatch('setConfig', obj)
|
||||||
console.log(1111)
|
|
||||||
this._synthesizeInfo()
|
this._synthesizeInfo()
|
||||||
this.timerFun(this._synthesizeInfo, this.interTime)()
|
this.timerFun(this._synthesizeInfo, this.interTime)()
|
||||||
},
|
},
|
||||||
@@ -283,6 +283,7 @@ export default {
|
|||||||
async _synthesizeInfo () {
|
async _synthesizeInfo () {
|
||||||
let res = await synthesizeInfo(this.$store.getters.secCode)
|
let res = await synthesizeInfo(this.$store.getters.secCode)
|
||||||
res.data = res.data[0]
|
res.data = res.data[0]
|
||||||
|
this.storsName = res.data.storsName
|
||||||
this.pointUse = res.data.pointUse
|
this.pointUse = res.data.pointUse
|
||||||
this.toDayInAndOut = res.data.toDayInAndOut
|
this.toDayInAndOut = res.data.toDayInAndOut
|
||||||
this.inw = this.getPercentage(this.toDayInAndOut.in.vehicle_qty, this.toDayInAndOut.in.total_qty)
|
this.inw = this.getPercentage(this.toDayInAndOut.in.vehicle_qty, this.toDayInAndOut.in.total_qty)
|
||||||
|
|||||||
Reference in New Issue
Block a user