From e2da702fda768ece8b8dfe08761a624c62c666c3 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Mon, 8 Jul 2024 17:11:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E5=88=97=E8=A1=A8=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E7=BB=93=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/components/list/index.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js index b3772693..97d80a3a 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js @@ -553,6 +553,14 @@ export default { const url = config.edit.exportUrl; const method = config.edit.exportMethod; const postData = buildQuery(); + + postData.filters.push({ + logic: "and", + column: "billNum", + action: "equal", + value: rows[0].billNum, + }); + await onClick(async () => { const response = await request(url, postData, { method }); if (!response.errors) { @@ -824,6 +832,7 @@ export default { }); }); } + //添加子表filter查询 if (route.meta.businessType && route.meta.path !== "/jis-bbac/settlement/bbac_can_sa_service") { postData.filters.push({ @@ -832,7 +841,7 @@ export default { action: "equal", value: route.meta.businessType, }); - } + } if (postData.items) { delete postData["items"]; }