2023-03-21

This commit is contained in:
2023-03-21 10:21:07 +08:00
parent 1b564e74ea
commit e4f889fa7a
10 changed files with 300 additions and 183 deletions
@@ -36,7 +36,7 @@ namespace FineUIPro.Web.PHTGL.Filing
if (!IsPostBack)
{
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
// btnNew.OnClientClick = Window1.GetShowReference("ContractFormationEdit.aspx", "基本信息") + "return false;";
btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEdit.aspx", "基本信息") + "return false;";
BLL.DepartService.InitDepartDropDownList(this.drpDepartId, false);
GetButtonPower();
@@ -62,7 +62,63 @@ namespace FineUIPro.Web.PHTGL.Filing
/// </summary>
private void BindGrid()
{
string strSql = @"select
BidBook.BidDocumentsStandingBookId
,ActPlan.EPCCode
,Project.ShortName
,Project.ProjectCode
,(case IsOnLine
when '1' then '线上'
when '0'then '线下' end )as IsOnLine
,BidDoc.BidType
,ActPlan.ActionPlanCode
,BidDoc.BidDocumentsCode
,ActPlan.BidProject
,BidBook.ShortListApprovalCode
,BidBook.ProposedInviter
,BidDoc.Bidding_SendTime
,BidDoc.Bidding_StartTime
,BidBook.ApprovePersonFormCode
,BidBook.BidWinner
,SetSub.SetSubReviewCode
from PHTGL_BidDocumentsStandingBook as BidBook
left join PHTGL_SetSubReview as SetSub on SetSub.SetSubReviewCode=BidBook.SetSubReviewCode
left join PHTGL_BidApproveUserReview as BidUser on BidUser.ApproveUserReviewID =SetSub.ApproveUserReviewID
left join PHTGL_BidDocumentsReview as BidDoc on BidDoc.BidDocumentsReviewId= BidUser.BidDocumentsReviewId
left join PHTGL_ActionPlanFormation as ActPlan on ActPlan.ActionPlanID =BidDoc.ActionPlanID
left join Base_Project as Project on Project.ProjectId=ActPlan.ProjectID where 1=1 ";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!(this.CurrUser.PersonId == Const.sysglyId || this.CurrUser.PersonId == Const.hfnbdId))
{
strSql += " and ActPlan.ProjectId =@ProjectId";
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
}
if (!string.IsNullOrEmpty(drpDepartId.SelectedValue) )
{
}
if (!string.IsNullOrEmpty(txtProjectCode.Text))
{
}
if (!string.IsNullOrEmpty(txtShortName.Text))
{
}
if (!string.IsNullOrEmpty(txtContractNum.Text))
{
}
if (!string.IsNullOrEmpty(txtContractName.Text))
{
}
}
#endregion
@@ -257,7 +313,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{
if (buttonList.Contains(Const.BtnAdd))
{
//btnNew.Hidden = false;
btnNew.Hidden = false;
}
if (buttonList.Contains(Const.BtnModify))
{