代码无效引用清理,试压包资料界面看板修改

This commit is contained in:
2025-10-10 14:33:21 +08:00
parent 87fb529521
commit 55b798135c
933 changed files with 5897 additions and 7541 deletions
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.PHTGL.BiddingManagement;
using System;
using System.Collections.Generic;
using System.Data;
@@ -135,7 +134,7 @@ namespace FineUIPro.Web.PHTGL.Filing
//ActionPlanFormation actionPlanFormation = new ActionPlanFormation();
var Act = BLL.PHTGL_ActionPlanReviewService.GetPHTGL_ActionPlanReviewById(fileId);
//actionPlanFormation.Print(Act.ActionPlanID);
BLL.PHTGL_ActionPlanFormationService.PrintFile( Act.ActionPlanID);
BLL.PHTGL_ActionPlanFormationService.PrintFile(Act.ActionPlanID);
return;
}
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.PHTGL.BiddingManagement;
using System;
using System.Collections.Generic;
using System.Data;
@@ -105,7 +104,7 @@ namespace FineUIPro.Web.PHTGL.Filing
}
if (e.CommandName == "export")
{
BLL.PHTGL_BidApproveUserReviewService.PrintFile( fileId);
BLL.PHTGL_BidApproveUserReviewService.PrintFile(fileId);
//ApproveUserReview approveUserReview = new ApproveUserReview();
//approveUserReview.Print(fileId);
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.PHTGL.BiddingManagement;
using System;
using System.Collections.Generic;
using System.Data;
@@ -1,10 +1,6 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web.UI.DataVisualization.Charting;
namespace FineUIPro.Web.PHTGL.Filing
{
@@ -54,7 +50,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BLL.DepartService.InitDepartDropDownList(this.drpDepartId, false);
Type = Request.Params["Type"];
GetButtonPower();
if (Type=="1")
if (Type == "1")
{
btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEditProject.aspx", "基本信息") + "return false;";
this.ProjectId = this.CurrUser.LoginProjectId;
@@ -68,7 +64,7 @@ namespace FineUIPro.Web.PHTGL.Filing
btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEdit.aspx", "基本信息") + "return false;";
}
BindGrid();
}
@@ -81,7 +77,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{
Model.PHTGL_BidDocumentsStandingBook _BidDocumentsStandingBook = new Model.PHTGL_BidDocumentsStandingBook();
if (Type=="1")
if (Type == "1")
{
if (!(this.CurrUser.PersonId == Const.sysglyId || this.CurrUser.PersonId == Const.hfnbdId))
{
@@ -108,26 +104,26 @@ namespace FineUIPro.Web.PHTGL.Filing
}
}
if (dropState.SelectedValue!=Const._Null)
if (dropState.SelectedValue != Const._Null)
{
_BidDocumentsStandingBook.State = Funs.GetNewInt(dropState.SelectedValue) ;
_BidDocumentsStandingBook.State = Funs.GetNewInt(dropState.SelectedValue);
}
if (!string.IsNullOrEmpty(txtEPCCode.Text))
{
_BidDocumentsStandingBook.EPCCode= txtEPCCode.Text;
_BidDocumentsStandingBook.EPCCode = txtEPCCode.Text;
}
if (!string.IsNullOrEmpty(txtShortName.Text))
{
_BidDocumentsStandingBook.ProjectShortName= txtShortName.Text;
_BidDocumentsStandingBook.ProjectShortName = txtShortName.Text;
}
if (!string.IsNullOrEmpty(txtProjectCode.Text))
{
_BidDocumentsStandingBook.ProjectCode= txtProjectCode.Text;
_BidDocumentsStandingBook.ProjectCode = txtProjectCode.Text;
}
var q= BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookByModle(_BidDocumentsStandingBook);
var q = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookByModle(_BidDocumentsStandingBook);
Grid1.RecordCount = q.Count;
Grid1.DataSource=q;
Grid1.DataSource = q;
Grid1.DataBind();
}
@@ -229,10 +225,10 @@ namespace FineUIPro.Web.PHTGL.Filing
return;
}
string id = Grid1.SelectedRowID;
var model=BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(id);
var model = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(id);
if (model != null)
{
if (Type=="1")
if (Type == "1")
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEditProject.aspx?BidDocumentsStandingBookId={0}", id, "编辑 - ")));
@@ -413,7 +409,7 @@ namespace FineUIPro.Web.PHTGL.Filing
protected void btnImport_Click(object sender, EventArgs e)
{
if (Type=="1")
if (Type == "1")
{
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("BidDocumentsStandingBookIn.aspx?Type=1", "导入 - ")));
@@ -428,8 +424,8 @@ namespace FineUIPro.Web.PHTGL.Filing
public string ConvertState(object State)
{
string StateName = string.Empty;
if (State!=null&&!string.IsNullOrEmpty(State.ToString()))
{
if (State != null && !string.IsNullOrEmpty(State.ToString()))
{
switch (State.ToString())
{
case "0":
@@ -465,10 +461,10 @@ namespace FineUIPro.Web.PHTGL.Filing
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
if (this.judgementDelete(rowID, isShow))
{
var p = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(rowID);
var p = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(rowID);
if (p != null)
{
if (p.State==1)
if (p.State == 1)
{
ShowNotify(message: "已提交,删除失败!", MessageBoxIcon.Error);
return;
@@ -482,7 +478,7 @@ namespace FineUIPro.Web.PHTGL.Filing
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidDocuments", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ApprovePersonForm", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-SetSubReview", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID +"-ShortListApproval", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ShortListApproval", Const.ProjectBidDocumentsStandingBookMenuId);
}
}
}
@@ -1,16 +1,9 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using FineUIPro.Web.PHTGL.BiddingManagement;
namespace FineUIPro.Web.PHTGL.Filing
{
public partial class BidDocumentsStandingBookEdit: PageBase
public partial class BidDocumentsStandingBookEdit : PageBase
{
#region
/// <summary>
@@ -72,8 +65,8 @@ namespace FineUIPro.Web.PHTGL.Filing
this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode;
this.txtBidWinner.Text = model.BidWinner;
this.txtSetSubReviewCode.Text = model.SetSubReviewCode;
this.txtBidNoticeCode.Text=model.BidNoticeCode;
this.txtBidUnitFileCode.Text = model.BidUnitFileCode;
this.txtBidNoticeCode.Text = model.BidNoticeCode;
this.txtBidUnitFileCode.Text = model.BidUnitFileCode;
}
}
}
@@ -89,7 +82,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{
Model.PHTGL_BidDocumentsStandingBook table = new Model.PHTGL_BidDocumentsStandingBook();
table.UnitId = this.CurrUser.UnitId;
table.DepartId=this.CurrUser.DepartId;
table.DepartId = this.CurrUser.DepartId;
table.EPCCode = this.txtEPCCode.Text;
table.ProjectShortName = this.txtProjectShortName.Text;
table.ProjectCode = this.txtProjectCode.Text;
@@ -104,10 +97,10 @@ namespace FineUIPro.Web.PHTGL.Filing
table.Bidding_StartTime = this.txtBidding_StartTime.Text;
table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text;
table.BidWinner = this.txtBidWinner.Text;
table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
table.State = 0;
table.BidNoticeCode=this.txtBidNoticeCode.Text;
table.BidUnitFileCode=this.txtBidUnitFileCode.Text;
table.BidNoticeCode = this.txtBidNoticeCode.Text;
table.BidUnitFileCode = this.txtBidUnitFileCode.Text;
if (Type == "1")
{
table.ProjectId = this.CurrUser.LoginProjectId;
@@ -238,13 +231,13 @@ namespace FineUIPro.Web.PHTGL.Filing
/// <returns></returns>
private void GetButtonPower()
{
if (!string .IsNullOrEmpty(BidDocumentsStandingBookId))
if (!string.IsNullOrEmpty(BidDocumentsStandingBookId))
{
var q = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(BidDocumentsStandingBookId);
if (q != null&& q.State==1)
if (q != null && q.State == 1)
{
btnSave.Hidden = true;
btnSubmit.Hidden=true;
btnSubmit.Hidden = true;
}
}
}
@@ -263,7 +256,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId+ "-BidUnit", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
this.BidDocumentsStandingBookId + "-BidUnit", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
}
/// <summary>
/// 中标通知书
@@ -277,7 +270,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId+ "-BidNotice", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
this.BidDocumentsStandingBookId + "-BidNotice", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
}
/// <summary>
/// 实施计划文件
@@ -382,6 +375,6 @@ namespace FineUIPro.Web.PHTGL.Filing
// //this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode;
// }
}
}
@@ -1,10 +1,5 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.PHTGL.Filing
{
@@ -1,12 +1,8 @@
using BLL;
using FineUIPro.Web.HJGL.WeldingManage;
using MiniExcelLibs;
using Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.IO;
using System.Linq;
@@ -106,7 +102,7 @@ namespace FineUIPro.Web.PHTGL.Filing
string filePath = initFullPath + this.hdFileName.Text;
this.fuAttachUrl.PostedFile.SaveAs(filePath);
ImportXlsToData(rootPath + initPath + this.hdFileName.Text);
if (string.IsNullOrEmpty(errorInfos))
{
if (!string.IsNullOrEmpty(this.hdFileName.Text))
@@ -202,7 +198,7 @@ namespace FineUIPro.Web.PHTGL.Filing
_BidDocumentsStandingBook.State = 0;
_BidDocumentsStandingBook.UnitId = this.CurrUser.UnitId;
_BidDocumentsStandingBook.DepartId = this.CurrUser.DepartId;
if (Type=="1")
if (Type == "1")
{
_BidDocumentsStandingBook.ProjectId = this.CurrUser.LoginProjectId;
}
@@ -221,12 +217,12 @@ namespace FineUIPro.Web.PHTGL.Filing
_BidDocumentsStandingBook.ApprovePersonFormCode = pds[i].M;
_BidDocumentsStandingBook.BidWinner = pds[i].N;
_BidDocumentsStandingBook.SetSubReviewCode = pds[i].O;
_BidDocumentsStandingBook.BidNoticeCode= pds[i].P;
_BidDocumentsStandingBook.BidUnitFileCode= pds[i].Q;
BidDocStandingBookList.Add(_BidDocumentsStandingBook);
_BidDocumentsStandingBook.BidNoticeCode = pds[i].P;
_BidDocumentsStandingBook.BidUnitFileCode = pds[i].Q;
BidDocStandingBookList.Add(_BidDocumentsStandingBook);
//if (col24 != null)
//{
//if (col24 != null)
//{
//}
//else
@@ -1,12 +1,7 @@
using BLL;
using FineUIPro.Web.PHTGL.ContractCompile;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.PHTGL.Filing
@@ -37,10 +32,10 @@ namespace FineUIPro.Web.PHTGL.Filing
/// </summary>
private void BindGrid()
{
var model = new Model.PHTGL_ContractStandingBook();
var model = new Model.PHTGL_ContractStandingBook();
var RoleIds = this.CurrUser.RoleIds;
if (this.CurrUser.PersonId == Const.hfnbdId || this.CurrUser.PersonId == Const.sysglyId)
{
@@ -56,15 +51,15 @@ namespace FineUIPro.Web.PHTGL.Filing
else if (RoleIds.Contains(Const.SedinHTGLDepartManager) && !string.IsNullOrEmpty(RoleIds))
{
model.UnitId = this.CurrUser.UnitId;
model.DepartId= this.CurrUser.DepartId;
model.DepartId = this.CurrUser.DepartId;
}
else
{
model.UnitId = "normal";
}
if (!string.IsNullOrEmpty(txtContractName.Text.Trim()))
{
model.ContractName = txtContractName.Text.Trim();
@@ -73,11 +68,11 @@ namespace FineUIPro.Web.PHTGL.Filing
{
model.States = Funs.GetNewInt(dropState.SelectedValue);
}
var list= BLL.ContractStandingBookService.GetPHTGL_ContractStandingBookByModle( model);
var list = BLL.ContractStandingBookService.GetPHTGL_ContractStandingBookByModle(model);
//var list= BLL.ContractStandingBookService.getListData( model, Grid1);
if (drpDepartId.SelectedValue != Const._Null)
{
list=list.Where(d => d.DepartId==drpDepartId.SelectedValue). ToList();
list = list.Where(d => d.DepartId == drpDepartId.SelectedValue).ToList();
}
Grid1.RecordCount = list.Count;
var table = this.GetPagedDataTable(Grid1, list);
@@ -182,8 +177,8 @@ namespace FineUIPro.Web.PHTGL.Filing
dropState.SelectedValue = Const._Null;
//txtSubConstruction.Text = string.Empty;
}
/// <summary>
/// 状态
/// </summary>
@@ -290,13 +285,13 @@ namespace FineUIPro.Web.PHTGL.Filing
}
// BLL.LogService.AddSys_Log(this.CurrUser, p.ContractName, p.ContractId, BLL.Const.ContractMenuId, BLL.Const.BtnDelete);
BLL.ContractStandingBookService.DeleteContractById(rowID);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID , Const.ContractStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidNotice", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ActionPlan", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidDocuments", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ApprovePersonForm", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-SetSubReview", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ShortListApproval", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID, Const.ContractStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidNotice", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ActionPlan", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidDocuments", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ApprovePersonForm", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-SetSubReview", Const.ProjectBidDocumentsStandingBookMenuId);
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ShortListApproval", Const.ProjectBidDocumentsStandingBookMenuId);
}
}
}
@@ -1,15 +1,6 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FineUIPro.Web.PHTGL.ContractCompile;
namespace FineUIPro.Web.PHTGL.Filing
{
@@ -43,8 +34,8 @@ namespace FineUIPro.Web.PHTGL.Filing
ViewState["ContractId"] = value;
}
}
public bool IsCreate
{
@@ -90,7 +81,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{
Model.PHTGL_ContractStandingBook contract = BLL.ContractStandingBookService.GetContractById(contractId);
if (contract != null)
{
{
txtEPCCode.Text = contract.EPCCode;
txtContractAttribute.Text = contract.ContractAttribute;
@@ -100,7 +91,7 @@ namespace FineUIPro.Web.PHTGL.Filing
this.txtProjectCode.Text = contract.ProjectCode;
this.txtParties.Text = contract.Parties;
this.txtBuildUnit.Text = contract.BuildUnit;
this.txtCurrency.Text= contract.Currency;
this.txtCurrency.Text = contract.Currency;
txtOpeningBank_TT.Text = contract.OpeningBank_TT;
txtOpeningBank_Electrophore.Text = contract.OpeningBank_Electrophore;
txtBankAccount_TT.Text = contract.BankAccount_TT;
@@ -123,12 +114,12 @@ namespace FineUIPro.Web.PHTGL.Filing
txtIsItACentralizedPurchaseSupplier.Text = contract.IsItACentralizedPurchaseSupplier;
this.txtAgent.Text = contract.Agent;
this.txtContractType.Text = contract.ContractType;
this.txtConfirmWay.Text= contract.ConfirmWay;
this.txtDepart.Text=BLL.DepartService.getDepartNameById(contract.DepartId);
this.txtConfirmWay.Text = contract.ConfirmWay;
this.txtDepart.Text = BLL.DepartService.getDepartNameById(contract.DepartId);
this.txtContractAmount.Text = contract.ContractAmount;
}
}
else
{
@@ -157,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{
ContractId = Guid.NewGuid().ToString();
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ContractStandingBook&menuId={1}", this.ContractId+"-1", BLL.Const.ContractStandingBookMenuId)));
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ContractStandingBook&menuId={1}", this.ContractId + "-1", BLL.Const.ContractStandingBookMenuId)));
}
#endregion
@@ -205,9 +196,9 @@ namespace FineUIPro.Web.PHTGL.Filing
contract.ContractType = this.txtContractType.Text;
contract.ConfirmWay = this.txtConfirmWay.Text;
contract.DepartId = this.CurrUser.DepartId;
contract.ContractAmount = this.txtContractAmount.Text;
if (Type==Const.BtnSubmit)
if (Type == Const.BtnSubmit)
{
contract.States = 1;
@@ -258,7 +249,7 @@ namespace FineUIPro.Web.PHTGL.Filing
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (!BLL.AttachFileService.Getfile(ContractId , BLL.Const.ContractStandingBookMenuId))
if (!BLL.AttachFileService.Getfile(ContractId, BLL.Const.ContractStandingBookMenuId))
{
ShowNotify("未上传合同签字盖章扫描版文件,无法提交!", MessageBoxIcon.Warning);
return;
@@ -5,8 +5,6 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.PHTGL.Filing
@@ -203,40 +201,40 @@ namespace FineUIPro.Web.PHTGL.Filing
_ContractStandingBook.DepartId = this.CurrUser.DepartId;
_ContractStandingBook.Agent = this.CurrUser.PersonName;
_ContractStandingBook.CreatUser = this.CurrUser.PersonId;
_ContractStandingBook.CreateDate = DateTime.Now.ToString() ;
_ContractStandingBook.CreateDate = DateTime.Now.ToString();
if (Type == "1")
{
_ContractStandingBook.ProjectId = this.CurrUser.LoginProjectId;
}
_ContractStandingBook.ContractName = item.ContractName;
_ContractStandingBook.ContractNum= item.ContractNum;
_ContractStandingBook.ProjectName= item.ProjectName;
_ContractStandingBook.ProjectCode= item.ProjectCode;
_ContractStandingBook.Parties= item.Parties;
_ContractStandingBook.Currency= item.Currency;
_ContractStandingBook.ContractAmount= item.ContractAmount;
_ContractStandingBook.ContractType= item.ContractType;
_ContractStandingBook.EPCCode= item.EPCCode;
_ContractStandingBook.ContractAttribute= item.ContractAttribute;
_ContractStandingBook.ContractNum = item.ContractNum;
_ContractStandingBook.ProjectName = item.ProjectName;
_ContractStandingBook.ProjectCode = item.ProjectCode;
_ContractStandingBook.Parties = item.Parties;
_ContractStandingBook.Currency = item.Currency;
_ContractStandingBook.ContractAmount = item.ContractAmount;
_ContractStandingBook.ContractType = item.ContractType;
_ContractStandingBook.EPCCode = item.EPCCode;
_ContractStandingBook.ContractAttribute = item.ContractAttribute;
_ContractStandingBook.OpeningBank_TT = item.OpeningBankTT;
_ContractStandingBook.OpeningBank_Electrophore = item.OpeningBankelectrophore;
_ContractStandingBook.BankAccount_TT = item.BankAccountTT;
_ContractStandingBook.BankAccount_Electrophore = item.BankAccountelectrophore;
_ContractStandingBook.LineNumber_Electrophore = item.LineNumberelectrophore;
_ContractStandingBook.Retentionmoney= item.Retentionmoney;
_ContractStandingBook.Status= item.Status;
_ContractStandingBook.ContactUnitOfPartyA= item.ContactUnitOfPartyA;
_ContractStandingBook.ContactPersonOfPartyA= item.ContactPersonOfPartyA;
_ContractStandingBook.ContactPersonOfPartyB= item.ContactPersonOfPartyB;
_ContractStandingBook.ContactPersonPhoneOfPartyB= item.ContactPersonPhoneOfPartyB;
_ContractStandingBook.ContactPersonEmailOfPartyB= item.ContactPersonEmailOfPartyB;
_ContractStandingBook.ContractAmountExcludingTax= item.ContractAmountExcludingTax;
_ContractStandingBook.PriceMethod= item.PriceMethod;
_ContractStandingBook.SignedOnDate= item.SignedOnDate;
_ContractStandingBook.ContractStartDate= item.ContractStartDate;
_ContractStandingBook.ContractEndDate= item.ContractEndDate;
_ContractStandingBook.PricingBasis= item.PricingBasis;
_ContractStandingBook.SubcontractingMethod= item.SubcontractingMethod;
_ContractStandingBook.Retentionmoney = item.Retentionmoney;
_ContractStandingBook.Status = item.Status;
_ContractStandingBook.ContactUnitOfPartyA = item.ContactUnitOfPartyA;
_ContractStandingBook.ContactPersonOfPartyA = item.ContactPersonOfPartyA;
_ContractStandingBook.ContactPersonOfPartyB = item.ContactPersonOfPartyB;
_ContractStandingBook.ContactPersonPhoneOfPartyB = item.ContactPersonPhoneOfPartyB;
_ContractStandingBook.ContactPersonEmailOfPartyB = item.ContactPersonEmailOfPartyB;
_ContractStandingBook.ContractAmountExcludingTax = item.ContractAmountExcludingTax;
_ContractStandingBook.PriceMethod = item.PriceMethod;
_ContractStandingBook.SignedOnDate = item.SignedOnDate;
_ContractStandingBook.ContractStartDate = item.ContractStartDate;
_ContractStandingBook.ContractEndDate = item.ContractEndDate;
_ContractStandingBook.PricingBasis = item.PricingBasis;
_ContractStandingBook.SubcontractingMethod = item.SubcontractingMethod;
_ContractStandingBook.IsItACentralizedPurchaseSupplier = item.IsItACentralizedPurchaseSupplier;
ContractStandingBookList.Add(_ContractStandingBook);
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.PHTGL.BiddingManagement;
using System;
using System.Collections.Generic;
using System.Data;
@@ -112,7 +111,7 @@ namespace FineUIPro.Web.PHTGL.Filing
strSql += " AND Con.ContractName LIKE @ContractName";
listStr.Add(new SqlParameter("@ContractName", "%" + this.txtContractName.Text.Trim() + "%"));
}
if (! string .IsNullOrEmpty(drpDepartId.SelectedValue))
if (!string.IsNullOrEmpty(drpDepartId.SelectedValue))
{
strSql += " AND Con.DepartId = @DepartId";
listStr.Add(new SqlParameter("@DepartId", drpDepartId.SelectedValue));
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.PHTGL.BiddingManagement;
using System;
using System.Collections.Generic;
using System.Data;