Browse Source

修改菜单名称

master
zhouhongjun 11 months ago
parent
commit
6d57c1e75e
  1. 4
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/compare/vmi-job.js
  2. 22
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js
  3. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Reports/ReportServices/ReportMakeService.cs

4
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/compare/vmi-job.js

@ -84,10 +84,10 @@ export default function (businessType, type) {
delete compareSchema.properties["downLineDateTime"]; delete compareSchema.properties["downLineDateTime"];
if (businessType === "BBACDiff") { if (businessType === "BBACDiff") {
compareService = "report/get-bbacwms-edi-diff"; compareService = "report/get-bbacwms-edi-diff";
name = "BBAC全表核对差异"; name = "BBAC EDI与发运信息全量核对差异";
} else if (businessType === "HBPODiff") { } else if (businessType === "HBPODiff") {
compareService = "report/get-hbpowms-edi-diff"; compareService = "report/get-hbpowms-edi-diff";
name = "HBPO全表核对差异"; name = "HBPO EDI与发运信息全量核对差异";
} }
} else { } else {
// if (businessType === "JisBBAC") { // if (businessType === "JisBBAC") {

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

@ -63,7 +63,7 @@ function createCompareVmi(path, business, client, title = "库存余额任务")
}; };
} }
function createCompareDiff(path, business, client, title = "BBAC 全表核对差异") { function createCompareDiff(path, business, client, title = "BBAC EDI与发运信息全量核对差异") {
return { return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`), ...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/compare/vmi", component: "/compare/vmi",
@ -186,7 +186,7 @@ export default [
children: [ children: [
createCompareFaYun("bbac_sa_detail_jobservice", "JisBBAC", "bbac", "JIS-BBAC EDI与发运对比"), createCompareFaYun("bbac_sa_detail_jobservice", "JisBBAC", "bbac", "JIS-BBAC EDI与发运对比"),
createCompareJieSuan("first_bbac_sa_detail_jobservice", "JisBBAC", "bbac", "JIS-BBAC EDI、发运与结算对比"), createCompareJieSuan("first_bbac_sa_detail_jobservice", "JisBBAC", "bbac", "JIS-BBAC EDI、发运与结算对比"),
createCompareDiff("bbacwms_edi_diff", "BBACDiff", "bbac", "BBAC 全表核对差异") createCompareDiff("bbacwms_edi_diff", "BBACDiff", "bbac", "BBAC EDI与发运信息全量核对差异")
], ],
}, },
{ {
@ -216,7 +216,7 @@ export default [
children: [ children: [
createCompareFaYun("hbpo_sa_detail_jobservice", "JisHBPO", "hbpo", "JIS-HBPO EDI与发运对比"), createCompareFaYun("hbpo_sa_detail_jobservice", "JisHBPO", "hbpo", "JIS-HBPO EDI与发运对比"),
createCompareJieSuan("first_hbpo_sa_detail_jobservice", "JisHBPO", "hbpo", "JIS-HBPO EDI、发运与结算对比"), createCompareJieSuan("first_hbpo_sa_detail_jobservice", "JisHBPO", "hbpo", "JIS-HBPO EDI、发运与结算对比"),
createCompareDiff("hbpowms_edi_diff", "HBPODiff", "hbpo", "HBPO 全表核对差异") createCompareDiff("hbpowms_edi_diff", "HBPODiff", "hbpo", "HBPO EDI与发运信息全量核对差异")
], ],
}, },
{ {
@ -469,14 +469,14 @@ export default [
...createPage("sum", "title=库存余额汇总"), ...createPage("sum", "title=库存余额汇总"),
children: [createButton("query", "title=查询&isTop=true"), createButton("export", "title=导出&isTop=true&pattern=paged")], children: [createButton("query", "title=查询&isTop=true"), createButton("export", "title=导出&isTop=true&pattern=paged")],
}, },
{ // {
...createPage("backup", "title=时点库存余额查询"), // ...createPage("backup", "title=时点库存余额查询"),
children: [ // children: [
createButton("query", "title=查询&isTop=true"), // createButton("query", "title=查询&isTop=true"),
createButton("export", "title=导出&isTop=true&pattern=paged"), // createButton("export", "title=导出&isTop=true&pattern=paged"),
createButton("invoke", "title=手动备份&isTop=true"), // createButton("invoke", "title=手动备份&isTop=true"),
], // ],
}, // },
{ {
...createPage("log", "title=库存事务查询"), ...createPage("log", "title=库存事务查询"),
path: "log", path: "log",

4
code/src/Modules/SettleAccount/src/SettleAccount.Application/Reports/ReportServices/ReportMakeService.cs

@ -87,7 +87,7 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
List<CustomCondition> customConditionList = new List<CustomCondition>(); List<CustomCondition> customConditionList = new List<CustomCondition>();
customConditionList.Add(new CustomCondition() { Name = "Year", Value = DateTime.Now.Year.ToString() }); customConditionList.Add(new CustomCondition() { Name = "Year", Value = DateTime.Now.Year.ToString() });
var _taskid = await _service.ExportEnqueueAsync("BBAC全表核对差异", ExportExtentsion.Excel, DateTime.Now.Year.ToString(), string.Empty, CurrentUser, typeof(EdiWmsDiffService), customConditionList, (rs) => var _taskid = await _service.ExportEnqueueAsync("BBAC EDI与发运信息全量核对差异", ExportExtentsion.Excel, DateTime.Now.Year.ToString(), string.Empty, CurrentUser, typeof(EdiWmsDiffService), customConditionList, (rs) =>
{ {
}).ConfigureAwait(false); }).ConfigureAwait(false);
@ -109,7 +109,7 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
List<CustomCondition> customConditionList = new List<CustomCondition>(); List<CustomCondition> customConditionList = new List<CustomCondition>();
customConditionList.Add(new CustomCondition() { Name = "Year", Value = DateTime.Now.Year.ToString() }); customConditionList.Add(new CustomCondition() { Name = "Year", Value = DateTime.Now.Year.ToString() });
var _taskid = await _service.ExportEnqueueAsync("HBPO全表核对差异", ExportExtentsion.Excel, DateTime.Now.Year.ToString(), string.Empty, CurrentUser, typeof(HBPOEdiWmsDiffService), customConditionList, (rs) => var _taskid = await _service.ExportEnqueueAsync("HBPO EDI与发运信息全量核对差异", ExportExtentsion.Excel, DateTime.Now.Year.ToString(), string.Empty, CurrentUser, typeof(HBPOEdiWmsDiffService), customConditionList, (rs) =>
{ {
}).ConfigureAwait(false); }).ConfigureAwait(false);

Loading…
Cancel
Save