1
This commit is contained in:
@@ -52,7 +52,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideRefreshReference();
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.ContractService.InitCompletedContractsDropDownList(this.ProjectId,this.drpContractNum);
|
||||
//BLL.ContractService.InitCompletedContractsDropDownList(this.ProjectId,this.drpContractNum);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, false);
|
||||
this.CostManageId = Request.Params["CostManageId"] ?? SQLHelper.GetNewID();
|
||||
var costManage = BLL.CostManageService.GetCostManageById(this.CostManageId);
|
||||
@@ -68,7 +68,8 @@ namespace FineUIPro.Web.HSSE.CostGoods
|
||||
{
|
||||
this.drpUnit.SelectedValue = costManage.UnitId;
|
||||
}
|
||||
this.drpContractNum.SelectedValue = costManage.ContractNum;
|
||||
//this.drpContractNum.SelectedValue = costManage.ContractNum;
|
||||
this.txtContractNum.Text = costManage.ContractNum;
|
||||
this.txtCostManageDate.Text = string.Format("{0:yyyy-MM-dd}", costManage.CostManageDate);
|
||||
|
||||
}
|
||||
@@ -303,7 +304,8 @@ namespace FineUIPro.Web.HSSE.CostGoods
|
||||
{
|
||||
ProjectId = this.ProjectId,
|
||||
UnitId = this.drpUnit.SelectedValue == Const._Null ? null : this.drpUnit.SelectedValue,
|
||||
ContractNum = this.drpContractNum.SelectedValue,
|
||||
//ContractNum = this.drpContractNum.SelectedValue,
|
||||
ContractNum = this.txtContractNum.Text.Trim(),
|
||||
CostManageDate = Funs.GetNewDateTime(this.txtCostManageDate.Text.Trim()),
|
||||
States = BLL.Const.State_0,
|
||||
CompileMan = this.CurrUser.PersonId,
|
||||
|
||||
Reference in New Issue
Block a user