Browse Source

缺陷HL-4830:供应商用户关联管理导出添加loding

hella_online_20240819
songguoqiang 3 months ago
parent
commit
98dd6b322e
  1. 2
      src/views/wms/basicDataManage/systemSetting/supplierUser/index.vue

2
src/views/wms/basicDataManage/systemSetting/supplierUser/index.vue

@ -221,12 +221,14 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
tableObject.loading = true
const excelTitle = ref(route.meta.title)
const data = await SupplierUserApi.exportSupplierUser(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
tableObject.loading = false
}
}

Loading…
Cancel
Save