| | |
| | | >('/mes/wm/stocktaking-task-line/page', { params }); |
| | | } |
| | | |
| | | /** 下载盘点实盘数导入模板 */ |
| | | export function importStockTakingQuantityTemplate() { |
| | | return requestClient.download('/mes/wm/stocktaking-task-line/get-import-template'); |
| | | } |
| | | |
| | | /** 导入盘点实盘数量 */ |
| | | export function importStockTakingQuantity(taskId: number, file: File) { |
| | | return requestClient.upload<{ |
| | | successCount?: number; |
| | | failureCount?: number; |
| | | failureMessages?: string[]; |
| | | }>(`/mes/wm/stocktaking-task-line/import-excel?taskId=${taskId}`, { file }); |
| | | } |
| | | |
| | | /** 查询盘点任务行精简列表 */ |
| | | export function getStockTakingTaskLineSimpleList(taskId: number) { |
| | | return requestClient.get<WlsStockTakingTaskLineApi.StockTakingTaskLine[]>( |