From 84f3d9e560aff0ce63fa87cb1006052ba3c3cb73 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Mon, 3 Jun 2024 09:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E9=80=89=E5=8F=82=E6=95=B0=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E6=8B=BC=E6=8E=A5businessType?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deliver/deliverRequestMain/index.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue index 751865884..7d061bfea 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue @@ -558,10 +558,18 @@ const importSuccess = () => { // 筛选提交 const searchFormClick = (searchData) => { - tableObject.params = { - isSearch: true, - filters: searchData.filters + tableObject.params.isSearch = true + let filters = [...searchData.filters] + if ( routeName.value == 'DeliverRequestMain') { + filters = [...filters,{ + businessType: 'Deliver' + }] + } else if ( routeName.value == 'ZZBJDeliverRequestMain') { + filters = [...filters,{ + businessType: 'ZZBJDeliver' + }] } + tableObject.params.filters = filters getList() // 刷新当前列表 }