代码无效引用清理,试压包资料界面看板修改

This commit is contained in:
2025-10-10 14:33:21 +08:00
parent 87fb529521
commit 55b798135c
933 changed files with 5897 additions and 7541 deletions
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.CQMS.Material;
using System;
using System.Linq;
@@ -62,7 +61,7 @@ namespace FineUIPro.Web.SmartSite
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.EquipmentSoftId = Request.Params["EquipmentSoftId"];
this.Type = Request.Params["type"];
if (this.Type == "D")
@@ -83,7 +82,7 @@ namespace FineUIPro.Web.SmartSite
ProjectService.InitProjectDropDownList(this.drpProject, true);
EquipmentService.InitEquipmentDropDownList(this.drpEQ, this.drpProject.SelectedValue, this.Type, true);
if (!string.IsNullOrEmpty(this.EquipmentSoftId))
{
{
var Equipment = BLL.EquipmentSoftService.GetEquipmentSoftByEquipmentSoftId(this.EquipmentSoftId);
if (Equipment != null)
{
@@ -93,12 +92,12 @@ namespace FineUIPro.Web.SmartSite
this.drpEQ.SelectedValue = Equipment.EquipmentId;
this.Type = Equipment.Type;
this.txtEquipmentSoftName.Text = Equipment.EquipmentSoftName;
this.txtEquipmentSoftModel.Text = Equipment.EquipmentSoftModel;
this.txtNumber.Text = Equipment.Number.ToString();
this.txtRunningState.Text = Equipment.RunningState;
this.txtSupplier.Text = Equipment.Supplier;
this.txtSupplierMan.Text = Equipment.SupplierMan;
this.txtSupplierTel.Text = Equipment.SupplierTel;
this.txtEquipmentSoftModel.Text = Equipment.EquipmentSoftModel;
this.txtNumber.Text = Equipment.Number.ToString();
this.txtRunningState.Text = Equipment.RunningState;
this.txtSupplier.Text = Equipment.Supplier;
this.txtSupplierMan.Text = Equipment.SupplierMan;
this.txtSupplierTel.Text = Equipment.SupplierTel;
}
}
}
@@ -116,17 +115,17 @@ namespace FineUIPro.Web.SmartSite
Alert.ShowInParent("请选择项目!", MessageBoxIcon.Warning);
return;
}
Model.SmartSite_EquipmentSoft newEquipment = new Model.SmartSite_EquipmentSoft
{
EquipmentSoftName = this.txtEquipmentSoftName.Text.Trim(),
Type = this.Type,
EquipmentSoftModel = this.txtEquipmentSoftModel.Text.Trim(),
EquipmentSoftModel = this.txtEquipmentSoftModel.Text.Trim(),
Number = Funs.GetNewIntOrZero(this.txtNumber.Text.Trim()),
RunningState = this.txtRunningState.Text.Trim(),
Supplier = this.txtSupplier.Text.Trim(),
SupplierMan = this.txtSupplierMan.Text.Trim(),
SupplierTel = this.txtSupplierTel.Text.Trim(),
RunningState = this.txtRunningState.Text.Trim(),
Supplier = this.txtSupplier.Text.Trim(),
SupplierMan = this.txtSupplierMan.Text.Trim(),
SupplierTel = this.txtSupplierTel.Text.Trim(),
};
if (this.drpProject.SelectedValue != Const._Null)
@@ -174,7 +173,7 @@ namespace FineUIPro.Web.SmartSite
protected void drpProject_SelectedIndexChanged(object sender, EventArgs e)
{
EquipmentService.InitEquipmentDropDownList(this.drpEQ, this.drpProject.SelectedValue,this.Type, true);
EquipmentService.InitEquipmentDropDownList(this.drpEQ, this.drpProject.SelectedValue, this.Type, true);
}
}
}