storage.ts 663 B

123456789101112131415161718192021222324252627282930
  1. import {ListParams} from '.';
  2. /** 获取库位列表 */
  3. export type GetStorageListParams = {
  4. /** 库位编号 */
  5. storageLocationCode: string
  6. /** 库位名称 */
  7. storageLocationName: string
  8. /** 库位类型 */
  9. storageLocationType: string
  10. /** 是否禁用 */
  11. isNotDisable: string
  12. } & ListParams;
  13. /** 新增库位 */
  14. export type AddStorageParams = {
  15. /** 库位编号 */
  16. storageLocationCode: string
  17. /** 库位名称 */
  18. storageLocationName: string
  19. /** 是否是混合库位 */
  20. isNotDisable: string
  21. /** 所在仓库 */
  22. warehouseWhere: string
  23. };
  24. /** 修改仓库 */
  25. export type EditStorageParams = AddStorageParams & {
  26. id: string
  27. };