From c5298daa3b5cb80427e1c79929824cc3010f6788 Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Sat, 17 Aug 2024 10:47:12 +0800 Subject: [PATCH] =?UTF-8?q?HL-5354=20=E8=A3=85=E9=85=8D=E5=88=B6=E5=93=81?= =?UTF-8?q?=E4=B8=8A=E6=9E=B6=E8=AE=B0=E5=BD=95=E5=AF=BC=E5=87=BA=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/productputawayRecordDetail/index.ts | 2 +- src/api/wms/productputawayRecordMain/index.ts | 8 +++++++- .../stockup/stockupMainJob/index.vue | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/api/wms/productputawayRecordDetail/index.ts b/src/api/wms/productputawayRecordDetail/index.ts index 4464c5c7e..5b46db206 100644 --- a/src/api/wms/productputawayRecordDetail/index.ts +++ b/src/api/wms/productputawayRecordDetail/index.ts @@ -54,7 +54,7 @@ export const getProductputawayRecordDetailPage = async (params) => { // 查询制品上架记录子列表 export const getProductputawayRecordDetailPageAssemble = async (params) => { -   params.type = 'assemble' + params.type = 'assemble' if (params.isSearch) { const cmd = { 'column':'type', diff --git a/src/api/wms/productputawayRecordMain/index.ts b/src/api/wms/productputawayRecordMain/index.ts index 897de3153..f411cfb30 100644 --- a/src/api/wms/productputawayRecordMain/index.ts +++ b/src/api/wms/productputawayRecordMain/index.ts @@ -74,8 +74,14 @@ export const deleteProductputawayRecordMain = async (id: number) => { // 导出制品上架记录主 Excel export const exportProductputawayRecordMain = async (params) => { - params.type = 'predict' + params.type = 'assemble' if (params.isSearch) { + const cmd = { + 'column':'type', + 'action':'==', + 'value':'assemble' + } + params.filters.push(cmd) delete params.isSearch const data = {...params} return await request.downloadPost({ url: '/wms/productputaway-record-main/export-excel-senior', data }) diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue index 92a3e9db4..1551887fb 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue @@ -142,7 +142,7 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultExportBtn({hasPermi:'wms:stockup-job-main:export'}), // 导出 + defaultButtons.defaultExportBtn({hasPermi:'wms:stockup-main-job:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置