diff --git a/src/api/erp/stock/warehouse/index.ts b/src/api/erp/stock/warehouse/index.ts index 114cfa00..b953eeb2 100644 --- a/src/api/erp/stock/warehouse/index.ts +++ b/src/api/erp/stock/warehouse/index.ts @@ -13,6 +13,32 @@ export interface WarehouseVO { status: number // 开启状态 defaultStatus: boolean // 是否默认 warehouseId:number + areaList?: Array<{ + id: number + warehouseId: number + areaCode: string + areaName: string + areaSize: number + description: string + status: number + createTime: number + }> + locationList?: Array<{ + id: number + warehouseId: number + areaId: number + code: string + name: string + areaSize: number + maxLoadWeight: number + positionX: number + positionY: number + positionZ: number + allowProductMix: boolean + allowBatchMix: boolean + status: number + createTime: number + }> } // ERP 仓库 API diff --git a/src/views/erp/stock/warehouse/index.vue b/src/views/erp/stock/warehouse/index.vue index c3ad9b7d..2d740bb7 100644 --- a/src/views/erp/stock/warehouse/index.vue +++ b/src/views/erp/stock/warehouse/index.vue @@ -117,6 +117,13 @@ > {{ t('action.edit') }} + + {{ t('action.detail') }} + + + + + + + {{ detailData.name }} + {{ detailData.address }} + {{ detailData.principal }} + {{ detailData.remark || '-' }} + {{ detailData.sort }} + + + + + + + + + + + + + + + + + + + + + + + + + {{ getAreaName(scope.row.areaId) }} + + + + + + + + + {{ scope.row.positionX }}, {{ scope.row.positionY }}, {{ scope.row.positionZ }} + + + + + + {{ scope.row.allowProductMix ? t('common.yes') : t('common.no') }} + + + + + + + {{ scope.row.allowBatchMix ? t('common.yes') : t('common.no') }} + + + + + + + + + + + + + +