Browse Source

增加发运导入

master
zhouhongjun 10 months ago
parent
commit
28f3181775
  1. 4
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/fa-yun.js
  2. 6
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js

4
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/fa-yun.js

@ -326,9 +326,11 @@ export default function (businessType) {
const queryUrl = `settleaccount/${service}/get-list`;
const exportUrl = `settleaccount/${service}/export`;
const syncUrl = `settleaccount/${syncService}`;
const importUrl = `settleaccount/vmi/import-se`;
const queryMethod = "POST";
const exportMethod = "POST";
const syncMethod = "POST";
const importMethod = "POST";
return {
query: {
@ -415,6 +417,8 @@ export default function (businessType) {
syncUrl,
exportMethod,
syncMethod,
importUrl,
importMethod,
schema: schema,
},
};

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

@ -23,7 +23,11 @@ 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")],
children: [createButton("query", "title=查询&isTop=true"),
createButton("sync", "title=手动同步&isTop=true"),
createButton("export", "title=导出&isTop=true&pattern=paged"),
createButton("import", "title=导入&isTop=true")
],
};
}

Loading…
Cancel
Save