示例#1
0
 /// ****************************************************************************
 /// <summary>
 /// 删除数据
 /// </summary>
 /// ****************************************************************************
 public void Delete()
 {
     BLL.BiddingEmit cBiddingEmit = new BLL.BiddingEmit();
     cBiddingEmit.BiddingEmitCode = this.ApplicationCode;
     cBiddingEmit.dao             = this.dao;
     cBiddingEmit.BiddingEmitDelete();
 }
示例#2
0
        /// ****************************************************************************
        /// <summary>
        /// 数据加载
        /// </summary>
        /// ****************************************************************************
        private void LoadData(bool Flag)
        {
            if (this.ApplicationCode != "")
            {
                BLL.BiddingEmit cBiddingEmit = new BLL.BiddingEmit();
                cBiddingEmit.BiddingEmitCode = this.ApplicationCode;

                if (Flag)
                {
                    this.txtEmitNumber.Value        = cBiddingEmit.EmitNumber;
                    this.txtEmitDate.Value          = cBiddingEmit.EmitDate;
                    this.txtEndDate.Value           = cBiddingEmit.EndDate;
                    this.txtPrejudicationDate.Value = cBiddingEmit.PrejudicationDate;
                    this.BiddingCode = cBiddingEmit.BiddingCode;
                }
                else
                {
                    this.tdEmitNumber.InnerHtml        = cBiddingEmit.EmitNumber;
                    this.tdEmitDate.InnerHtml          = cBiddingEmit.EmitDate;
                    this.tdEndDate.InnerHtml           = cBiddingEmit.EndDate;
                    this.tdPrejudicationDate.InnerHtml = cBiddingEmit.PrejudicationDate;
                    this.BiddingCode = cBiddingEmit.BiddingCode;
                }
            }
            else
            {
                if (Flag)
                {
                    this.txtEmitDate.Value = DateTime.Now.ToString();
                }
            }
        }
示例#3
0
        /// ****************************************************************************
        /// <summary>
        /// 数据加载
        /// </summary>
        /// ****************************************************************************
        private void LoadData()
        {
            try
            {
                BLL.BiddingEmit cBiddingEmit = new BLL.BiddingEmit();

                if (_BiddingEmitCode != null)
                {
                    cBiddingEmit.BiddingEmitCode = _BiddingEmitCode;
                }
                if (_BiddingCode != null)
                {
                    cBiddingEmit.BiddingCode = _BiddingCode;
                }
                if (_EmitNumber != null)
                {
                    cBiddingEmit.EmitNumber = _EmitNumber;
                }
                if (_EmitDate != null)
                {
                    cBiddingEmit.EmitDate = _EmitDate;
                }
                if (_EndDate != null)
                {
                    cBiddingEmit.EndDate = _EndDate;
                }
                if (_PrejudicationDate != null)
                {
                    cBiddingEmit.PrejudicationDate = _PrejudicationDate;
                }
                if (_CreatUser != null)
                {
                    cBiddingEmit.CreatUser = _CreatUser;
                }
                if (_CreatDate != null)
                {
                    cBiddingEmit.CreatDate = _CreatDate;
                }

                DataTable dt = cBiddingEmit.GetBiddingEmits();
                this.dgList.DataSource = dt;
                this.dgList.DataBind();
                this.gpControl.RowsCount = dt.Rows.Count.ToString();
                dt.Dispose();
            }
            catch (Exception ex)
            {
                ApplicationLog.WriteLog(this.ToString(), ex, "");
            }
        }
示例#4
0
        /// <summary>
        /// 显示内容,不可编编辑
        /// </summary>
        private void View_LoadData()
        {
            //网上招投标信息
            EntityData entity = new EntityData("BiddingEmitTo");
            string     sql    = "select * from BiddingEmitTo where BiddingEmitCode='" + BiddingEmitCode + "' ";
            QueryAgent QA     = new QueryAgent();

            entity = QA.FillEntityData("BiddingEmitTo", sql);
            GridView1.DataSource = entity;
            GridView1.DataBind();


            if (entity.HasRecord())
            {
                this.CheckBox2.Checked = true;
            }
            this.CheckBox2.Enabled = false;
            this.CheckBox2.Visible = this.IsWSZTB;


            //显示回标单位信息
            BLL.BiddingReturn cBiddingReturn = new BLL.BiddingReturn();
            cBiddingReturn.BiddingEmitCode = this.BiddingEmitCode;
            DataTable dt = cBiddingReturn.GetBiddingReturns();

            BindDataGrid1(dt);
            //显示备注信息
            BLL.BiddingEmit biddingemit = new BLL.BiddingEmit();
            biddingemit.BiddingEmitCode = this.BiddingEmitCode;
            this.BiddingCode            = biddingemit.BiddingCode;
            if (IsReturnView)
            {
                txtTotalRemark1.Text           = biddingemit.TotalRemark;
                AttachMentList1.AttachMentType = "BiddingReturnModify1";
            }
            else
            {
                txtTotalRemark1.Text           = biddingemit.TotalRemark2;
                AttachMentList1.AttachMentType = "BiddingReturnModify2";
            }
            AttachMentList1.MasterCode      = biddingemit.BiddingEmitCode;
            this.AttachMentAdd2.Visible     = false;
            txtTotalRemark1.Enabled         = false;
            Datagrid1.Visible               = true;
            dpAllowAfterClose.SelectedValue = biddingemit.AllowAfterClose.ToString();
            LoadBiddingOpener(false);
        }
