This commit is contained in:
2026-08-12 23:46:13 +08:00
parent 8a2024ef7a
commit 5160dde702
6 changed files with 46 additions and 309 deletions
@@ -389,20 +389,7 @@ namespace FineUIPro.Web.HJGL.PointTrust
};
var pipeline = PointBatchService.GetPointBatchById(item.PointBatchId);
string startdate = string.Format("{0:yyyy-MM-dd}", pipeline.StartDate);
string PipeArea = "";
if (!string.IsNullOrEmpty(pipeline.PipelineId))
{
switch (PipelineService.GetPipelineByPipelineId(pipeline.PipelineId).PipeArea)
{
case PipelineService.PipeArea_SHOP:
PipeArea = "(工厂)";
break;
case PipelineService.PipeArea_FIELD:
PipeArea = "(现场)";
break;
}
}
string code = "DK-" + item.PointBatchCode.Substring(item.PointBatchCode.Length - 4) + PipeArea;
string code = "DK-" + item.PointBatchCode.Substring(item.PointBatchCode.Length - 4) ;
if (!item.EndDate.HasValue) ////批 没有关闭 粉色
{
newNode.Text = "<font color='#FA58D0'>" + code + "【" + startdate + "】" + "【" + item.UnitName + "】" + "</font>";