import { PutawayLine } from "@/app/api/po/actions" export interface QcData { id: number, qcItem: string, qcDescription: string, isPassed: boolean | undefined failedQty: number | undefined remarks: string | undefined } export const dummyQCData: QcData[] = [ { id: 1, qcItem: "包裝", qcDescription: "有破爛、污糟、脹袋、積水、與實物不符等任何一種情況,則不合格", isPassed: undefined, failedQty: undefined, remarks: undefined, }, { id: 2, qcItem: "肉質", qcDescription: "肉質鬆散,則不合格", isPassed: undefined, failedQty: undefined, remarks: undefined, }, { id: 3, qcItem: "顔色", qcDescription: "不是食材應有的顔色、顔色不均匀、出現其他顔色、腌料/醬顔色不均匀,油脂部分變綠色、黃色,", isPassed: undefined, failedQty: undefined, remarks: undefined, }, { id: 4, qcItem: "狀態", qcDescription: "有結晶、結霜、解凍跡象、發霉、散發異味等任何一種情況,則不合格", isPassed: undefined, failedQty: undefined, remarks: undefined, }, { id: 5, qcItem: "異物", qcDescription: "有不屬於本食材的雜質,則不合格", isPassed: undefined, failedQty: 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 } ]