|
|
|
@@ -184,7 +184,7 @@ const GoodPickExecutionRecord: React.FC<Props> = ({ filterArgs, printerCombo, a4 |
|
|
|
console.error("error: ", error) |
|
|
|
} |
|
|
|
} |
|
|
|
}, [t]); |
|
|
|
}, [t, a4Printer]); |
|
|
|
|
|
|
|
const handleDNandLabel = useCallback(async (recordId: number) => { |
|
|
|
if (!a4Printer || !labelPrinter) { |
|
|
|
@@ -281,7 +281,7 @@ const GoodPickExecutionRecord: React.FC<Props> = ({ filterArgs, printerCombo, a4 |
|
|
|
console.error("error: ", error) |
|
|
|
} |
|
|
|
} |
|
|
|
}, [t]); |
|
|
|
}, [t, a4Printer, labelPrinter]); |
|
|
|
|
|
|
|
const handleLabel = useCallback(async (recordId: number) => { |
|
|
|
const askNumofCarton = await Swal.fire({ |
|
|
|
@@ -340,7 +340,7 @@ const GoodPickExecutionRecord: React.FC<Props> = ({ filterArgs, printerCombo, a4 |
|
|
|
console.error("error: ", error) |
|
|
|
} |
|
|
|
} |
|
|
|
}, [t]); |
|
|
|
}, [t, labelPrinter]); |
|
|
|
|
|
|
|
// 修改:使用新的 API 获取已完成的 DO Pick Orders |
|
|
|
const fetchCompletedDoPickOrdersData = useCallback(async (searchParams?: CompletedDoPickOrderSearchParams) => { |
|
|
|
|