Browse Source

YT-352装配上架任务,导出没有数据,应导出数据正确

intex_online20241111
zhaoyiran 1 month ago
parent
commit
49f8a63d0d
  1. 3
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue

3
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue

@ -78,6 +78,7 @@ import {getAccessToken} from "@/utils/auth";
import { getJmreportBaseUrl } from '@/utils/systemParam' import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime' import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading' import { usePageLoading } from '@/hooks/web/usePageLoading'
import {exportProductputawayJobMainAssemble} from "@/api/wms/productputawayJobMain";
const { loadStart, loadDone } = usePageLoading() const { loadStart, loadDone } = usePageLoading()
// //
defineOptions({ name: 'ProductputawayJobMain' }) defineOptions({ name: 'ProductputawayJobMain' })
@ -251,7 +252,7 @@ const handleExport = async () => {
// //
loadStart() loadStart()
const excelTitle = ref(route.meta.title) const excelTitle = ref(route.meta.title)
const data = await ProductputawayJobMainApi.exportProductputawayJobMain(tableObject.params) const data = await ProductputawayJobMainApi.exportProductputawayJobMainAssemble(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {

Loading…
Cancel
Save