src/api/mdm/item/index.ts
@@ -107,6 +107,11 @@ return requestClient.put('/mdm/item/update-status', { id, status }); } /** 更新物料同步状态 */ export function updateItemSync(id: number, sync: boolean) { return requestClient.put('/mdm/item/update-sync', { id, sync }); } /** 导出物料 */ export function exportItem(params: Partial<MdmItemApi.Item>) { return requestClient.download('/mdm/item/export-excel', { params });