示例#5
0
        /// ****************************************************************************
        /// <summary>
        /// 提交数据
        /// </summary>
        /// ****************************************************************************
        public void SubmitData()
        {
            BLL.BiddingEmit cBiddingEmit = new BLL.BiddingEmit();
            cBiddingEmit.BiddingEmitCode = this.ApplicationCode;
            cBiddingEmit.BiddingCode     = this.BiddingCode;
            cBiddingEmit.EmitNumber      = this.txtEmitNumber.Value;
            if (this.txtEmitDate.Value != "")
            {
                cBiddingEmit.EmitDate = this.txtEmitDate.Value;
            }
            if (this.txtEndDate.Value != "")
            {
                cBiddingEmit.EndDate = this.txtEndDate.Value;
            }
            if (this.txtPrejudicationDate.Value != "")
            {
                cBiddingEmit.PrejudicationDate = this.txtPrejudicationDate.Value;
            }
            cBiddingEmit.CreatUser = ((User)Session["user"]).UserCode;
            cBiddingEmit.CreatDate = DateTime.Now.ToString();
            cBiddingEmit.dao       = this.dao;
            cBiddingEmit.BiddingEmitSubmit();

            BLL.Bidding bidding = new BLL.Bidding();
            bidding.BiddingCode = cBiddingEmit.BiddingCode;
            bidding.State       = NowState;
            bidding.dao         = dao;
            bidding.BiddingSubmit();

            if (this.ApplicationCode == "")
            {
                this.ApplicationCode = cBiddingEmit.BiddingEmitCode;
            }

            /*BLL.BiddingDtl bd = new BLL.BiddingDtl();
             * bd.BiddingCode = this.BiddingCode;
             * bd.flag = "1";
             * DataTable dt = bd.GetBiddingDtls();
             * for (int i = 0; i < dt.Rows.Count; i++)
             * {
             *  BLL.BiddingEmitDtl bed = new BLL.BiddingEmitDtl();
             *  bed.BiddingDtlCode = dt.Rows[i]["BiddingDtlCode"].ToString();
             *  bed.BiddingEmitCode = this.ApplicationCode;
             *  bed.BiddingEmitDtlSubmit();
             * }*/
        }
示例#6
0
        /// ****************************************************************************
        /// <summary>
        /// 数据加载
        /// </summary>
        /// ****************************************************************************
        private void LoadData(bool Flag)
        {
            BLL.BiddingManage bm             = new BLL.BiddingManage();
            BLL.BiddingReturn cBiddingReturn = new BLL.BiddingReturn();
            if (this.ApplicationCode != "")
            {
                cBiddingReturn.BiddingEmitCode = this.ApplicationCode;
                BLL.BiddingEmit cBiddingEmit = new BLL.BiddingEmit();
                cBiddingEmit.BiddingEmitCode = cBiddingReturn.BiddingEmitCode;
                this.BiddingCode             = cBiddingEmit.BiddingCode;
                bm.BiddingCode                 = this.BiddingCode;
                this.ApplicationCode           = bm.GetLastBiddingEmitCode();
                cBiddingReturn.BiddingEmitCode = this.ApplicationCode;
            }
            else
            {
                bm.BiddingCode                 = this.BiddingCode;
                this.ApplicationCode           = bm.GetLastBiddingEmitCode();
                cBiddingReturn.BiddingEmitCode = this.ApplicationCode;
            }

            this.ProjectCode = bm.ProjectCode;

            DataTable dt = cBiddingReturn.GetBiddingReturns();

            //获取最后的压价信息
            dt = BLL.BiddingSystem.GetAuditingMessage(dt, this.BiddingCode, this.ApplicationCode);
            DataView dv1 = new DataView(dt);
            //按价格排
            DataView dv2 = new DataView(dt);

            dv2.Sort = "BiddingDtlCode,Money";
            int le = dv1.Table.Rows.Count;

            //DataRow dr
            dv1.Table.Columns.Add("myState", System.Type.GetType("System.String"));
            int     j         = 0;
            int     k         = 0;
            decimal tempMoney = 0;

            foreach (DataRowView drv2 in dv2)
            {
                j++;
                foreach (DataRowView drv1 in dv1)
                {
                    if (drv2["BiddingReturnCode"] == drv1["BiddingReturnCode"] && drv2["BiddingDtlCode"] == drv1["BiddingDtlCode"])
                    {
                        drv1["myState"] = drv2["State"];

                        if (System.Convert.ToDecimal(drv1["Money"]) > tempMoney)
                        {
                            this.ViewState["MaxMoney"] = drv1["Money"].ToString();
                            tempMoney = System.Convert.ToDecimal(drv1["Money"]);
                        }
                        break;
                    }
                }
            }
            this.Repeater1.DataSource = dv1;
            this.Repeater1.DataBind();
            for (int i = 0; i < this.Repeater1.Items.Count; i++)
            {
                if (Flag)
                {
                    ((HtmlInputCheckBox)this.Repeater1.Items[i].FindControl("chkAuditing")).Visible   = true;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanAuditing")).Visible = false;
                    ((HtmlInputCheckBox)this.Repeater1.Items[i].FindControl("chkAuditing")).Checked   = (dt.Rows[i]["Flag"].ToString() == "1");
                }
                else
                {
                    ((HtmlInputCheckBox)this.Repeater1.Items[i].FindControl("chkAuditing")).Visible     = false;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanAuditing")).Visible   = true;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanAuditing")).InnerHtml = this.SpanText("1", dt.Rows[i]["Flag"].ToString());
                }
                if (this.State1 == ModuleState.Operable)
                {
                    for (k = 0; k < ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioDesign")).Items.Count; k++)
                    {
                        ListItem ud_Item = ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioDesign")).Items[k];
                        if (ud_Item.Value == dt.Rows[i]["Design"].ToString())
                        {
                            ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioDesign")).Items[k].Selected = true;
                            break;
                        }
                    }
//					((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioDesign")).SelectedValue = dt.Rows[i]["Design"].ToString();
                    ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioDesign")).Visible   = true;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanDesign")).Visible = false;
                }
                else
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanDesign")).InnerHtml = this.SpanText("2", dt.Rows[i]["Design"].ToString());
                    ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioDesign")).Visible     = false;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanDesign")).Visible   = true;
                }
                if (this.State2 == ModuleState.Operable)
                {
                    for (k = 0; k < ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioProject")).Items.Count; k++)
                    {
                        ListItem ud_Item = ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioProject")).Items[k];
                        if (ud_Item.Value == dt.Rows[i]["Design"].ToString())
                        {
                            ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioProject")).Items[k].Selected = true;
                            break;
                        }
                    }

                    ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioProject")).Visible   = true;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanProject")).Visible = false;
                }
                else
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanProject")).InnerHtml = this.SpanText("2", dt.Rows[i]["Project"].ToString());
                    ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioProject")).Visible     = false;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanProject")).Visible   = true;
                }
                if (this.State3 == ModuleState.Operable)
                {
                    for (k = 0; k < ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioConsultant")).Items.Count; k++)
                    {
                        ListItem ud_Item = ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioConsultant")).Items[k];
                        if (ud_Item.Value == dt.Rows[i]["Design"].ToString())
                        {
                            ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioConsultant")).Items[k].Selected = true;
                            break;
                        }
                    }
                    ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioConsultant")).Visible   = true;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanConsultant")).Visible = false;
                }
                else
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanConsultant")).InnerHtml = this.SpanText("2", dt.Rows[i]["Consultant"].ToString());
                    ((RadioButtonList)this.Repeater1.Items[i].FindControl("RadioConsultant")).Visible     = false;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanConsultant")).Visible   = true;
                }
                if (this.State4 == ModuleState.Operable)
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("txtState")).Visible  = true;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanState")).Visible = false;
                }
                else
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("txtState")).Visible  = false;
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanState")).Visible = true;
                }
                //商务标报价是否显示
                if (this.State5 == ModuleState.Sightless)
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("txtState")).InnerHtml  = "&nbsp;";
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanState")).InnerHtml = "&nbsp;";
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spMoney")).InnerHtml   = "&nbsp;";
                }
                //显示评选结果
                if (this.SetAgreementMessage == ModuleState.Sightless)
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanDesign")).Visible = false;
                }
                if (this.SetProjectMessage == ModuleState.Sightless)
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanProject")).Visible = false;
                }
                if (this.SetAdviserMessage == ModuleState.Sightless)
                {
                    ((HtmlGenericControl)this.Repeater1.Items[i].FindControl("spanConsultant")).Visible = false;
                }
            }
            dt.Dispose();
        }
