This commit is contained in:
geh
2026-06-09 16:49:28 +08:00
parent 2e82ae66a4
commit eb3003bc21
2 changed files with 7 additions and 7 deletions
@@ -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;
} }