|
|
@ -96,8 +96,8 @@ import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
|
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
|
|
|
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
|
|
|
|
|
// 发货申请 |
|
|
|
defineOptions({ name: 'Itemarea' }) |
|
|
@ -335,7 +335,7 @@ const handleExport = async () => { |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
const data = await ItemareaApi.exportItemarea(tableObject.params) |
|
|
|
download.excel(data, '物料库区配置管理主.xlsx') |
|
|
|
download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`) |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|
exportLoading.value = false |
|
|
@ -398,7 +398,7 @@ const handleImport = () => { |
|
|
|
// 导入附件弹窗所需的参数 |
|
|
|
const importTemplateData = reactive({ |
|
|
|
templateUrl: '', |
|
|
|
templateTitle: '物料库区配置导入模版.xlsx' |
|
|
|
templateTitle: `【${route.meta.title}】导入模版.xlsx` |
|
|
|
}) |
|
|
|
|
|
|
|
// 导入成功之后 |
|
|
|