Browse Source

输入特殊符号显示导入按钮

master
zhouhongjun 10 months ago
parent
commit
272db1afa4
  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";
// #region 数据输入
function createInputJieSuanShuju(path, business, client, title = "结算数据") {
const routes = {
@ -20,13 +23,18 @@ function createInputJieSuanShuju(path, business, client, title = "结算数据")
}
function createInputFaYunShuJu(path, business, client, title = "发运数据") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/input/fa-yun",
children: [createButton("query", "title=查询&isTop=true"),
createButton("sync", "title=手动同步&isTop=true"),
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