1
This commit is contained in:
@@ -141,11 +141,11 @@ namespace BLL
|
||||
/// </summary>
|
||||
/// <param name="dropName"></param>
|
||||
/// <param name="isShowPlease"></param>
|
||||
public static void InitGetBidCompleteDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
|
||||
public static void InitGetBidCompleteDropDownList(FineUIPro.DropDownList dropName,string projectid, bool isShowPlease)
|
||||
{
|
||||
dropName.DataValueField = "BidDocumentsReviewId";
|
||||
dropName.DataTextField = "BidDocumentsCode";
|
||||
dropName.DataSource = GetCompleteBidDocument();
|
||||
dropName.DataSource = GetCompleteBidDocument(projectid);
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
@@ -153,10 +153,10 @@ namespace BLL
|
||||
}
|
||||
}
|
||||
|
||||
public static List<Model.PHTGL_BidDocumentsReview> GetCompleteBidDocument()
|
||||
public static List<Model.PHTGL_BidDocumentsReview> GetCompleteBidDocument(string projectid)
|
||||
{
|
||||
var list = (from x in Funs.DB.PHTGL_BidDocumentsReview
|
||||
where x.State == Const.ContractReview_Complete
|
||||
where x.State == Const.ContractReview_Complete && x.ProjectId == projectid
|
||||
select x).ToList();
|
||||
return list;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user