Commit c824fe50 by huangqy

111

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