在库位管理中新增容量单位类型和容量单位字段,调整库位状态选项,在仓库和库区管理中新增必填字段验证,移除库区容量列显示

This commit is contained in:
WUSIJIAN
2026-02-27 18:00:43 +08:00
parent 04a79c3032
commit 95b97314a2
6 changed files with 71 additions and 14 deletions

View File

@@ -20,6 +20,9 @@ export interface LocationData {
warehouseId?: string;
zoneId: string;
maxCapacity?: number;
capacityUnit?: string;
capacityUnitType: string;
status?: string;
remark?: string;
}
@@ -76,3 +79,11 @@ export function updateLocationStatus(data: { id: string; status: string }) {
data,
});
}
// 获取容量单位类型
export function getCapacityUnitType() {
return newService({
url: '/assets/location/getCapacityUnitType',
method: 'get',
});
}