|
|
@ -345,7 +345,7 @@ const handleExport = async () => { |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
const data = await UnplannedissueRequestMainApi.exportUnplannedissueRequestMain(tableObject.params) |
|
|
|
download.excel(data, '计划外出库申请主.xlsx') |
|
|
|
download.excel(data, '备件领用申请.xlsx') |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|
exportLoading.value = false |
|
|
@ -396,6 +396,7 @@ const submitForm = async (formType, data) => { |
|
|
|
await UnplannedissueRequestMainApi.createUnplannedissueRequestMain(data) |
|
|
|
message.success(t('common.createSuccess')) |
|
|
|
} else { |
|
|
|
data.dataType='2' |
|
|
|
await UnplannedissueRequestMainApi.updateUnplannedissueRequestMain(data) |
|
|
|
message.success(t('common.updateSuccess')) |
|
|
|
} |
|
|
|