示例#7
0
        /// ****************************************************************************
        /// <summary>
        /// 数据加载
        /// </summary>
        /// ****************************************************************************
        private void LoadData(bool Flag)
        {
            this.CheckBox2.Visible = this.IsWSZTB;
            this.TbWSZTB.Visible   = this.IsWSZTB;
            this.GridView1.Visible = this.IsWSZTB;
            if (this.BiddingEmitCode != "")
            {
                BLL.BiddingReturn cBiddingReturn = new BLL.BiddingReturn();
                cBiddingReturn.BiddingEmitCode = this.BiddingEmitCode;
                BLL.BiddingEmit biddingemit = new BLL.BiddingEmit();
                biddingemit.BiddingEmitCode = this.BiddingEmitCode;
                this.BiddingCode            = biddingemit.BiddingCode;

                DataTable dt = cBiddingReturn.GetBiddingReturns();
                if (Flag)
                {
                    ////////////////////////////////////////////////////////////
                    BLL.BiddingDtl cBiddingDtl = new BLL.BiddingDtl();
                    cBiddingDtl.BiddingCode = this.ApplicationCode;
                    DataTable dtl;
                    dtl = cBiddingDtl.GetBiddingDtls();
                    BLL.BiddingReturn bed = new BLL.BiddingReturn();
                    bed.BiddingEmitCode = this.BiddingEmitCode;
                    DataTable det = bed.GetBiddingReturns();
                    for (int i = 0; i < dtl.Rows.Count; i++)
                    {
                        if ((det.Select(" BiddingDtlCode=" + dtl.Rows[i]["BiddingDtlCode"].ToString()).Length) == 0)
                        {
                            dtl.Rows.Remove(dt.Rows[i]);
                        }
                    }
                    ////////////////////////////////////////////////////////////
                    Bind_dgListEdit(dt);
                    this.txtTotalRemark.Text = biddingemit.TotalRemark;
                }
                else
                {
                    Bind_dgListView(dt);
                }
                dt.Dispose();
                LoadBiddingOpener(false);
                dpAllowAfterClose.SelectedValue = biddingemit.AllowAfterClose.ToString();
            }
            else
            {
                if (this.ViewState["dt"] == null)
                {
                    BLL.BiddingReturn cBiddingReturn = new BLL.BiddingReturn();
                    cBiddingReturn.BiddingEmitCode = this.ApplicationCode;
                    DataTable dt = cBiddingReturn.GetBiddingReturns();

                    //增加新列
                    dt.Columns.Add("BiddingSupplierCode", System.Type.GetType("System.String"));
                    dt.Columns.Add("State2", System.Type.GetType("System.String"));

                    BLL.BiddingPrejudication cBiddingPrejudication = new BLL.BiddingPrejudication();
                    cBiddingPrejudication.BiddingCode = this.BiddingCode;
                    DataTable dtPrejudication = cBiddingPrejudication.GetBiddingPrejudications();
                    for (int i = 0; i < dtPrejudication.Rows.Count; i++)
                    {
                        BLL.BiddingDtl bdl = new BLL.BiddingDtl();
                        bdl.BiddingCode = this.BiddingCode;
                        bdl.flag        = "1";
                        DataTable dtbdl = bdl.GetBiddingDtls();
                        for (int x = 0; x < dtbdl.Rows.Count; x++)
                        {
                            BLL.BiddingSupplier cBiddingSupplier = new BLL.BiddingSupplier();
                            cBiddingSupplier.BiddingPrejudicationCode = dtPrejudication.Rows[i][0].ToString();
                            cBiddingSupplier.Flag = "1";
                            DataTable dtSupplier = cBiddingSupplier.GetBiddingSuppliers();
                            for (int j = 0; j < dtSupplier.Rows.Count; j++)
                            {
                                DataRow dr = dt.NewRow();
                                dr["BiddingReturnCode"]   = DAL.EntityDAO.SystemManageDAO.GetNewSysCode("BiddingReturn");
                                dr["SupplierCode"]        = dtSupplier.Rows[j]["SupplierCode"].ToString();
                                dr["BiddingDtlCode"]      = dtbdl.Rows[x]["BiddingDtlCode"].ToString();
                                dr["OrderCode"]           = dtSupplier.Rows[j]["OrderCode"].ToString();
                                dr["BiddingSupplierCode"] = dtSupplier.Rows[j]["BiddingSupplierCode"].ToString();
                                dr["State2"] = dtSupplier.Rows[j]["State"].ToString();
                                dt.Rows.Add(dr);
                            }
                            dtSupplier.Dispose();
                        }
                    }
                    dtPrejudication.Dispose();
                    this.ViewState["dt"] = dt;
                    dt.Dispose();
                }
                Bind_dgListView((DataTable)this.ViewState["dt"]);
                LoadBiddingOpener(true);
            }
        }
