This commit is contained in:
2024-01-29 18:34:54 +08:00
parent 12ecb5309e
commit 7f67a750c8
27 changed files with 1217 additions and 404 deletions
@@ -51,6 +51,7 @@ namespace FineUIPro.Web.HSSE.InApproveManager
///机具设备下拉框
BLL.SpecialEquipmentService.InitSpecialEquipmentDropDownList(this.drpSpecialEquipmentId, true, true);
this.cbIsUsed.Checked = true;
this.cbIsIn.Checked = true;
this.EquipmentInId = Request.Params["EquipmentInId"];
this.EquipmentInItemId = Request.Params["EquipmentInItemId"];
if (!string.IsNullOrEmpty(this.EquipmentInItemId))
@@ -76,6 +77,10 @@ namespace FineUIPro.Web.HSSE.InApproveManager
{
this.cbIsUsed.Checked = false;
}
if (equipmentInItem.IsIn != true)
{
this.cbIsIn.Checked = false;
}
}
}
}
@@ -113,6 +118,7 @@ namespace FineUIPro.Web.HSSE.InApproveManager
equipmentInItem.InsuranceNum = this.txtInsuranceNum.Text.Trim();
equipmentInItem.CommercialInsuranceNum = this.txtCommercialInsuranceNum.Text.Trim();
equipmentInItem.IsUsed = Convert.ToBoolean(this.cbIsUsed.Checked);
equipmentInItem.IsIn = Convert.ToBoolean(this.cbIsIn.Checked);
if (!string.IsNullOrEmpty(this.EquipmentInItemId))
{
equipmentInItem.EquipmentInItemId = this.EquipmentInItemId;