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