2023-03-01 合同增加主办部门
This commit is contained in:
@@ -101,7 +101,9 @@
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="dropCountersign_Construction" runat="server" Label="施工管理部" Required="true" AutoSelectFirstItem="false" ShowRedStar="true" AutoPostBack="true" EnableEdit="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
|
||||
<f:DropDownList ID="DropDepart" runat="server" EnableEdit="true" Label="主办部门" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
|
||||
|
||||
<f:DropDownList ID="dropCountersign_Construction" runat="server" Label="主办部门负责人" Required="true" AutoSelectFirstItem="false" ShowRedStar="true" AutoPostBack="true" EnableEdit="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
@@ -140,7 +142,7 @@
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="dropApproval_Construction" runat="server" Label="施工管理部" Required="true" ShowRedStar="true" AutoSelectFirstItem="false" EnableEdit="true" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px"></f:DropDownList>
|
||||
<f:DropDownList ID="dropApproval_Construction" runat="server" Label="部门审批人" Required="true" ShowRedStar="true" AutoSelectFirstItem="false" EnableEdit="true" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px"></f:DropDownList>
|
||||
<f:DropDownList ID="DropGeneralAccountant" runat="server" Label="总会计师" Required="true" Hidden="true" ShowRedStar="true" AutoSelectFirstItem="false" AutoPostBack="true" EnableEdit="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
@@ -33,6 +33,8 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
dropApproval_Construction.Label = "劳务管理组";
|
||||
DropProjectManager2.Label = "运营管理部";
|
||||
}
|
||||
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
|
||||
|
||||
#region 会签下拉框
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropConstructionManager, null, Const.UnitId_SEDIN, null, true);//施工经理
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropPurchasingManager, null, Const.UnitId_SEDIN, null, true);//采购经理
|
||||
@@ -151,6 +153,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
DropGeneralManager.SelectedValue = Convert.ToString(newmodel.Approval_GeneralManager);
|
||||
DropGeneral_Law.SelectedValue = Convert.ToString(newmodel.Approval_GeneralLaw);
|
||||
DropChairman.SelectedValue = Convert.ToString(newmodel.Approval_Chairman);
|
||||
DropDepart.SelectedValue = Convert.ToString(newmodel.DepartId);
|
||||
// DropProjectManager_SelectedIndexChanged(null, null);
|
||||
Model.PHTGL_Contract table = BLL.ContractService.GetContractById(this.drpProjectId.Value);
|
||||
txtContractNum.Text = BLL.ContractService.GetContractByProjectId(table.ProjectId).ContractNum;
|
||||
@@ -215,6 +218,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
newmodel.Approval_GeneralLaw = DropGeneral_Law.SelectedValue;
|
||||
newmodel.CreateUser = this.CurrUser.PersonId;
|
||||
newmodel.Idea = txtIdea.Text;
|
||||
newmodel.DepartId = DropDepart.SelectedValue;
|
||||
if (ContractReviewId == null)
|
||||
{
|
||||
newmodel.ContractReviewId = SQLHelper.GetNewID(typeof(Model.PHTGL_ContractReview));
|
||||
|
||||
@@ -149,6 +149,15 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropProjectManager;
|
||||
|
||||
/// <summary>
|
||||
/// DropDepart 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropDepart;
|
||||
|
||||
/// <summary>
|
||||
/// dropCountersign_Construction 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user