手持机
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
<view class="container">
|
||||
<view class="warehouse-selector">
|
||||
<uni-forms>
|
||||
<uni-forms-item label="仓库:">
|
||||
<uni-forms-item :label="$t('spaceAnalysis.warehouse')">
|
||||
<uni-data-select
|
||||
v-model="selectedWarehouseId"
|
||||
:localdata="warehouseList"
|
||||
:clear="false"
|
||||
placeholder="请选择仓库"
|
||||
:placeholder="$t('spaceAnalysis.warehousePlaceholder')"
|
||||
@change="handleWarehouseChange"
|
||||
/>
|
||||
</uni-forms-item>
|
||||
@@ -58,7 +58,7 @@ export default {
|
||||
},
|
||||
pieOpts: {
|
||||
title: {
|
||||
name: '货位状态分布',
|
||||
name: this.$t('spaceAnalysis.cargoSpaceStatus'),
|
||||
fontSize: 15
|
||||
},
|
||||
legend: {
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
},
|
||||
columnOpts: {
|
||||
title: {
|
||||
name: '巷道出入库统计',
|
||||
name: this.$t('spaceAnalysis.aisleStatistics'),
|
||||
fontSize: 15
|
||||
},
|
||||
legend: {
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
fontSize: 12
|
||||
},
|
||||
yAxis: {
|
||||
name: '数量',
|
||||
name: this.$t('spaceAnalysis.quantity'),
|
||||
fontSize: 12
|
||||
},
|
||||
extra: {
|
||||
@@ -159,12 +159,12 @@ export default {
|
||||
if (res.code === 200 && res.data) {
|
||||
// 更新柱状图数据
|
||||
this.columnData = {
|
||||
categories: ['1巷道'],
|
||||
categories: [`1${this.$t('spaceAnalysis.aisle')}`],
|
||||
series: [{
|
||||
name: '入库数量',
|
||||
name: this.$t('spaceAnalysis.inboundQuantity'),
|
||||
data:[res.data["in"]]
|
||||
},{
|
||||
name: '出库数量',
|
||||
name: this.$t('spaceAnalysis.outboundQuantity'),
|
||||
data:[res.data["out"]]
|
||||
}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user