/// **************************************************************************** /// <summary> /// 提交数据 /// </summary> /// **************************************************************************** public override string SubmitData() { string Errmsg = ""; try { if (this.TxtBiddingConditionFileName.Value == "") { Errmsg = "招标文件名称不允许为空"; return(Errmsg); } else if (this.TxtNumber.Value == "") { Errmsg = "招标文件编号不允许为空"; return(Errmsg); } if (this.ApplicationCode != "") { this.BiddingConditionFileCode = this.ApplicationCode; } else if (this.BiddingConditionFileCode != "") { this.ApplicationCode = this.BiddingConditionFileCode; } RmsPM.BLL.BiddingConditionFile cBiddingConditionFile = new RmsPM.BLL.BiddingConditionFile(); cBiddingConditionFile.BiddingConditionFileCode = this.BiddingConditionFileCode + ""; cBiddingConditionFile.BiddingCode = this.BiddingCode + ""; cBiddingConditionFile.BiddingConditionFileNumber = this.TxtNumber.Value; cBiddingConditionFile.Name = this.TxtBiddingConditionFileName.Value; cBiddingConditionFile.Zbfw = this.TxtZBFW.Text; cBiddingConditionFile.Jsxq = this.TxtJSYQ.Text; cBiddingConditionFile.Zlbz = this.TxtZLBZ.Text; cBiddingConditionFile.Gq = this.TxtGQ.Text; cBiddingConditionFile.Rctj = this.TxtRCTJ.Text; cBiddingConditionFile.Shfw = this.TxtSHFW.Text; cBiddingConditionFile.State = "1"; cBiddingConditionFile.BiddingConditionFileAdd(); this.BiddingConditionFileCode = cBiddingConditionFile.BiddingConditionFileCode; this.AttachMentAdd1.SaveAttachMent(this.BiddingConditionFileCode); this.AttachMentAdd2.SaveAttachMent(this.BiddingConditionFileCode); this.AttachMentAdd3.SaveAttachMent(this.BiddingConditionFileCode); this.AttachMentAdd4.SaveAttachMent(this.BiddingConditionFileCode); this.AttachMentAdd5.SaveAttachMent(this.BiddingConditionFileCode); this.AttachMentAdd6.SaveAttachMent(this.BiddingConditionFileCode); return(Errmsg); } catch (System.Exception ec) { Errmsg = ec.Message; return(Errmsg); } }