限制单位
This commit is contained in:
parent
04a09dbbc6
commit
787eb249be
|
@ -136,6 +136,12 @@
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</f:TemplateField>
|
</f:TemplateField>
|
||||||
|
|
||||||
|
<f:TemplateField ColumnID="AttachFile" Width="150px" HeaderText="附件" HeaderTextAlign="Center" TextAlign="Left" >
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink"
|
||||||
|
Text='<%# BLL.AttachFileService.GetBtnFileUrl(Eval("CheckFineId")) %>' ToolTip="附件查看"></asp:LinkButton>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
</Columns>
|
</Columns>
|
||||||
<Listeners>
|
<Listeners>
|
||||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||||
|
|
|
@ -7,10 +7,12 @@
|
||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.CQMS.Check {
|
namespace FineUIPro.Web.CQMS.Check
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
public partial class CheckFineList {
|
public partial class CheckFineList
|
||||||
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
|
@ -147,6 +149,15 @@ namespace FineUIPro.Web.CQMS.Check {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Label lbAuditMan;
|
protected global::System.Web.UI.WebControls.Label lbAuditMan;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lbtnFileUrl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.LinkButton lbtnFileUrl;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarSeparator1 控件。
|
/// ToolbarSeparator1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -75,12 +75,12 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<f:FormRow Hidden="true">
|
<f:FormRow >
|
||||||
<Items>
|
<Items>
|
||||||
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
|
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
|
||||||
<Items>
|
<Items>
|
||||||
<f:Label runat="server" Text="问题图片:" CssStyle="padding-left:25px" Width="110px" CssClass="marginr" ShowLabel="false"></f:Label>
|
<f:Label runat="server" Text="附件:" CssStyle="padding-left:25px" Width="110px" CssClass="marginr" ShowLabel="false"></f:Label>
|
||||||
<f:Button ID="imgBtnFile" Text="问题图片" ToolTip="上传及查看" Icon="TableCell" runat="server"
|
<f:Button ID="imgBtnFile" Text="附件" ToolTip="上传及查看" Icon="TableCell" runat="server"
|
||||||
OnClick="imgBtnFile_Click">
|
OnClick="imgBtnFile_Click">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
</Items>
|
</Items>
|
||||||
|
|
|
@ -655,55 +655,40 @@ namespace FineUIPro.Web.HJGL.DataIn
|
||||||
errInfo += "材质1代号为必填项;";
|
errInfo += "材质1代号为必填项;";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(tempData.Value10))
|
||||||
|
{
|
||||||
|
var rate = rates.FirstOrDefault(x => x.DetectionRateCode == tempData.Value10);
|
||||||
|
if (rate == null)
|
||||||
|
{
|
||||||
|
errInfo += "探伤比例[" + tempData.Value10 + "]不存在;";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
jointInfo.DetectionRateId = rate.DetectionRateId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
errInfo += "探伤比例为必填项;";
|
||||||
|
}
|
||||||
if (!string.IsNullOrEmpty(tempData.Value41))
|
if (!string.IsNullOrEmpty(tempData.Value41))
|
||||||
{
|
{
|
||||||
if (tempData.Value41.Trim() == "是")
|
if (tempData.Value41.Trim() == "是")
|
||||||
{
|
{
|
||||||
isoInfo.Is_Standard = true;
|
isoInfo.Is_Standard = true;
|
||||||
jointInfo.Extend_Length = tempData.Value43;
|
jointInfo.Extend_Length = tempData.Value43;
|
||||||
if (!string.IsNullOrEmpty(tempData.Value10))
|
|
||||||
{
|
|
||||||
var rate = rates.FirstOrDefault(x => x.DetectionRateCode == tempData.Value10);
|
|
||||||
if (rate == null)
|
|
||||||
{
|
|
||||||
errInfo += "探伤比例[" + tempData.Value10 + "]不存在;";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
jointInfo.DetectionRateId = rate.DetectionRateId;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
errInfo += "探伤比例为必填项;";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
isoInfo.Is_Standard = false;
|
isoInfo.Is_Standard = false;
|
||||||
if (!string.IsNullOrEmpty(tempData.Value10))
|
|
||||||
{
|
|
||||||
var rate = rates.FirstOrDefault(x => x.DetectionRateCode == tempData.Value10);
|
|
||||||
if (rate == null)
|
|
||||||
{
|
|
||||||
errInfo += "探伤比例[" + tempData.Value10 + "]不存在;";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
isoInfo.DetectionRateId = rate.DetectionRateId;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
errInfo += "探伤比例为必填项;";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(tempData.Value41))
|
if (!string.IsNullOrEmpty(tempData.Value43))
|
||||||
{
|
{
|
||||||
isoInfo.ISO_Length = tempData.Value41;
|
isoInfo.ISO_Length = tempData.Value43;
|
||||||
}
|
}
|
||||||
//if (!string.IsNullOrEmpty(tempData.Value15))
|
//if (!string.IsNullOrEmpty(tempData.Value15))
|
||||||
//{
|
//{
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace FineUIPro.Web.JDGL.JDJH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='13' ";
|
WHERE ToMenu='13' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -64,6 +64,7 @@ namespace FineUIPro.Web.JDGL.JDJH
|
||||||
temp.UploadMan = this.drpUploadMan.SelectedValue;
|
temp.UploadMan = this.drpUploadMan.SelectedValue;
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
temp.ToMenu = "13";
|
temp.ToMenu = "13";
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='3' ";
|
WHERE ToMenu='3' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -7,10 +7,12 @@
|
||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.PZHGL.SGCH {
|
namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
public partial class Djdzch {
|
public partial class Djdzch
|
||||||
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
|
@ -120,15 +122,6 @@ namespace FineUIPro.Web.PZHGL.SGCH {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Label Label1;
|
protected global::System.Web.UI.WebControls.Label Label1;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// lbtnUrl1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::System.Web.UI.WebControls.LinkButton lbtnUrl1;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarSeparator1 控件。
|
/// ToolbarSeparator1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -64,6 +64,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
temp.ToMenu = "3";
|
temp.ToMenu = "3";
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='5' ";
|
WHERE ToMenu='5' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -64,6 +64,8 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
temp.ToMenu = "5";
|
temp.ToMenu = "5";
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
|
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='1' ";
|
WHERE ToMenu='1' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -64,6 +64,8 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
temp.ToMenu = "1";
|
temp.ToMenu = "1";
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
|
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='2' ";
|
WHERE ToMenu='2' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -64,6 +64,8 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
temp.ToMenu = "2";
|
temp.ToMenu = "2";
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
|
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='6' ";
|
WHERE ToMenu='6' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -64,6 +64,8 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
temp.ToMenu = "6";
|
temp.ToMenu = "6";
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
|
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='7' ";
|
WHERE ToMenu='7' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -63,6 +63,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
temp.UploadMan = this.drpUploadMan.SelectedValue;
|
temp.UploadMan = this.drpUploadMan.SelectedValue;
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
temp.ToMenu = "7";
|
temp.ToMenu = "7";
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
U.UserName AS UploadManName
|
U.UserName AS UploadManName
|
||||||
FROM dbo.Common_FileManager AS t
|
FROM dbo.Common_FileManager AS t
|
||||||
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
|
||||||
WHERE ToMenu='4' ";
|
WHERE ToMenu='4' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (!string.IsNullOrEmpty(txtFileName.Text))
|
if (!string.IsNullOrEmpty(txtFileName.Text))
|
||||||
|
|
|
@ -63,6 +63,7 @@ namespace FineUIPro.Web.PZHGL.SGCH
|
||||||
}
|
}
|
||||||
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
|
||||||
temp.ToMenu = "4";
|
temp.ToMenu = "4";
|
||||||
|
temp.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
temp.Remark = this.txtRemark.Text.Trim();
|
temp.Remark = this.txtRemark.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(fileId))
|
if (!string.IsNullOrEmpty(fileId))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue