2023-10-25

This commit is contained in:
2023-10-25 19:44:10 +08:00
parent 127146e24a
commit fa939f60d3
66 changed files with 522 additions and 636 deletions
@@ -42,7 +42,7 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList runat="server" ID="drpUnit" Label="施工单位" LabelWidth="150px" ShowRedStar="true"></f:DropDownList>
<f:DropDownList runat="server" ID="drpUnit" Label="施工单位" LabelWidth="150px" ShowRedStar="true" EnableCheckBoxSelect="True"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
@@ -56,7 +56,7 @@ namespace FineUIPro.Web.ProjectData
}
if (!string.IsNullOrEmpty(UnitWork.UnitId))
{
this.drpUnit.SelectedValue = UnitWork.UnitId;
this.drpUnit.SelectedValueArray = UnitWork.UnitId.Split(',');
}
if (!string.IsNullOrEmpty(UnitWork.SupervisorUnitId))
{
@@ -101,7 +101,7 @@ namespace FineUIPro.Web.ProjectData
UnitWork.UnitWorkName = this.txtUnitWorkName.Text.Trim();
if (this.drpUnit.SelectedValue != BLL.Const._Null)
{
UnitWork.UnitId = this.drpUnit.SelectedValue;
UnitWork.UnitId =string.Join(",", this.drpUnit.SelectedValueArray) ;
}
else
{
@@ -38,7 +38,7 @@ namespace FineUIPro.Web.ProjectData
}
if (!string.IsNullOrEmpty(UnitWork.UnitId))
{
this.txtUnit.Text = UnitService.GetUnitNameByUnitId(UnitWork.UnitId);
this.txtUnit.Text = UnitService.getUnitNamesUnitIds(UnitWork.UnitId);
}
if (!string.IsNullOrEmpty(UnitWork.SupervisorUnitId))
{