This commit is contained in:
parent
10ba0f997b
commit
594f0e295b
|
@ -2,7 +2,7 @@
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectView>ProjectFiles</ProjectView>
|
<ProjectView>ProjectFiles</ProjectView>
|
||||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||||
<UseIISExpress>true</UseIISExpress>
|
<UseIISExpress>true</UseIISExpress>
|
||||||
<Use64BitIISExpress />
|
<Use64BitIISExpress />
|
||||||
<IISExpressSSLPort />
|
<IISExpressSSLPort />
|
||||||
|
|
|
@ -534,9 +534,13 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||||
Model.Repair_RepairRecord repairRecord = BLL.RepairRecordService.GetRepairRecordById(repairRecordId);
|
Model.Repair_RepairRecord repairRecord = BLL.RepairRecordService.GetRepairRecordById(repairRecordId);
|
||||||
var pipe = BLL.Pipeline_WeldJointService.GetViewWeldJointById(repairRecord.WeldJointId);
|
var pipe = BLL.Pipeline_WeldJointService.GetViewWeldJointById(repairRecord.WeldJointId);
|
||||||
string pipelineId = string.Empty;
|
string pipelineId = string.Empty;
|
||||||
|
string weldingMethodId = string.Empty;
|
||||||
|
string grooveTypeId = string.Empty;
|
||||||
if (pipe != null)
|
if (pipe != null)
|
||||||
{
|
{
|
||||||
pipelineId = pipe.PipelineId;
|
pipelineId = pipe.PipelineId;
|
||||||
|
weldingMethodId= pipe.WeldingMethodId;
|
||||||
|
grooveTypeId = pipe.GrooveTypeId;
|
||||||
}
|
}
|
||||||
var t = from x in Funs.DB.Batch_BatchTrustItem where x.RepairRecordId == repairRecordId select x;
|
var t = from x in Funs.DB.Batch_BatchTrustItem where x.RepairRecordId == repairRecordId select x;
|
||||||
if (t.Count() == 0)
|
if (t.Count() == 0)
|
||||||
|
@ -557,6 +561,8 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||||
newRepairTrust.WorkAreaId = repairRecord.WorkAreaId;
|
newRepairTrust.WorkAreaId = repairRecord.WorkAreaId;
|
||||||
newRepairTrust.DetectionTypeId = repairRecord.DetectionTypeId;
|
newRepairTrust.DetectionTypeId = repairRecord.DetectionTypeId;
|
||||||
newRepairTrust.PipelineId = pipelineId;
|
newRepairTrust.PipelineId = pipelineId;
|
||||||
|
newRepairTrust.WeldingMethodId = weldingMethodId;
|
||||||
|
newRepairTrust.GrooveTypeId= grooveTypeId;
|
||||||
BLL.Batch_BatchTrustService.AddBatchTrust(newRepairTrust); // 新增返修委托单
|
BLL.Batch_BatchTrustService.AddBatchTrust(newRepairTrust); // 新增返修委托单
|
||||||
|
|
||||||
Model.Batch_BatchTrustItem newRepairTrustItem = new Model.Batch_BatchTrustItem();
|
Model.Batch_BatchTrustItem newRepairTrustItem = new Model.Batch_BatchTrustItem();
|
||||||
|
@ -572,6 +578,7 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||||
var exp = BLL.RepairRecordService.GetExportItem(repairRecordId);
|
var exp = BLL.RepairRecordService.GetExportItem(repairRecordId);
|
||||||
if (exp != null)
|
if (exp != null)
|
||||||
{
|
{
|
||||||
|
var jot = BLL.Pipeline_WeldJointService.GetWeldJointByWeldJointId(exp.First().WeldJointId);
|
||||||
string exportTrustCode = string.Empty;
|
string exportTrustCode = string.Empty;
|
||||||
if (repairRecord.RepairRecordCode.Substring(repairRecord.RepairRecordCode.Length - 4) == "K1R2")
|
if (repairRecord.RepairRecordCode.Substring(repairRecord.RepairRecordCode.Length - 4) == "K1R2")
|
||||||
{
|
{
|
||||||
|
@ -600,6 +607,8 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||||
newExportTrust.WorkAreaId = repairRecord.WorkAreaId;
|
newExportTrust.WorkAreaId = repairRecord.WorkAreaId;
|
||||||
newExportTrust.DetectionTypeId = repairRecord.DetectionTypeId;
|
newExportTrust.DetectionTypeId = repairRecord.DetectionTypeId;
|
||||||
newExportTrust.PipelineId = pipelineId;
|
newExportTrust.PipelineId = pipelineId;
|
||||||
|
newExportTrust.WeldingMethodId = jot.WeldingMethodId;
|
||||||
|
newExportTrust.GrooveTypeId = jot.GrooveTypeId;
|
||||||
|
|
||||||
BLL.Batch_BatchTrustService.AddBatchTrust(newExportTrust); // 新增扩透委托单
|
BLL.Batch_BatchTrustService.AddBatchTrust(newExportTrust); // 新增扩透委托单
|
||||||
foreach (var q in exp)
|
foreach (var q in exp)
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||||
<Items>
|
<Items>
|
||||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="<%$ Resources:Lan,NDTByWelder %>"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="<%$ Resources:Lan,NDTByWelder %>"
|
||||||
EnableCollapse="true" runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="WelderCode"
|
EnableCollapse="true" runat="server" BoxFlex="1" EnableColumnLines="true"
|
||||||
AllowCellEditing="true" ClicksToEdit="2" DataIDField="WelderCode" AllowSorting="true"
|
AllowCellEditing="true" ClicksToEdit="2" AllowSorting="true"
|
||||||
SortField="WeldTypeName,WelderCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true"
|
SortField="WeldTypeName,WelderCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true"
|
||||||
IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
||||||
EnableTextSelection="True">
|
EnableTextSelection="True">
|
||||||
|
|
|
@ -2,16 +2,18 @@
|
||||||
// <自动生成>
|
// <自动生成>
|
||||||
// 此代码由工具生成。
|
// 此代码由工具生成。
|
||||||
//
|
//
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
// 重新生成代码,这些更改将会丢失。
|
// 重新生成代码,则所做更改将丢失。
|
||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
namespace FineUIPro.Web.WeldingProcess.WeldingReport
|
||||||
|
{
|
||||||
|
|
||||||
public partial class NDTByWelder {
|
|
||||||
|
public partial class NDTByWelder
|
||||||
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -20,7 +22,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// PageManager1 控件。
|
/// PageManager1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -29,7 +31,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.PageManager PageManager1;
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Panel1 控件。
|
/// Panel1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -38,7 +40,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Panel Panel1;
|
protected global::FineUIPro.Panel Panel1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Grid1 控件。
|
/// Grid1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -47,7 +49,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Grid Grid1;
|
protected global::FineUIPro.Grid Grid1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Toolbar1 控件。
|
/// Toolbar1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -56,16 +58,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Toolbar Toolbar1;
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// drpProjectId 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.DropDownList drpProjectId;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpUnitId 控件。
|
/// drpUnitId 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -74,7 +67,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpUnitId;
|
protected global::FineUIPro.DropDownList drpUnitId;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpInstallationId 控件。
|
/// drpInstallationId 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -83,43 +76,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpInstallationId;
|
protected global::FineUIPro.DropDownList drpInstallationId;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// ToolbarFill1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// BtnAnalyse 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button BtnAnalyse;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnOut 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnOut;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Toolbar2 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Toolbar Toolbar2;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpWorkAreaId 控件。
|
/// drpWorkAreaId 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -128,16 +85,34 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpWorkAreaId;
|
protected global::FineUIPro.DropDownList drpWorkAreaId;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarFill2 控件。
|
/// ToolbarFill1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarFill ToolbarFill2;
|
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// BtnAnalyse 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button BtnAnalyse;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnOut 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnOut;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// labNumber 控件。
|
/// labNumber 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -146,7 +121,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Label labNumber;
|
protected global::System.Web.UI.WebControls.Label labNumber;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarSeparator1 控件。
|
/// ToolbarSeparator1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -155,7 +130,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarText1 控件。
|
/// ToolbarText1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -164,7 +139,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ddlPageSize 控件。
|
/// ddlPageSize 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<IISExpressWindowsAuthentication />
|
<IISExpressWindowsAuthentication />
|
||||||
<IISExpressUseClassicPipelineMode />
|
<IISExpressUseClassicPipelineMode />
|
||||||
<UseGlobalApplicationHostFile />
|
<UseGlobalApplicationHostFile />
|
||||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||||
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
|
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
|
|
Loading…
Reference in New Issue