Browse Source

导出增加默认参数

master_hella_20240701
TengXF 5 months ago
parent
commit
0e8ae183ef
  1. 1
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/index.vue
  2. 1
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue

1
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/index.vue

@ -155,6 +155,7 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
tableObject.params.detailDataType = 2
const data = await UnplannedissueRecordMainApi.exportUnplannedissueRecordMain(tableObject.params)
download.excel(data, '计划外出库记录主.xlsx')
} catch {

1
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue

@ -393,6 +393,7 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
tableObject.params.detailDataType = 2
const data = await UnplannedissueRequestMainApi.exportUnplannedissueRequestMain(tableObject.params)
download.excel(data, '备件领用申请.xlsx')
} catch {

Loading…
Cancel
Save