feat(client): surface Excel draft import in order creation

This commit is contained in:
2026-09-01 20:38:12 +08:00
parent fb8a4743f6
commit aadd063028
9 changed files with 118 additions and 41 deletions
+7
View File
@@ -334,6 +334,13 @@ export function downloadMerchantProductImage(fileId: number | string) {
return apiBlobRequest({ method: 'GET', url: `/merchant/v1/files/product-images/${fileId}` })
}
export function downloadMerchantFirstLegBatchImportErrorReport(batchNo: string, fileId: number | string) {
return apiBlobRequest({
method: 'GET',
url: `/merchant/v1/files/order-batch-imports/${encodeURIComponent(batchNo)}/error-reports/${encodeURIComponent(String(fileId))}`,
})
}
export async function downloadMerchantInboundCartonLabels(inboundId: number | string) {
return downloadMerchantCartonLabelPdf(
`/merchant/v1/first-leg/inbounds/${encodeURIComponent(String(inboundId))}/carton-label-pdf`,