This commit is contained in:
2025-07-15 10:35:23 +08:00
parent 26c74aa8b3
commit 060acdf073
9 changed files with 76 additions and 70 deletions
@@ -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,