|
@ -88,6 +88,7 @@ import { ProductputawayRequestMain,ProductputawayRequestMainRules,Productputaway |
|
|
import * as ProductputawayRequestMainApi from '@/api/wms/productputawayRequestMain' |
|
|
import * as ProductputawayRequestMainApi from '@/api/wms/productputawayRequestMain' |
|
|
import * as ProductputawayRequestDetailApi from '@/api/wms/productputawayRequestDetail' |
|
|
import * as ProductputawayRequestDetailApi from '@/api/wms/productputawayRequestDetail' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
|
|
|
|
|
|
// 制品上架申请 装配上架申请 装配制品上架申请 |
|
|
// 制品上架申请 装配上架申请 装配制品上架申请 |
|
|
defineOptions({ name: 'ProductputawayRequestMain' }) |
|
|
defineOptions({ name: 'ProductputawayRequestMain' }) |
|
@ -344,7 +345,7 @@ const handleExport = async () => { |
|
|
// 发起导出 |
|
|
// 发起导出 |
|
|
exportLoading.value = true |
|
|
exportLoading.value = true |
|
|
const data = await ProductputawayRequestMainApi.exportProductputawayRequestMainAssemble(tableObject.params) |
|
|
const data = await ProductputawayRequestMainApi.exportProductputawayRequestMainAssemble(tableObject.params) |
|
|
download.excel(data, route.meta.title+'.xlsx') |
|
|
download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`) |
|
|
} catch { |
|
|
} catch { |
|
|
} finally { |
|
|
} finally { |
|
|
exportLoading.value = false |
|
|
exportLoading.value = false |
|
@ -417,7 +418,7 @@ const handleImport = () => { |
|
|
// 导入附件弹窗所需的参数 |
|
|
// 导入附件弹窗所需的参数 |
|
|
const importTemplateData = reactive({ |
|
|
const importTemplateData = reactive({ |
|
|
templateUrl: '', |
|
|
templateUrl: '', |
|
|
templateTitle: '制品上架申请主导入模版.xlsx' |
|
|
templateTitle: `【${route.meta.title}】导入模版.xlsx` |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// 导入成功之后 |
|
|
// 导入成功之后 |
|
|