现场调试修改 入库 出库 放货重新分配货位

This commit is contained in:
liuhanqing
2025-12-26 13:23:28 +08:00
parent ced125c8e9
commit 6b56e5f2ad
53 changed files with 3397 additions and 1832 deletions

View File

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