示例#8
0
        /// ****************************************************************************
        /// <summary>
        /// 初始化
        /// </summary>
        /// ****************************************************************************
        private void InitPage()
        {
            if (Request["State"] + "" == "edit")
            {
                string ApplicationCode = Request["ApplicationCode"] + "";
                string BiddingCode     = Request["BiddingCode"] + "";

                this.BiddingEmitModify1.ApplicationCode   = ApplicationCode;
                this.BiddingEmitModify1.BiddingCode       = BiddingCode;
                this.BiddingReturnModify1.BiddingEmitCode = ApplicationCode;
                this.BiddingReturnModify1.BiddingCode     = BiddingCode;
                this.BiddingReturnModify1.IsWSZTB         = this.user.HasRight("210301");

                BiddingEmitModify1.State   = WorkFlowControl.ModuleState.Operable;
                BiddingReturnModify1.State = WorkFlowControl.ModuleState.Eyeable;

                this.btnSave.Visible       = true;
                this.btnReSNandPWD.Visible = false;
                if (ApplicationCode != "")
                {
                    this.btnDel.Visible = true;
                }
                else
                {
                    this.btnDel.Visible = false;
                }
                BiddingEmitModify1.InitControl();
                BiddingReturnModify1.InitControl();
                BiddingDtlModify1.ApplicationCode = BiddingCode;
                BiddingDtlModify1.State           = WorkFlowControl.ModuleState.Eyeable;
                if (this.user.HasRight("2106"))
                {
                    BiddingDtlModify1.PriceState = WorkFlowControl.ModuleState.Operable;
                }

                BiddingDtlModify1.InitControl();
                SetBiddingEmitManage();
            }
            else if (Request["State"] + "" == "view")
            {
                /*BiddingEmitModify1.State = WorkFlowControl.ModuleState.Eyeable;
                 * BiddingReturnModify1.State = WorkFlowControl.ModuleState.Other;
                 * BiddingReturnModify1.BiddingEmitCode=ApplicationCode;*/
                string BiddingEmitCode = Request["BiddingEmitCode"] + "";

                this.BiddingEmitModify1.ApplicationCode = BiddingEmitCode;
                BiddingEmitModify1.State             = WorkFlowControl.ModuleState.Eyeable;
                BiddingReturnModify1.State           = WorkFlowControl.ModuleState.Other;
                this.BiddingReturnModify1.IsWSZTB    = this.user.HasRight("210301");
                BiddingReturnModify1.IsReturnView    = false;
                BiddingReturnModify1.BiddingEmitCode = BiddingEmitCode;
                this.btnSave.Visible       = false;
                this.btnReSNandPWD.Visible = true;
                this.btnDel.Visible        = false;
                BiddingEmitModify1.InitControl();
                BiddingReturnModify1.InitControl();
                BiddingDtlModify1.ApplicationCode = BiddingEmitModify1.BiddingCode;
                BiddingDtlModify1.State           = WorkFlowControl.ModuleState.Eyeable;
                BiddingDtlModify1.BiddingEmitCode = BiddingEmitCode;
                BiddingDtlModify1.InitControl();

                //判断是否能修改
                BLL.BiddingEmit bidEmit = new BLL.BiddingEmit();
                bidEmit.BiddingEmitCode = BiddingEmitCode;
                if (bidEmit.CreatUser == this.user.UserCode)
                {
                    this.btnChange.Visible = true;
                }
            }
            if (Request["NowState"] + "" == "5")
            {
                Lb_Title.Text = "压 价";
            }

            this.btnSave.Attributes["OnClick"] = "javascript:if(BiddingEmitCheckSubmit()) ";
            BiddingReturnModify1.Show_ttachMentAdd2(BiddingEmitModify1.ApplicationCode);
            btnOpen.Visible = BiddingBFL.CanOpenNow(this.BiddingReturnModify1.BiddingEmitCode, this.user.UserCode);
        }
