Browse Source

筛选后导出接口预改

master
陈薪名 1 year ago
parent
commit
8c8990c21e
  1. 7
      src/views/wms/basicDataManage/itemManage/itempackaging/index.vue

7
src/views/wms/basicDataManage/itemManage/itempackaging/index.vue

@ -182,8 +182,15 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
//
if (tableObject.params.isSearch) {
// tableObject.params 20231109
const data = await ItempackagingApi.exportItempackaging(setSearchParams) const data = await ItempackagingApi.exportItempackaging(setSearchParams)
download.excel(data, '物品包装信息 .xls') download.excel(data, '物品包装信息 .xls')
} else {
const data = await ItempackagingApi.exportItempackaging(setSearchParams)
download.excel(data, '物品包装信息 .xls')
}
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

Loading…
Cancel
Save