20240318 开车报告 总结
This commit is contained in:
@@ -15,7 +15,7 @@ namespace FineUIPro.Web.TestRun.DriverSummary
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
//BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
@@ -24,10 +24,10 @@ namespace FineUIPro.Web.TestRun.DriverSummary
|
||||
if (data != null)
|
||||
{
|
||||
this.hdId.Text = id;
|
||||
if (!string.IsNullOrEmpty(data.UnitWorkId))
|
||||
{
|
||||
this.drpUnitWorkId.SelectedValue = data.UnitWorkId;
|
||||
}
|
||||
//if (!string.IsNullOrEmpty(data.UnitWorkId))
|
||||
//{
|
||||
// this.drpUnitWorkId.SelectedValue = data.UnitWorkId;
|
||||
//}
|
||||
this.txtDriverSummaryCode.Text = data.DriverSummaryCode;
|
||||
this.txtSummary.Text = data.Summary;
|
||||
this.txtSummaryPerson.Text = BLL.UserService.GetUserNameByUserId(data.SummaryPerson);
|
||||
@@ -70,10 +70,10 @@ namespace FineUIPro.Web.TestRun.DriverSummary
|
||||
{
|
||||
string id = Request.Params["id"];
|
||||
Model.Driver_DriverSummary newData = new Model.Driver_DriverSummary();
|
||||
if (this.drpUnitWorkId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
newData.UnitWorkId = this.drpUnitWorkId.SelectedValue;
|
||||
}
|
||||
//if (this.drpUnitWorkId.SelectedValue != BLL.Const._Null)
|
||||
//{
|
||||
// newData.UnitWorkId = this.drpUnitWorkId.SelectedValue;
|
||||
//}
|
||||
newData.DriverSummaryCode = this.txtDriverSummaryCode.Text.Trim();
|
||||
newData.Summary = this.txtSummary.Text.Trim();
|
||||
newData.SummaryPerson = this.CurrUser.UserId;
|
||||
|
||||
Reference in New Issue
Block a user