fix:永丰售后修复BUG,
1,物料库存获取不到ERP:重新调整触发查询逻辑 2,工序变更导致物料无法出库:配置旧工序 3,测试出库订单ERP推送,任务下发
This commit is contained in:
1 parent
b2a9a38f38
commit
c76e7bb681
69 files changed
+5510
-157
No files matched your search
@@ -32,7 +32,9 @@ namespace HHWMS.Web
|
||||
this.MakeGridHeader(x => x.JobName)
|
||||
.SetFormat((entity,v) =>
|
||||
{
|
||||
return AllJob.FirstOrDefault(x => x.Value.ToString() == entity.JobName).Text;
|
||||
// null 保护:数据库里的 JobName 在 AllJob 里找不到匹配时返回原名,不抛空指针
|
||||
var match = AllJob.FirstOrDefault(x => x.Value.ToString() == entity.JobName);
|
||||
return match?.Text ?? entity.JobName ?? "-";
|
||||
}),
|
||||
this.MakeGridHeader(x => x.JobGroup).SetHide(),
|
||||
this.MakeGridHeader(x => x.MethodName),
|
||||
|
||||
Reference in new issue
Block a user