2024-02-26
This commit is contained in:
@@ -308,19 +308,18 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||
//private static bool canSave; //是否可以保存
|
||||
public string ConvertPipeArea(object PipeArea)
|
||||
{
|
||||
string StateName = string.Empty;
|
||||
if (!string.IsNullOrEmpty(PipeArea.ToString()))
|
||||
string stateName = string.Empty;
|
||||
if (PipeArea != null && !string.IsNullOrEmpty(PipeArea.ToString()))
|
||||
{
|
||||
|
||||
if (PipeArea != null)
|
||||
{
|
||||
string txt = PipelineService.GetPipeArea().FirstOrDefault(x => x.Value == PipeArea.ToString()).Text;
|
||||
|
||||
string txt = PipelineService.GetPipeArea().FirstOrDefault(x => x.Value == PipeArea.ToString())?.Text;
|
||||
|
||||
return txt;
|
||||
}
|
||||
return "";
|
||||
|
||||
|
||||
}
|
||||
return StateName;
|
||||
|
||||
return stateName;
|
||||
}
|
||||
#region 焊接日报 提交事件
|
||||
// 检查用户权限
|
||||
|
||||
Reference in New Issue
Block a user