|
@ -87,6 +87,7 @@ import { RepleinshRequestMain,RepleinshRequestMainRules,RepleinshRequestDetail,R |
|
|
import * as RepleinshRequestMainApi from '@/api/wms/repleinshRequestMain' |
|
|
import * as RepleinshRequestMainApi from '@/api/wms/repleinshRequestMain' |
|
|
import * as RepleinshRequestDetailApi from '@/api/wms/repleinshRequestDetail' |
|
|
import * as RepleinshRequestDetailApi from '@/api/wms/repleinshRequestDetail' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
|
|
|
|
|
|
// 补料申请 |
|
|
// 补料申请 |
|
|
defineOptions({ name: 'RepleinshRequestMain' }) |
|
|
defineOptions({ name: 'RepleinshRequestMain' }) |
|
@ -344,7 +345,7 @@ const handleExport = async () => { |
|
|
// 发起导出 |
|
|
// 发起导出 |
|
|
exportLoading.value = true |
|
|
exportLoading.value = true |
|
|
const data = await RepleinshRequestMainApi.exportRepleinshRequestMain(tableObject.params) |
|
|
const data = await RepleinshRequestMainApi.exportRepleinshRequestMain(tableObject.params) |
|
|
download.excel(data, '补料申请.xlsx') |
|
|
download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`) |
|
|
} catch { |
|
|
} catch { |
|
|
} finally { |
|
|
} finally { |
|
|
exportLoading.value = false |
|
|
exportLoading.value = false |
|
@ -423,7 +424,7 @@ const handleImport = () => { |
|
|
// 导入附件弹窗所需的参数 |
|
|
// 导入附件弹窗所需的参数 |
|
|
const importTemplateData = reactive({ |
|
|
const importTemplateData = reactive({ |
|
|
templateUrl: '', |
|
|
templateUrl: '', |
|
|
templateTitle: '补料申请导入模版.xlsx' |
|
|
templateTitle: `【${route.meta.title}】导入模版.xlsx` |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// 导入成功之后 |
|
|
// 导入成功之后 |
|
|