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