1
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownBox runat="server" ID="drpMasterBox1" Label="集团主数据" EmptyText="请从下拉表格中选择集团主数据项目" DataControlID="Grid1"
|
<f:DropDownBox runat="server" ID="drpMasterBox1" Label="集团主数据" EmptyText="请从下拉表格中选择集团主数据项目" DataControlID="Grid1"
|
||||||
EnableMultiSelect="false" MatchFieldWidth="false" ShowRedStar="true" Required="true" AutoPostBack="true" OnTextChanged="MasterData_Changed">
|
EnableMultiSelect="false" MatchFieldWidth="false" ShowRedStar="true" AutoPostBack="true" OnTextChanged="MasterData_Changed">
|
||||||
<PopPanel>
|
<PopPanel>
|
||||||
<f:Panel ID="Panel7" runat="server" BodyPadding="10px" Width="1280px" Height="520px" Hidden="true"
|
<f:Panel ID="Panel7" runat="server" BodyPadding="10px" Width="1280px" Height="520px" Hidden="true"
|
||||||
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||||
|
|||||||
@@ -312,11 +312,11 @@ namespace FineUIPro.Web.ProjectData
|
|||||||
ShowNotify($"已存在关联此主数据的项目:({relatePro.ProjectCode}){relatePro.ProjectName}!", MessageBoxIcon.Warning);
|
ShowNotify($"已存在关联此主数据的项目:({relatePro.ProjectCode}){relatePro.ProjectName}!", MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
ShowNotify($"请选择关联集团主数据项目!", MessageBoxIcon.Warning);
|
// ShowNotify($"请选择关联集团主数据项目!", MessageBoxIcon.Warning);
|
||||||
return ;
|
// return ;
|
||||||
}
|
// }
|
||||||
|
|
||||||
this.SaveData();
|
this.SaveData();
|
||||||
}
|
}
|
||||||
@@ -366,7 +366,7 @@ namespace FineUIPro.Web.ProjectData
|
|||||||
Alert.ShowInTop("项目名称已存在!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("项目名称已存在!", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrWhiteSpace(this.drpMasterBox1.Text))
|
if (!string.IsNullOrWhiteSpace(this.drpMasterBox1.Value))
|
||||||
{
|
{
|
||||||
project.MasterSysId = this.drpMasterBox1.Value;
|
project.MasterSysId = this.drpMasterBox1.Value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user