|
|
@ -67,6 +67,7 @@ import { InspectionTemplateMain,InspectionTemplateProcess,InspectionTemplateFeat |
|
|
|
|
|
|
|
|
|
|
|
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict' |
|
|
|
import {exportFirstInspectionRecordMain} from "@/api/qms/inspectionRecord/inspectionRecordMain"; |
|
|
|
|
|
|
|
// 采购订单 |
|
|
|
defineOptions({ name: 'InspectionRecordMain' }) |
|
|
@ -207,7 +208,7 @@ const handleMainExport = async (row: any) => { |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
tableObject.params.number = row.number |
|
|
|
const data = await InspectionRecordMainApi.exportInspectionRecordMain(tableObject.params) |
|
|
|
const data = await InspectionRecordMainApi.exportFirstInspectionRecordMain(tableObject.params) |
|
|
|
download.excel(data, '首件检验记录.xlsx') |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
@ -223,7 +224,7 @@ const handleMainExport = async (row: any) => { |
|
|
|
await message.exportConfirm() |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
const data = await InspectionRecordMainApi.exportInspectionRecordMain(tableObject.params) |
|
|
|
const data = await InspectionRecordMainApi.exportFirstInspectionRecordMain(tableObject.params) |
|
|
|
download.excel(data, '首件检验记录.xlsx') |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|