FPSMS-frontend
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

78 rader
1.9 KiB

  1. import { PutawayLine } from "@/app/api/po/actions"
  2. export interface QcData {
  3. id: number,
  4. qcItem: string,
  5. qcDescription: string,
  6. isPassed: boolean | undefined
  7. failedQty: number | undefined
  8. remarks: string | undefined
  9. }
  10. export const dummyQCData: QcData[] = [
  11. {
  12. id: 1,
  13. qcItem: "包裝",
  14. qcDescription: "有破爛、污糟、脹袋、積水、與實物不符等任何一種情況,則不合格",
  15. isPassed: undefined,
  16. failedQty: undefined,
  17. remarks: undefined,
  18. },
  19. {
  20. id: 2,
  21. qcItem: "肉質",
  22. qcDescription: "肉質鬆散,則不合格",
  23. isPassed: undefined,
  24. failedQty: undefined,
  25. remarks: undefined,
  26. },
  27. {
  28. id: 3,
  29. qcItem: "顔色",
  30. qcDescription: "不是食材應有的顔色、顔色不均匀、出現其他顔色、腌料/醬顔色不均匀,油脂部分變綠色、黃色,",
  31. isPassed: undefined,
  32. failedQty: undefined,
  33. remarks: undefined,
  34. },
  35. {
  36. id: 4,
  37. qcItem: "狀態",
  38. qcDescription: "有結晶、結霜、解凍跡象、發霉、散發異味等任何一種情況,則不合格",
  39. isPassed: undefined,
  40. failedQty: undefined,
  41. remarks: undefined,
  42. },
  43. {
  44. id: 5,
  45. qcItem: "異物",
  46. qcDescription: "有不屬於本食材的雜質,則不合格",
  47. isPassed: undefined,
  48. failedQty: undefined,
  49. remarks: undefined,
  50. },
  51. ]
  52. export interface EscalationData {
  53. id: number,
  54. escalation: string,
  55. supervisor: string,
  56. }
  57. export const dummyEscalationHistory: EscalationData[] = [
  58. {
  59. id: 1,
  60. escalation: "上報1",
  61. supervisor: "陳大文"
  62. },
  63. ]
  64. export const dummyPutawayLine: PutawayLine[] = [
  65. {
  66. id: 1,
  67. qty: 100,
  68. warehouseId: 1,
  69. warehouse: "W001 - 憶兆 3樓A倉",
  70. printQty: 100
  71. }
  72. ]