1
This commit is contained in:
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user