升级
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user