2023-03-30-001 招标工作台账修改

This commit is contained in:
2023-03-30 14:04:56 +08:00
parent a9adb783f3
commit 70bde21f2a
9 changed files with 858 additions and 28 deletions
@@ -56,7 +56,7 @@ namespace FineUIPro.Web.PHTGL.Filing
GetButtonPower();
if (Type=="1")
{
btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEdit.aspx?Type=1", "基本信息") + "return false;";
btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEditProject.aspx", "基本信息") + "return false;";
this.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId)
{
@@ -94,17 +94,21 @@ namespace FineUIPro.Web.PHTGL.Filing
}
if (!string.IsNullOrEmpty(txtProjectCode.Text))
if (dropState.SelectedValue!=Const._Null)
{
_BidDocumentsStandingBook.ProjectCode= txtProjectCode.Text;
_BidDocumentsStandingBook.State = Funs.GetNewInt(dropState.SelectedValue) ;
}
if (!string.IsNullOrEmpty(txtEPCCode.Text))
{
_BidDocumentsStandingBook.EPCCode= txtEPCCode.Text;
}
if (!string.IsNullOrEmpty(txtShortName.Text))
{
_BidDocumentsStandingBook.ProjectShortName= txtShortName.Text;
}
if (!string.IsNullOrEmpty(txtContractNum.Text))
if (!string.IsNullOrEmpty(txtProjectCode.Text))
{
_BidDocumentsStandingBook.EPCCode= txtContractNum.Text;
_BidDocumentsStandingBook.ProjectCode= txtProjectCode.Text;
}
var q= BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookByModle(_BidDocumentsStandingBook);
@@ -175,8 +179,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{
txtProjectCode.Text = string.Empty;
txtShortName.Text = string.Empty;
txtContractNum.Text = string.Empty;
txtContractName.Text = string.Empty;
txtEPCCode.Text = string.Empty;
//txtSubConstruction.Text = string.Empty;
}
@@ -217,7 +220,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{
if (Type=="1")
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEdit.aspx?BidDocumentsStandingBookId={0}?Type=1", id, "编辑 - ")));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEditProject.aspx?BidDocumentsStandingBookId={0}", id, "编辑 - ")));
}
else