Commit c824fe50 by huangqy

111

parent f7d2d575
......@@ -102,7 +102,7 @@ export default {
}],
series: [
{
name: '工作位',
name: '工作位',
type: 'bar',
barGap: 0,
label: labelOption,
......@@ -112,31 +112,22 @@ export default {
data: data.aisleList[0],
},
{
name: '有货位',
name: '有货位',
type: 'bar',
label: labelOption,
emphasis: {
focus: 'series'
},
data: data.aisleList[2]
},
{
name: '空托盘',
type: 'bar',
label: labelOption,
emphasis: {
focus: 'series'
},
data: data.aisleList[3]
data: data.aisleList[1]
},
{
name: '空货位',
name: '无货垛位',
type: 'bar',
label: labelOption,
emphasis: {
focus: 'series'
},
data: data.aisleList[1]
data: data.aisleList[2]
}
]
};
......
......@@ -44,7 +44,7 @@ export default {
data () {
return {
url: '/firstDynamic/searchStoreByToday',
getGoodsByAisle: '/big/getGoodsByAisle'
getGoodsByArea: '/big/getGoodsByArea'
}
},
mounted() {
......@@ -55,11 +55,10 @@ export default {
},
methods: {
getData() {
let params = window._CONFIG['isLTK'] ? {storeCode: this.$route.query.storeCode} : ''
getAction(window._CONFIG['domianURL'] + this.url, {storeCode: this.$route.query.storeCode, datetime: new Date().getFullYear() + '-' + (new Date().getMonth() + 1).toString().padStart(2, '0') }).then(res => {
this.$refs.bll.draw(res.data)
})
getAction(window._CONFIG['domianURL'] + this.getGoodsByAisle, params).then(res => {
getAction(window._CONFIG['domianURL'] + this.getGoodsByArea, {storeCode: this.$route.query.storeCode}).then(res => {
this.$refs.brb.draw(res.data)
})
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论