示例#9
0
        private string GetWorkFlowListString()
        {
            string ListString = "''";

            BLL.BiddingAuditing cbiddingAuditing = new RmsPM.BLL.BiddingAuditing();
            cbiddingAuditing.BiddingCode = this.ApplicationCode;
            DataTable dtba = cbiddingAuditing.GetBiddingAuditings();

            for (int i = 0; i < dtba.Rows.Count; i++)
            {
                ListString += ",'招标议标评审" + dtba.Rows[i]["BiddingAuditingCode"].ToString() + "'";
            }


            BLL.BiddingFile bf = new RmsPM.BLL.BiddingFile();
            bf.BiddingCode = this.ApplicationCode;
            DataTable dtbf = bf.GetBiddingFiles();

            for (int i = 0; i < dtbf.Rows.Count; i++)
            {
                ListString += ",'招标文件评审" + dtbf.Rows[i]["BiddingFileCode"].ToString() + "'";
            }


            BLL.BiddingConditionFile bcf = new RmsPM.BLL.BiddingConditionFile();
            bcf.BiddingCode = this.ApplicationCode;
            DataTable dtbcf = bcf.GetBiddings();

            for (int i = 0; i < dtbcf.Rows.Count; i++)
            {
                ListString += ",'招标技术条件评审" + dtbcf.Rows[i]["BiddingConditionFileCode"].ToString() + "'";
            }

            BLL.BiddingPrejudication bp = new BLL.BiddingPrejudication();
            bp.BiddingCode = this.ApplicationCode;
            DataTable dtp = bp.GetBiddingPrejudications();

            for (int i = 0; i < dtp.Rows.Count; i++)
            {
                ListString += ",'投标单位评审" + dtp.Rows[i]["BiddingPrejudicationCode"].ToString() + "'";
            }


            BLL.BiddingEmit be = new BLL.BiddingEmit();
            be.BiddingCode = this.ApplicationCode;
            DataTable tb = be.GetBiddingEmits();

            for (int z = 0; z < tb.Rows.Count; z++)
            {
                ListString += ",'中标单位评审" + tb.Rows[z]["BiddingEmitCode"].ToString() + "'";
            }

            BLL.BiddingMessage bm = new BLL.BiddingMessage();
            bm.BiddingCode = this.ApplicationCode;
            DataTable dtm = bm.GetBiddingMessages();

            for (int i = 0; i < dtm.Rows.Count; i++)
            {
                ListString += ",'中标通知书评审" + dtm.Rows[i]["BiddingMessageCode"].ToString() + "'";
            }

            return(ListString);
        }
