2022-10-25 焊接修改
This commit is contained in:
@@ -281,23 +281,23 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
if (Model_JointNOCompleteColor != null)
|
||||
{
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtJointNOCompleteColor.Text.Trim()))
|
||||
if (!string.IsNullOrEmpty(this.drpJointNOCompleteColor.SelectedValue.Trim()))
|
||||
{
|
||||
Model_JointNOCompleteColor.SetValue = this.txtJointNOCompleteColor.Text.Trim();
|
||||
Model_JointNOCompleteColor.SetValue = this.drpJointNOCompleteColor.SelectedValue.Trim();
|
||||
BLL.Project_SysSetService.UpdateSet(Model_JointNOCompleteColor);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.txtJointNOCompleteColor.Text.Trim()))
|
||||
if (!string.IsNullOrEmpty(this.drpJointNOCompleteColor.SelectedValue.Trim()))
|
||||
{
|
||||
Model.Project_Sys_Set newModel = new Model.Project_Sys_Set()
|
||||
{
|
||||
SetId = SQLHelper.GetNewID(typeof(Model.Project_Sys_Set)),
|
||||
ProjectId = this.CurrUser.LoginProjectId,
|
||||
SetName = "焊口未完成",
|
||||
SetValue = this.txtJointNOCompleteColor.Text.Trim(),
|
||||
SetValue = this.drpJointNOCompleteColor.SelectedValue.Trim(),
|
||||
};
|
||||
|
||||
BLL.Project_SysSetService.AddSet(newModel);
|
||||
@@ -307,23 +307,23 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
if (Model_JointCompleteColor != null)
|
||||
{
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtJointCompleteColor.Text.Trim()))
|
||||
if (!string.IsNullOrEmpty(this.drpJointCompleteColor.SelectedValue.Trim()))
|
||||
{
|
||||
Model_JointCompleteColor.SetValue = this.txtJointCompleteColor.Text.Trim();
|
||||
Model_JointCompleteColor.SetValue = this.drpJointCompleteColor.SelectedValue.Trim();
|
||||
BLL.Project_SysSetService.UpdateSet(Model_JointCompleteColor);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.txtJointCompleteColor.Text.Trim()))
|
||||
if (!string.IsNullOrEmpty(this.drpJointCompleteColor.SelectedValue.Trim()))
|
||||
{
|
||||
Model.Project_Sys_Set newModel = new Model.Project_Sys_Set()
|
||||
{
|
||||
SetId = SQLHelper.GetNewID(typeof(Model.Project_Sys_Set)),
|
||||
ProjectId = this.CurrUser.LoginProjectId,
|
||||
SetName = "焊口已完成",
|
||||
SetValue = this.txtJointCompleteColor.Text.Trim(),
|
||||
SetValue = this.drpJointCompleteColor.SelectedValue.Trim(),
|
||||
};
|
||||
|
||||
BLL.Project_SysSetService.AddSet(newModel);
|
||||
@@ -566,12 +566,12 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
Model.Project_Sys_Set Model_JointNOCompleteColor = BLL.Project_SysSetService.GetSysSetBySetName("焊口未完成", this.CurrUser.LoginProjectId);
|
||||
if (Model_JointNOCompleteColor != null)
|
||||
{
|
||||
this.txtJointNOCompleteColor.Text = Model_JointNOCompleteColor.SetValue;
|
||||
this.drpJointNOCompleteColor.SelectedValue = Model_JointNOCompleteColor.SetValue;
|
||||
}
|
||||
Model.Project_Sys_Set Model_JointCompleteColor = BLL.Project_SysSetService.GetSysSetBySetName("焊口已完成", this.CurrUser.LoginProjectId);
|
||||
if (Model_JointCompleteColor != null)
|
||||
{
|
||||
this.txtJointCompleteColor.Text = Model_JointCompleteColor.SetValue;
|
||||
this.drpJointCompleteColor.SelectedValue = Model_JointCompleteColor.SetValue;
|
||||
}
|
||||
|
||||
///质量页面呈现
|
||||
|
||||
Reference in New Issue
Block a user