Browse Source

Qad发票同步状态查询页面添加导出按钮和更新url

master
wanggang 1 year ago
parent
commit
a51252e713
  1. 7
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/sync.js
  2. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js

7
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,
},
};
}

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

Loading…
Cancel
Save