示例#10
0
        /// ****************************************************************************
        /// <summary>
        /// 初始化
        /// </summary>
        /// ****************************************************************************
        private void InitPage()
        {
            if (Request["ApplicationCode"] != null)
            {
                this.ApplicationCode = Request["ApplicationCode"] + "";
            }
            else if (Request["BiddingCode"] != null)
            {
                this.ApplicationCode = Request["BiddingCode"] + "";
            }
            if (Request["ProjectCode"] != null)
            {
                this.ProjectCode = Request["ProjectCode"].ToString();
            }


            //  //--//特殊要求
            string company = this.up_sPMName.ToLower();

            switch (company)
            {
            case "disaipm":
                this.workflowmsg.Visible   = false;
                this.WorkFlowList1.Visible = false;
                this.WorkFlowDiv.Visible   = false;
                break;

            case "tangchenpm":

                this.btnNewSupply.Value = "招标执行";
                break;


            case "gaokepm":


                this.Bt_ReturnOfPrice.Style["display"] = "none";

                break;

                //this.PrejudicationListdiv.Visible = true;
                //this.ReturnListdiv.Visible = true;
                //this.BiddingPrejudicationList1.BiddingCode = this.ApplicationCode;
                //this.BiddingPrejudicationList1.DataBound();
            }
            //
            //修改


            if (this.user.HasRight("2106"))
            {
                BiddingDtlModify1.PriceState = WorkFlowControl.ModuleState.Operable;
                Bidding1.PriceState          = WorkFlowControl.ModuleState.Operable;
            }
            else if (this.user.HasRight("2107"))//查看
            {
                BiddingDtlModify1.PriceState = WorkFlowControl.ModuleState.Eyeable;
                Bidding1.PriceState          = WorkFlowControl.ModuleState.Eyeable;
            }


            if (!this.user.HasRight("210904"))//招标文件新增
            {
                this.Bidding1.BiddingFileState = ModuleState.Unbeknown;
            }
            else
            {
                this.Bidding1.BiddingFileState = ModuleState.Operable;
            }



            Bidding1.ApplicationCode          = this.ApplicationCode;
            Bidding1.ProjectCode              = this.ProjectCode;
            Bidding1.UserCode                 = this.user.UserCode;
            BiddingDtlModify1.ApplicationCode = Bidding1.ApplicationCode;
            BiddingDtlModify1.ProjectCode     = this.ProjectCode;

            BLL.BiddingEmit   cBiddingEmit = new BLL.BiddingEmit();
            BLL.BiddingManage bm           = new BLL.BiddingManage();
            bm.BiddingCode = this.ApplicationCode;

            if (this.ApplicationCode == "")
            {
                Bidding1.State = WorkFlowControl.ModuleState.Operable;
                Bidding1.InitControl();

                this.BiddingConditionFileInfo1.State = ModuleState.Unbeknown;

                BiddingDtlModify1.State = WorkFlowControl.ModuleState.Operable;
                BiddingDtlModify1.InitControl();

                this.btnSave.Visible          = true;
                this.btnAddDtl.Visible        = true;
                this.btnModify.Visible        = false;
                this.btnDel.Visible           = false;
                this.btnNewSupply.Visible     = false;
                this.btnEmit.Visible          = false;
                this.btnReturn.Visible        = false;
                this.btnAuditing.Visible      = false;
                this.btnMessage.Visible       = false;
                this.btnContract.Visible      = false;
                this.Bt_LowOfPrice.Visible    = false;
                this.Bt_ReturnOfPrice.Visible = false;

                //this.btnAddMoney.Visible = false;
                this.btnCheckBiddingDiscuss.Visible    = false;
                this.btnOldCheckBiddingDiscuss.Visible = false;
                this.btnCheckDiscuss.Visible           = false;

                //隐藏若干选项卡
                this.BiddingCondition.Style["display"]     = "none";
                this.BiddingContidionFile.Style["display"] = "none";
                this.trPrejudication.Style["display"]      = "none";
                this.Tr1.Style["display"]               = "none";
                this.trZBGC.Style["display"]            = "none";
                this.BiddingProcessDiv.Style["display"] = "none";
                this.trHBGC.Style["display"]            = "none";
                this.BiddingEmitDiv.Style["display"]    = "none";
                this.tdBiddingMessage.Style["display"]  = "none";
                this.BiddingMessageDiv.Style["display"] = "none";
                this.workflowmsg.Style["display"]       = "none";
                this.WorkFlowDiv.Style["display"]       = "none";
            }
            else
            {
                this.BiddingConditionFileInfo1.State = ModuleState.Operable;
                this.btnModify.Visible = true;
                this.btnSave.Visible   = false;
                this.btnAddDtl.Visible = false;
                this.btnDel.Visible    = false;
                Bidding1.State         = WorkFlowControl.ModuleState.Eyeable;
                Bidding1.InitControl();
                BiddingDtlModify1.State = WorkFlowControl.ModuleState.Eyeable;
                BiddingDtlModify1.InitControl();
                if (Bidding1.BiddingState == "0")//只有招标计划信息
                {
                    this.btnNewSupply.Visible     = true;
                    this.btnEmit.Visible          = false;
                    this.btnReturn.Visible        = false;
                    this.btnAuditing.Visible      = false;
                    this.btnMessage.Visible       = false;
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    this.btnDel.Visible           = true;
                    //this.btnAddMoney.Visible = false;
                    //LB_BiddingState.Text="";
                }
                if (Bidding1.BiddingState == "1")//有预审投标单位
                {
                    this.btnNewSupply.Visible     = true;
                    this.btnEmit.Visible          = true;
                    this.btnReturn.Visible        = false;
                    this.btnAuditing.Visible      = false;
                    this.btnMessage.Visible       = false;
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    //this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                    this.btnCheckDiscuss.Visible           = false;
                }
                if (Bidding1.BiddingState == "2")//已经发标
                {
                    this.btnNewSupply.Visible     = true;
                    this.btnEmit.Visible          = false;
                    this.btnReturn.Visible        = GetShowInfoForbtnReturn();
                    this.btnAuditing.Visible      = false;
                    this.btnMessage.Visible       = false;
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                    // this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                    this.btnCheckDiscuss.Visible           = false;
                }
                if (Bidding1.BiddingState == "3")//已经回标
                {
                    this.btnNewSupply.Visible     = true;
                    this.btnEmit.Visible          = true;
                    this.btnReturn.Visible        = GetShowInfoForbtnReturn();
                    this.btnAuditing.Visible      = true;
                    this.btnMessage.Visible       = false;
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                    this.btnCheckDiscuss.Visible           = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                }
                if (Bidding1.BiddingState == "5")//已经开始评标,处于压价状态
                {
                    this.btnNewSupply.Visible     = false;
                    this.btnEmit.Visible          = false;
                    this.btnReturn.Visible        = false;
                    this.btnAuditing.Visible      = false;
                    this.btnMessage.Visible       = false;
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = true;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                    this.btnCheckDiscuss.Visible = false;
                    //this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                }
                if (Bidding1.BiddingState == "6")//已经开始评标,处于压价状态
                {
                    this.btnNewSupply.Visible     = false;
                    this.btnEmit.Visible          = false;
                    this.btnReturn.Visible        = false;
                    this.btnAuditing.Visible      = false;
                    this.btnMessage.Visible       = false;
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = true;
                    this.Bt_ReturnOfPrice.Visible = true;
                    IsShow_Control_BiddingEmitHistory(true);
                    this.btnCheckDiscuss.Visible = false;
                    //this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                }
                if (Bidding1.BiddingState == "4")//评审完毕
                {
                    this.btnNewSupply.Visible = false;
                    this.btnEmit.Visible      = false;
                    this.btnReturn.Visible    = false;
                    this.btnAuditing.Visible  = false;
                    this.btnModify.Visible    = false;
                    this.btnMessage.Visible   = true;
                    //this.btnMessage.Visible=user.HasOperationRight("2106");
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                    if (ConfigurationSettings.AppSettings["IsBiddingMessage"] == "0")
                    {
                        btnMessage.Visible       = false;
                        this.btnContract.Visible = true;
                    }
                    this.btnCheckDiscuss.Visible = false;
                    //this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                }
                if (Bidding1.BiddingState == "41")//中标通知书评审中
                {
                    this.btnNewSupply.Visible = false;
                    this.btnEmit.Visible      = false;
                    this.btnReturn.Visible    = false;
                    this.btnAuditing.Visible  = false;
                    this.btnModify.Visible    = false;
                    //this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                    this.btnCheckDiscuss.Visible           = false;

                    BLL.Bidding bd = new BLL.Bidding();
                    bd.BiddingCode = Bidding1.ApplicationCode;
                    if (bd.GetBiddingReturnNoMessage().Rows.Count > 0)
                    {
                        this.btnMessage.Visible = true;
                    }
                    else
                    {
                        this.btnMessage.Visible = false;
                    }

                    BLL.BiddingMessage bms = new BLL.BiddingMessage();
                    bms.BiddingCode = Bidding1.ApplicationCode;
                    DataTable dtbms = bms.GetBiddingMessages();
                    bool      ContractCreateFlag = false;
                    foreach (DataRow dr in dtbms.Select())
                    {
                        if (BLL.ContractRule.GetContractCountByContractDefaultValueCode(dr["BiddingMessageCode"].ToString()) == 0)
                        {
                            ContractCreateFlag = true;
                        }
                    }

                    this.btnContract.Visible = ContractCreateFlag;

                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                }
                if (Bidding1.BiddingState == "42")//中标通知书已评审
                {
                    this.btnNewSupply.Visible = false;
                    this.btnEmit.Visible      = false;
                    this.btnReturn.Visible    = false;
                    this.btnAuditing.Visible  = false;
                    this.btnModify.Visible    = false;
                    //this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                    this.btnCheckDiscuss.Visible           = false;

                    BLL.Bidding bd = new BLL.Bidding();
                    bd.BiddingCode = Bidding1.ApplicationCode;
                    if (bd.GetBiddingReturnNoMessage().Rows.Count > 0)
                    {
                        this.btnMessage.Visible = true;
                    }
                    else
                    {
                        this.btnMessage.Visible = false;
                    }

                    BLL.BiddingMessage bms = new BLL.BiddingMessage();
                    bms.BiddingCode = Bidding1.ApplicationCode;
                    DataTable dtbms = bms.GetBiddingMessages();
                    bool      ContractCreateFlag = false;
                    foreach (DataRow dr in dtbms.Select())
                    {
                        if (BLL.ContractRule.GetContractCountByContractDefaultValueCode(dr["BiddingMessageCode"].ToString()) == 0)
                        {
                            ContractCreateFlag = true;
                        }
                    }


                    this.btnContract.Visible      = ContractCreateFlag;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                }
                if (Bidding1.BiddingState == "43")//评审完毕
                {
                    this.btnNewSupply.Visible     = false;
                    this.btnEmit.Visible          = false;
                    this.btnReturn.Visible        = false;
                    this.btnAuditing.Visible      = false;
                    this.btnModify.Visible        = false;
                    this.btnMessage.Visible       = false;
                    this.btnContract.Visible      = false;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                    //this.btnAddMoney.Visible = false;
                    this.btnCheckDiscuss.Visible           = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                }

                if (Bidding1.BiddingState == "7")//招标执行
                {
                    this.btnNewSupply.Visible = false;
                    this.btnEmit.Visible      = false;
                    this.btnReturn.Visible    = false;
                    this.btnAuditing.Visible  = false;
                    this.btnModify.Visible    = false;

                    //this.btnAddMoney.Visible = false;
                    this.btnCheckDiscuss.Visible           = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;

                    this.btnMessage.Visible = false;

                    BLL.BiddingMessage bms = new BLL.BiddingMessage();
                    bms.BiddingCode = Bidding1.ApplicationCode;
                    bms.State       = "0";
                    DataTable dtbms = bms.GetBiddingMessages();
                    bool      ContractCreateFlag = false;
                    foreach (DataRow dr in dtbms.Select())
                    {
                        if (BLL.ContractRule.GetContractCountByContractDefaultValueCode(dr["BiddingMessageCode"].ToString()) == 0)
                        {
                            ContractCreateFlag = true;
                        }
                    }

                    RmsPM.BLL.BiddingPrejudication cbiddingPrejudicationtemp = new RmsPM.BLL.BiddingPrejudication();
                    cbiddingPrejudicationtemp.BiddingPrejudicationCode = cbiddingPrejudicationtemp.GetPrimaryKeyByBiddingCode(this.ApplicationCode);
                    if (cbiddingPrejudicationtemp.State != "0")
                    {
                        this.btnBiddingStart.Visible = true;
                    }
                    this.btnContract.Visible      = ContractCreateFlag;
                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;
                    IsShow_Control_BiddingEmitHistory(true);
                }

                RmsPM.BLL.Bidding cbidding = new RmsPM.BLL.Bidding();
                cbidding.BiddingCode = this.ApplicationCode;
                //议标
                if (cbidding.BiddingType == "0" && cbidding.Status == "0")
                {
                    this.btnSave.Visible      = false;
                    this.btnAddDtl.Visible    = false;
                    this.btnModify.Visible    = false;
                    this.btnDel.Visible       = false;
                    this.btnNewSupply.Visible = false;
                    this.btnEmit.Visible      = false;
                    this.btnReturn.Visible    = false;
                    this.btnAuditing.Visible  = false;
                    this.btnMessage.Visible   = false;

                    this.Bt_LowOfPrice.Visible    = false;
                    this.Bt_ReturnOfPrice.Visible = false;

                    //this.btnAddMoney.Visible = false;
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                }
                else if (cbidding.BiddingType == "1" && cbidding.Status == "0")//招标
                {
                    this.btnCheckBiddingDiscuss.Visible    = false;
                    this.btnOldCheckBiddingDiscuss.Visible = false;
                    this.btnCheckDiscuss.Visible           = false;
                }
                else
                {
                    this.btnCheckDiscuss.Visible = false;
                    //检查是否存在招标议标数据
                    RmsPM.BLL.BiddingAuditing cbiddingAuditing = new RmsPM.BLL.BiddingAuditing();
                    cbiddingAuditing.BiddingCode = this.ApplicationCode;
                    DataTable dtBiddingAuditing = cbiddingAuditing.GetBiddingAuditings();
                    if (dtBiddingAuditing != null)
                    {
                        if (dtBiddingAuditing.Rows.Count != 0)
                        {
                            this.btnCheckBiddingDiscuss.Visible = false;
                        }
                    }
                }
            }

            RmsPM.BLL.BiddingPrejudication cbiddingPrejudication = new RmsPM.BLL.BiddingPrejudication();
            //议标评审
            this.btnCheckDiscuss.Attributes["OnClick"] = "javascript:OpenDiscuss('" + this.ApplicationCode + "','" + cbiddingPrejudication.GetPrimaryKeyByBiddingCode(this.ApplicationCode) + "','" + this.ProjectCode + "');return false;";
            //招标议标评审
            this.btnCheckBiddingDiscuss.Attributes["OnClick"] = "javascript:OpenBiddingDiscuss('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";
            //招标议标单步审核
            this.btnOldCheckBiddingDiscuss.Attributes["OnClick"] = "javascript:OpenBiddingType('" + this.ApplicationCode + "');return false;";
            ////增资评审
            //this.btnAddMoney.Attributes["OnClick"] = "javascript:OpenBiddingDtlAddMoney('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";
            this.btnNewSupply.Attributes["OnClick"] = "javascript:OpenNewSupply('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";

            this.btnBiddingStart.Attributes["OnClick"]  = "javascript:OpenBiddingStart('" + cbiddingPrejudication.GetPrimaryKeyByBiddingCode(this.ApplicationCode) + "','" + this.ProjectCode + "');return false;";
            this.btnEmit.Attributes["OnClick"]          = "javascript:OpenNewEmit('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";
            this.Bt_LowOfPrice.Attributes["OnClick"]    = "javascript:OpenLowOfPrice('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";
            this.Bt_ReturnOfPrice.Attributes["OnClick"] = "javascript:ReturnLowOfPrice('" + bm.GetLastBiddingEmitCode() + "" + "','" + this.ProjectCode + "');return false;";
            this.btnReturn.Attributes["OnClick"]        = "javascript:BiddingEmitListReturnModify('" + bm.GetLastBiddingEmitCode() + "" + "','" + this.ProjectCode + "');return false;";
            this.btnAuditing.Attributes["OnClick"]      = "javascript:OpenAuditing('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";
            this.btnMessage.Attributes["OnClick"]       = "javascript:BiddingMessage('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";
            this.btnContract.Attributes["OnClick"]      = "javascript:BiddingContract('" + this.ApplicationCode + "','" + this.ProjectCode + "');return false;";

            BiddingProcess1.InitControl(Bidding1.ApplicationCode);

            if (!this.user.HasRight("210802"))//招标文件新增
            {
                this.BiddingCondition.Visible              = false;
                this.BiddingContidionFile.Visible          = false;
                this.BiddingDtl.Attributes["onclick"]      = "EventClickTab(0);";
                this.trPrejudication.Attributes["onclick"] = "EventClickTab(1);";
                this.trZBGC.Attributes["onclick"]          = "EventClickTab(2);";

                this.trHBGC.Attributes["onclick"]           = "EventClickTab(3);";
                this.tdBiddingMessage.Attributes["onclick"] = "EventClickTab(4);";
                this.workflowmsg.Attributes["onclick"]      = "EventClickTab(5);";

                this.BiddingConditionFileInfo1.Visible = false;
            }
            else
            {
                this.BiddingConditionFileInfo1.BiddingCode = Bidding1.ApplicationCode;
                this.BiddingConditionFileInfo1.ProjectCode = this.ProjectCode;
                this.BiddingConditionFileInfo1.InitControl();
            }

            if (company == "tangchenpm")//招标文件新增
            {
                //取消招标技术条件选项卡
                this.BiddingCondition.Visible     = false;
                this.BiddingContidionFile.Visible = false;
                //取消投标预审单位选项卡
                this.trPrejudication.Visible = false;
                this.Tr1.Visible             = false;
                //招标过程
                this.trZBGC.Visible            = false;
                this.BiddingProcessDiv.Visible = false;
                //中标通知书
                this.tdBiddingMessage.Visible    = false;
                this.BiddingMessageList1.Visible = false;

                //回标过程
                this.trHBGC.Visible         = false;
                this.BiddingEmitDiv.Visible = false;

                //this.BiddingCondition.Visible = false;
                //this.BiddingContidionFile.Visible = false;
                this.BiddingDtl.Attributes["onclick"] = "EventClickTab(0);";
                //this.trPrejudication.Attributes["onclick"] = "EventClickTab(1);";
                //this.trZBGC.Attributes["onclick"] = "EventClickTab(2);";

                //this.trHBGC.Attributes["onclick"] = "EventClickTab(3);";
                this.workflowmsg.Attributes["onclick"] = "EventClickTab(1);";

                //this.BiddingConditionFileInfo1.Visible = false;
            }


            //this.BiddingPrejudicationSupplierList1.BiddingCode = Bidding1.ApplicationCode;
            //this.BiddingPrejudicationSupplierList1.InitControl();

            if (!this.user.HasRight("2110"))
            {
                this.Bt_LowOfPrice.Visible    = false;
                this.Bt_ReturnOfPrice.Visible = false;
            }

            if (!this.user.HasRight("211301"))
            {
                this.btnOldCheckBiddingDiscuss.Visible = false;
            }
            if (!this.user.HasRight("211302"))
            {
                this.btnCheckBiddingDiscuss.Visible = false;
            }
            if (!this.user.HasRight("211303"))
            {
                this.btnCheckDiscuss.Visible = false;
            }


            this.WorkFlowList1.ProcedureNameAndApplicationCodeList = GetWorkFlowListString();
            this.WorkFlowList1.DataBound();

            //是否存在预审单位
            if (this.WorkFlowList1.WorkFlowCount != 0)
            {
                this.btnDel.Visible = false;
            }

            //添加中标通知书列表
            this.LoadBiddingMessageList(this.ApplicationCode);
        }