This commit is contained in:
2025-03-13 18:17:12 +08:00
parent 8c1cb170b2
commit 521a626865
7 changed files with 32 additions and 38 deletions
@@ -46,7 +46,7 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="DropQuestionTypeID" runat="server" Label="紧急程度" MaxLength="50" LabelWidth="110px" EnableCheckBoxSelect="true" EnableMultiSelect="true">
<f:DropDownList ID="DropQuestionTypeID" runat="server" Label="紧急程度" MaxLength="50" LabelWidth="110px" EnableCheckBoxSelect="false" EnableMultiSelect="false">
</f:DropDownList>
<f:DropDownList ID="DropGJSXTypeID" runat="server" Label="事项类别" MaxLength="50" LabelWidth="110px" EnableCheckBoxSelect="true" EnableMultiSelect="true">
</f:DropDownList>
@@ -54,13 +54,13 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="DropUser_Acceptance" runat="server" Label="责任人" MaxLength="50" LabelWidth="110px"
<f:DropDownList ID="DropUser_Acceptance" runat="server" Label="责任人" EmptyText="支持模糊匹配" AutoSelectFirstItem="false" Required="true" ShowRedStar="true" MaxLength="50" LabelWidth="110px"
EnableCheckBoxSelect="true" EnableEdit="true">
</f:DropDownList>
<f:DatePicker ID="Date_CompleteDate" runat="server" Label="要求完成日期" ShowRedStar="true"
LabelWidth="110px">
</f:DatePicker>
<f:DropDownList ID="DropUser_ReceiveID" runat="server" Label="跟踪人" MaxLength="50" LabelWidth="110px"
<f:DropDownList ID="DropUser_ReceiveID" runat="server" Label="跟踪人" EmptyText="支持模糊匹配" AutoSelectFirstItem="false" Required="true" ShowRedStar="true" MaxLength="50" LabelWidth="110px"
EnableCheckBoxSelect="true" EnableEdit="true"
OnSelectedIndexChanged="DropUser_ReceiveID_TextChanged" AutoPostBack="true">
</f:DropDownList>
@@ -90,12 +90,12 @@ namespace FineUIPro.Web.PZHGL.GJSX
Alert.ShowInParent("事项类别!", MessageBoxIcon.Warning);
return;
}
if (this.DropUser_Acceptance.SelectedValue == Const._Null)
if (this.DropUser_Acceptance.SelectedValue == null || this.DropUser_Acceptance.SelectedValue == Const._Null)
{
Alert.ShowInParent("请选择责任人!", MessageBoxIcon.Warning);
return;
}
if (this.DropUser_ReceiveID.SelectedValue == Const._Null)
if (this.DropUser_ReceiveID.SelectedValue == null || this.DropUser_ReceiveID.SelectedValue == Const._Null)
{
Alert.ShowInParent("请选择跟踪人!", MessageBoxIcon.Warning);
return;
@@ -818,12 +818,12 @@ namespace FineUIPro.Web.PZHGL.GJSX
Alert.ShowInParent("事项类别!", MessageBoxIcon.Warning);
return;
}
if (this.DropUser_Acceptance.SelectedValue == Const._Null)
if (this.DropUser_Acceptance.SelectedValue == null || this.DropUser_Acceptance.SelectedValue == Const._Null)
{
Alert.ShowInParent("请选择责任人!", MessageBoxIcon.Warning);
return;
}
if (this.DropUser_ReceiveID.SelectedValue == Const._Null)
if (this.DropUser_ReceiveID.SelectedValue == null || this.DropUser_ReceiveID.SelectedValue == Const._Null)
{
Alert.ShowInParent("请选择跟踪人!", MessageBoxIcon.Warning);
return;
@@ -886,7 +886,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
}
else
{
var gjsx = BLL.GJSXService.GetGJSXById(txtGJSXID.Text);
if (gjsx.User_Acceptance.Contains(this.CurrUser.UserId))
{//责任人的时候保存关键事项
@@ -1014,12 +1014,12 @@ namespace FineUIPro.Web.PZHGL.GJSX
Alert.ShowInParent("事项类别!", MessageBoxIcon.Warning);
return;
}
if (this.DropUser_Acceptance.SelectedValue == Const._Null)
if (this.DropUser_Acceptance.SelectedValue == null || this.DropUser_Acceptance.SelectedValue == Const._Null)
{
Alert.ShowInParent("请选择责任人!", MessageBoxIcon.Warning);
return;
}
if (this.DropUser_ReceiveID.SelectedValue == Const._Null)
if (this.DropUser_ReceiveID.SelectedValue == null || this.DropUser_ReceiveID.SelectedValue == Const._Null)
{
Alert.ShowInParent("请选择跟踪人!", MessageBoxIcon.Warning);
return;