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

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
@@ -53,7 +53,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
/// 绑定数据
/// </summary>
private void BindGrid()
{
{
string strSql = @" SELECT CostManage.CostManageId, CostManage.ProjectId,CostManage.UnitId,Unit.UnitName,CostManage.ContractNum,CostManage.CostManageDate,
CostManage.States,(CASE WHEN CostManage.States =1 THEN '审核中' WHEN CostManage.States =2 THEN '已完成' ELSE '待提交' END) AS StatesName,
CostManage.CompileMan,Users.PersonName AS CompileManName,CostManage.CompileDate,CostManage.SumMoney
@@ -62,7 +62,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
LEFT JOIN Person_Persons AS Users ON CostManage.CompileMan = Users.PersonId WHERE 1=1 ";
List<SqlParameter> listStr = new List<SqlParameter>();
strSql += " AND CostManage.ProjectId = @ProjectId";
listStr.Add(new SqlParameter("@ProjectId", this.ProjectId));
listStr.Add(new SqlParameter("@ProjectId", this.ProjectId));
if (BLL.ProjectUnitService.GetProjectUnitTypeByProjectIdUnitId(this.ProjectId, this.CurrUser.UnitId))
{
@@ -168,7 +168,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CostManageEdit.aspx?CostManageId={0}", costManage.CostManageId, "编辑 - ")));
}
else
else
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CostManageView.aspx?CostManageId={0}", costManage.CostManageId, "查看 - ")));
}
@@ -304,7 +304,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
}
else
{
strValue="待【"+Person_PersonsService.GetPersonsNameById(costManage.CompileMan) +"】提交";
strValue = "待【" + Person_PersonsService.GetPersonsNameById(costManage.CompileMan) + "】提交";
}
}
}
@@ -314,7 +314,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
#endregion
protected void Window1_Close(object sender, WindowCloseEventArgs e)
{
{
// 绑定表格
this.BindGrid();
}
@@ -348,7 +348,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
}
else
{
string messaage = CostManageService.PushDataToHSE(this.CurrUser.LoginProjectId, costManage.ContractNum,costManageId);
string messaage = CostManageService.PushDataToHSE(this.CurrUser.LoginProjectId, costManage.ContractNum, costManageId);
if (string.IsNullOrEmpty(messaage))
{
Alert.ShowInTop("推送成功!", MessageBoxIcon.Success);