2024-02-21 开车分包管理修改
This commit is contained in:
@@ -23,10 +23,7 @@ namespace FineUIPro.Web.TestRun.DriverSub
|
||||
SubcontractingTypes.DataValueField = "Value";
|
||||
SubcontractingTypes.DataBind();
|
||||
|
||||
drpstate.DataSource = DropListService.drpDriverSubPlanStateList();
|
||||
drpstate.DataTextField = "Text";
|
||||
drpstate.DataValueField = "Value";
|
||||
drpstate.DataBind();
|
||||
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
Model.DriverSub_DriverSubPlan data = BLL.DriverSubPlanService.GetDriverSubPlanById(id);
|
||||
@@ -35,17 +32,7 @@ namespace FineUIPro.Web.TestRun.DriverSub
|
||||
this.hdId.Text = id;
|
||||
this.txtCode.Text = data.Code;
|
||||
this.SubcontractingTypes.SelectedValueArray= data.SubcontractingTypes.Split(',');
|
||||
this.drpstate.SelectedValue= data.State.ToString();
|
||||
//if (!string.IsNullOrEmpty(data.SubUnitId))
|
||||
//{
|
||||
// this.drpSubUnitId.SelectedValue = data.SubUnitId;
|
||||
//}
|
||||
//this.txtIntroductions.Text = data.Introductions;
|
||||
//this.txtAchievement.Text = data.Achievement;
|
||||
//this.txtCooperation.Text = data.Cooperation;
|
||||
//this.drpUnitWorkIds.SelectedValueArray = data.InstallationIds.Split(',');
|
||||
//this.rblIsInvited.SelectedValue = data.IsInvited.ToString();
|
||||
//this.txtRemark.Text = data.Remark;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -81,7 +68,6 @@ namespace FineUIPro.Web.TestRun.DriverSub
|
||||
Model.DriverSub_DriverSubPlan newData = new Model.DriverSub_DriverSubPlan();
|
||||
newData.Code = this.txtCode.Text.Trim();
|
||||
newData.SubcontractingTypes = GetStringByArray(this.SubcontractingTypes.SelectedValueArray);
|
||||
newData.State = int.Parse(drpstate.SelectedValue);
|
||||
newData.ProjectId = this.CurrUser.LoginProjectId;
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user