Browse Source

器具导出

hella_online_20241107
chenfang 4 weeks ago
parent
commit
0e4a4f3497
  1. 9
      src/views/wms/inventoryjobManage/containermanage/createContainerRecordMain/index.vue

9
src/views/wms/inventoryjobManage/containermanage/createContainerRecordMain/index.vue

@ -228,13 +228,8 @@ const handleExport = async () => {
//
loadStart()
const excelTitle = ref(route.meta.title)
if(businessType.value = 'InitialContainerManage'){
const data = await ContainerRecordMainApi.exportContainerInitRecordMain(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else {
const data = await ContainerRecordMainApi.exportContainerRecordMain(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
const data = await ContainerRecordMainApi.exportContainerInitRecordMain(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
loadDone()

Loading…
Cancel
Save