This commit is contained in:
2024-02-27 18:13:26 +08:00
parent 7f67a750c8
commit 6106fb7d9c
33 changed files with 2769 additions and 1820 deletions
@@ -48,12 +48,8 @@
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getLiftingWork.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getLiftingWork.ApplyManId);
this.txtWorkPalce.Text = getLiftingWork.WorkPalce;
this.txtSafeMan.Text = getLiftingWork.SafeMan;
this.txtControlMan.Text = getLiftingWork.ControlMan;
this.txtDriverMan.Text = getLiftingWork.DriverMan;
this.txtCarNum.Text = getLiftingWork.CarNum;
this.txtOtherMan.Text = getLiftingWork.OtherMan;
this.txtWatchMan.Text = getLiftingWork.WatchMan;
if (getLiftingWork.ValidityStartTime.HasValue)
{
this.txtWorkDate.Text = getLiftingWork.ValidityStartTime.Value.ToString("f") + " 至 ";
@@ -62,8 +58,22 @@
this.txtWorkDate.Text += getLiftingWork.ValidityEndTime.Value.ToString("f");
}
}
if (!string.IsNullOrEmpty(getLiftingWork.WorkLeaderId))
{
this.txtWorkLeader.Text = UserService.GetUserNameByUserId(getLiftingWork.WorkLeaderId);
}
if (!string.IsNullOrEmpty(getLiftingWork.HasSpecialProgramme))
{
this.txtHasSpecialProgramme.Text = getLiftingWork.HasSpecialProgramme;
}
if (!string.IsNullOrEmpty(getLiftingWork.OtherAttach))
{
txtOtherAttach.Text = getLiftingWork.OtherAttach;
}
this.txtWorkMeasures.Text = getLiftingWork.WorkMeasures;
this.txtCraneCapacity.Text = getLiftingWork.CraneCapacity;
this.txtWorkLevel.Text = getLiftingWork.WorkLevel;
this.txtCapacityDes.Text = getLiftingWork.CapacityDes;
if (!string.IsNullOrEmpty(getLiftingWork.CancelManId))
{
this.txtCance.Text = UserService.GetUserNameByUserId(getLiftingWork.CancelManId) + ";取消时间:"