/// ****************************************************************************
        /// <summary>
        /// 提交数据
        /// </summary>
        /// ****************************************************************************
        public void SubmitData()
        {
            if (txtNumber.Value == "")
            {
                //Response.Write(Rms.Web.JavaScript.Alert(true,"合同编号不能为空"));
                throw new Exception("编号不能为空");
            }
            BLL.BiddingPrejudication cBiddingPrejudication = new BLL.BiddingPrejudication();
            cBiddingPrejudication.BiddingPrejudicationCode = this.ApplicationCode;
            cBiddingPrejudication.BiddingCode = this.BiddingCode;
            cBiddingPrejudication.Number      = this.txtNumber.Value;
            cBiddingPrejudication.UserCode    = this.UserCode;
            cBiddingPrejudication.CreateDate  = DateTime.Now.ToShortDateString();
            cBiddingPrejudication.State       = "";
            cBiddingPrejudication.Flag        = "";
            cBiddingPrejudication.dao         = this.dao;
            cBiddingPrejudication.BiddingPrejudicationSubmit();

            if (this.ApplicationCode == "")
            {
                BLL.BiddingSupplier cBiddingSupplier = new BLL.BiddingSupplier();
                cBiddingSupplier.BiddingPrejudicationCode = this.ViewState["tempCode"].ToString();
                cBiddingSupplier.dao = dao;
                EntityData entity = cBiddingSupplier._GetBiddingSuppliers();
                for (int i = 0; i < entity.CurrentTable.Rows.Count; i++)
                {
                    entity.CurrentTable.Rows[i]["BiddingPrejudicationCode"] = cBiddingPrejudication.BiddingPrejudicationCode;
                }
                dao.SubmitEntity(entity);
                this.ApplicationCode = cBiddingPrejudication.BiddingPrejudicationCode;
                this.AttachMentAdd1.SaveAttachMent(this.ApplicationCode);
                this.AttachMentAdd2.SaveAttachMent(this.ApplicationCode);
                this.AttachMentAdd3.SaveAttachMent(this.ApplicationCode);
                BLL.BiddingSystem.UpDataPrejudicationCode(cBiddingPrejudication.BiddingPrejudicationCode, this.ViewState["tempCode"].ToString());
            }
        }