Browse Source

Merge branch 'master' of http://dev.ccwin-in.com:3000/BoXu.Zheng/BeiJinSettleAccount

master
zhaoxinyu 11 months ago
parent
commit
40905e023a
  1. 10
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js

10
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js

@ -1,5 +1,8 @@
import createRoute, { createPage, createButton } from "./utils.js"; import createRoute, { createPage, createButton } from "./utils.js";
// #region 数据输入 // #region 数据输入
function createInputJieSuanShuju(path, business, client, title = "结算数据") { function createInputJieSuanShuju(path, business, client, title = "结算数据") {
const routes = { const routes = {
@ -20,13 +23,18 @@ function createInputJieSuanShuju(path, business, client, title = "结算数据")
} }
function createInputFaYunShuJu(path, business, client, title = "发运数据") { function createInputFaYunShuJu(path, business, client, title = "发运数据") {
return { return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`), ...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/input/fa-yun", component: "/input/fa-yun",
children: [createButton("query", "title=查询&isTop=true"), children: [createButton("query", "title=查询&isTop=true"),
createButton("sync", "title=手动同步&isTop=true"), createButton("sync", "title=手动同步&isTop=true"),
createButton("export", "title=导出&isTop=true&pattern=paged"), createButton("export", "title=导出&isTop=true&pattern=paged"),
createButton("import", "title=导入&isTop=true") createButton("import", "title=导入&isTop=true", (_, q) => q.filters.some((o) => o.column === "factoryPartCode" && o.value === "@@@"))
], ],
}; };
} }

Loading…
Cancel
Save