Browse Source

器具导出

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

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

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

Loading…
Cancel
Save