0914-修改材料接口、焊接管理及三四级看板

This commit is contained in:
2022-09-14 16:38:27 +08:00
parent c3cbd62265
commit 456be52603
88 changed files with 11052 additions and 444 deletions
+24 -1
View File
@@ -28,6 +28,26 @@ namespace FineUIPro.Web.HJGL.FL
}
}
/// <summary>
/// 内网进入软件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnUrlN_Click(object sender, EventArgs e)
{
PageContext.RegisterStartupScript(String.Format("window.open('http://192.168.30.40:8102/pcms/');"));
}
/// <summary>
/// 外网进入软件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnUrlW_Click(object sender, EventArgs e)
{
PageContext.RegisterStartupScript(String.Format("window.open('http://221.232.143.174:8102/pcms');"));
}
/// <summary>
/// 获取
/// </summary>
@@ -102,7 +122,10 @@ namespace FineUIPro.Web.HJGL.FL
/// </summary>
private void BindGrid()
{
string strSql = @"select *
string strSql = @"select OneOKRateId,DeviceName,DeviceCode,ZoneCode,UnitName,cast(TestWeldAmount as int) as TestWeldAmount,cast(OnceQualifiedQuantity as int) as OnceQualifiedQuantity,
cast(REPLACE(OneOKRate,'%','') as DECIMAL(9,2)) as OneOKRate,
cast(OneTimeFilmAmount as int) as OneTimeFilmAmount,cast(OneTimeFilmQualifiedAmount as int) as OneTimeFilmQualifiedAmount,
cast(REPLACE(OneOKFilmRate,'%','') as DECIMAL(9,2)) as OneOKFilmRate
from dbo.HJGL_FL_OneOKRate c
where c.ProjectId=@ProjectId order by c.DeviceName,DeviceCode,ZoneCode";
List<SqlParameter> listStr = new List<SqlParameter>();