|
- import { PutawayLine } from "@/app/api/po/actions"
- import { QcData } from "@/app/api/qc"
-
- // export interface QcData {
- // qcItemId: number,
- // qcItem: string,
- // qcDescription: string,
- // isPassed: boolean | undefined
- // failQty: number | undefined
- // remarks: string | undefined
- // }
-
- export const dummyQCData: QcData[] = [
- {
- id: 4,
- code: "包裝",
- qcDescription: "有破爛、污糟、脹袋、積水、與實物不符等任何一種情況,則不合格",
- name: "有破爛、污糟、脹袋、積水、與實物不符等任何一種情況,則不合格",
- isPassed: undefined,
- failQty: undefined,
- remarks: undefined,
- },
- {
- id: 5,
- code: "肉質",
- qcDescription: "肉質鬆散,則不合格",
- name: "肉質鬆散,則不合格",
- isPassed: undefined,
- failQty: undefined,
- remarks: undefined,
- },
- {
- id: 6,
- code: "顔色",
- qcDescription: "不是食材應有的顔色、顔色不均匀、出現其他顔色、腌料/醬顔色不均匀,油脂部分變綠色、黃色,則不合格",
- name: "不是食材應有的顔色、顔色不均匀、出現其他顔色、腌料/醬顔色不均匀,油脂部分變綠色、黃色,則不合格",
- isPassed: undefined,
- failQty: undefined,
- remarks: undefined,
- },
- {
- id: 7,
- code: "狀態",
- qcDescription: "有結晶、結霜、解凍跡象、發霉、散發異味等任何一種情況,則不合格",
- name: "有結晶、結霜、解凍跡象、發霉、散發異味等任何一種情況,則不合格",
- isPassed: undefined,
- failQty: undefined,
- remarks: undefined,
- },
- {
- id: 8,
- code: "異物",
- qcDescription: "有不屬於本食材的雜質,則不合格",
- name: "有不屬於本食材的雜質,則不合格",
- isPassed: undefined,
- failQty: undefined,
- remarks: undefined,
- },
- ]
-
- export interface EscalationData {
- id: number,
- escalation: string,
- supervisor: string,
- }
-
-
- export const dummyEscalationHistory: EscalationData[] = [
- {
- id: 1,
- escalation: "上報1",
- supervisor: "陳大文"
- },
- ]
-
- export const dummyPutawayLine: PutawayLine[] = [
- {
- id: 1,
- qty: 100,
- warehouseId: 1,
- warehouse: "W001 - 憶兆 3樓A倉",
- printQty: 100
- }
- ]
|