From a51252e71358921c1cf2f3e480badd4642c2acbb Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 12 Oct 2023 17:35:41 +0800 Subject: [PATCH] =?UTF-8?q?Qad=E5=8F=91=E7=A5=A8=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=9F=A5=E8=AF=A2=E9=A1=B5=E9=9D=A2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AF=BC=E5=87=BA=E6=8C=89=E9=92=AE=E5=92=8C=E6=9B=B4?= =?UTF-8?q?=E6=96=B0url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/models/settle/sync.js | 7 ++++++- .../SettleAccount.HttpApi.Host/wwwroot/router/business.js | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/sync.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/sync.js index 38ec9bd9..807a1b75 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/sync.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/sync.js @@ -46,7 +46,10 @@ export default function () { }, }; - const queryUrl = "settleaccount/bbac_pd_service/detail-query"; + const service = "invoice-sync-qad"; + const queryUrl = `settleaccount/${service}/get-list`; + const exportMethod = "POST"; + const exportUrl = `settleaccount/${service}/export`; return { query: { @@ -118,6 +121,8 @@ export default function () { }, edit: { schema, + exportMethod, + exportUrl, }, }; } diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js index 47845a96..d81e7747 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js @@ -390,7 +390,7 @@ export default [ { ...createPage("sync", `title=Qad发票同步状态查询`), component: "/finance/sync", - children: [createButton("query", "title=查询&isTop=true")], + children: [createButton("query", "title=查询&isTop=true"), createButton("export", "title=导出&isTop=true&pattern=paged")], }, ], },