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")], }, ], },