FPSMS-frontend
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

há 1 ano
​
há 1 ano
​
​
​
há 1 ano
​
​
​
​
​
​
​
​
​
​
​
​
​
123456789101112131415161718192021222324
  1. import { cache } from "react";
  2. import "server-only";
  3. // import { serverFetchJson } from "@/app/utils/fetchUtil";
  4. // import { BASE_API_URL } from "@/config/api";
  5. import { serverFetchJson } from "../../../utils/fetchUtil";
  6. import { BASE_API_URL } from "../../../../config/api";
  7. export interface Uom {
  8. id: number;
  9. code: string;
  10. udfudesc: string;
  11. /** Short UoM label from M18 (`udfShortDesc`), e.g. 箱. */
  12. udfShortDesc?: string | null;
  13. unit1: string;
  14. unit1Qty: number;
  15. unit2?: string;
  16. unit2Qty: number;
  17. unit3?: string;
  18. unit3Qty: number;
  19. unit4?: string;
  20. unit4Qty: number;
  21. sizeInGram: number;
  22. gramPerSmallestUnit: number;
  23. }