1
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
alter table HJGL_PackagingManage add CompileMan nvarchar(50)
|
||||||
|
alter table HJGL_PackagingManage add CompileDate datetime
|
||||||
|
go
|
||||||
|
ALTER TABLE [dbo].[PTP_TestPackage] DROP CONSTRAINT [FK_PTP_TestPackage_Base_Unit]
|
||||||
|
GO
|
||||||
|
alter table PTP_TestPackage alter column UnitId nvarchar(500)
|
||||||
|
go
|
||||||
@@ -133,7 +133,7 @@ namespace BLL
|
|||||||
State = x.State,
|
State = x.State,
|
||||||
TypeInt = x.TypeInt,
|
TypeInt = x.TypeInt,
|
||||||
TypeString = GetTypeString(x.TypeInt),
|
TypeString = GetTypeString(x.TypeInt),
|
||||||
ReceiveMan = t.PersonName,
|
ReceiveMan = train.ContactName,//t.PersonName,
|
||||||
ReceiveDate = x.ReceiveDate.HasValue ? string.Format("{0:g}", x.ReceiveDate) : "",
|
ReceiveDate = x.ReceiveDate.HasValue ? string.Format("{0:g}", x.ReceiveDate) : "",
|
||||||
PlanStartDate = GetMinPlanStartDate(x.PackagingManageId),
|
PlanStartDate = GetMinPlanStartDate(x.PackagingManageId),
|
||||||
TrainNumberOld = x.TrainNumber,
|
TrainNumberOld = x.TrainNumber,
|
||||||
@@ -252,6 +252,8 @@ namespace BLL
|
|||||||
TrainNumber = newtable.TrainNumber,
|
TrainNumber = newtable.TrainNumber,
|
||||||
TrainNumberId = newtable.TrainNumberId,
|
TrainNumberId = newtable.TrainNumberId,
|
||||||
TypeInt = newtable.TypeInt,
|
TypeInt = newtable.TypeInt,
|
||||||
|
CompileMan=newtable.CompileMan,
|
||||||
|
CompileDate = newtable.CompileDate
|
||||||
};
|
};
|
||||||
var db1 = Funs.DB;
|
var db1 = Funs.DB;
|
||||||
db1.HJGL_PackagingManage.InsertOnSubmit(table);
|
db1.HJGL_PackagingManage.InsertOnSubmit(table);
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1587,6 +1587,7 @@
|
|||||||
<Content Include="HJGL\PreDesign\ProductionSchedulingPlan.aspx" />
|
<Content Include="HJGL\PreDesign\ProductionSchedulingPlan.aspx" />
|
||||||
<Content Include="HJGL\PreDesign\TrainNumberManager.aspx" />
|
<Content Include="HJGL\PreDesign\TrainNumberManager.aspx" />
|
||||||
<Content Include="HJGL\PreDesign\TrainNumberManageEdit.aspx" />
|
<Content Include="HJGL\PreDesign\TrainNumberManageEdit.aspx" />
|
||||||
|
<Content Include="HJGL\PreDesign\TrainNumberManagerPrint.aspx" />
|
||||||
<Content Include="HJGL\PreDesign\TrainNumberManagerView.aspx" />
|
<Content Include="HJGL\PreDesign\TrainNumberManagerView.aspx" />
|
||||||
<Content Include="HJGL\PreDesign\YardPlanning.aspx" />
|
<Content Include="HJGL\PreDesign\YardPlanning.aspx" />
|
||||||
<Content Include="HJGL\PreDesign\PipelingDivide.aspx" />
|
<Content Include="HJGL\PreDesign\PipelingDivide.aspx" />
|
||||||
@@ -10799,6 +10800,13 @@
|
|||||||
<Compile Include="HJGL\PreDesign\TrainNumberManageEdit.aspx.designer.cs">
|
<Compile Include="HJGL\PreDesign\TrainNumberManageEdit.aspx.designer.cs">
|
||||||
<DependentUpon>TrainNumberManageEdit.aspx</DependentUpon>
|
<DependentUpon>TrainNumberManageEdit.aspx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="HJGL\PreDesign\TrainNumberManagerPrint.aspx.cs">
|
||||||
|
<DependentUpon>TrainNumberManagerPrint.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="HJGL\PreDesign\TrainNumberManagerPrint.aspx.designer.cs">
|
||||||
|
<DependentUpon>TrainNumberManagerPrint.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="HJGL\PreDesign\TrainNumberManagerView.aspx.cs">
|
<Compile Include="HJGL\PreDesign\TrainNumberManagerView.aspx.cs">
|
||||||
<DependentUpon>TrainNumberManagerView.aspx</DependentUpon>
|
<DependentUpon>TrainNumberManagerView.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
<Items>
|
<Items>
|
||||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="包装管理台账" EnableCollapse="true"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="包装管理台账" EnableCollapse="true"
|
||||||
runat="server" BoxFlex="1" DataKeyNames="PackagingManageId" AllowCellEditing="true" ForceFit="true"
|
runat="server" BoxFlex="1" DataKeyNames="PackagingManageId" AllowCellEditing="true" ForceFit="true"
|
||||||
ClicksToEdit="2" DataIDField="PackagingManageId" AllowSorting="true" SortField="Code"
|
ClicksToEdit="2" DataIDField="PackagingManageId" AllowSorting="true" SortField="CompileDate"
|
||||||
SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true" EnableColumnLines="true"
|
SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true" EnableColumnLines="true"
|
||||||
PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" AllowFilters="true" OnFilterChange="Grid1_FilterChange"
|
PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" AllowFilters="true" OnFilterChange="Grid1_FilterChange"
|
||||||
EnableTextSelection="True" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" OnRowCommand="Grid1_RowCommand">
|
EnableTextSelection="True" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" OnRowCommand="Grid1_RowCommand">
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
@@ -43,19 +43,19 @@
|
|||||||
<f:RenderField Width="250px" ColumnID="PackagingCode" DataField="PackagingCode"
|
<f:RenderField Width="250px" ColumnID="PackagingCode" DataField="PackagingCode"
|
||||||
FieldType="String" HeaderText="包装编号" HeaderTextAlign="Center" TextAlign="Center">
|
FieldType="String" HeaderText="包装编号" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="120px" ColumnID="TypeString" DataField="TypeString"
|
<f:RenderField Width="100px" ColumnID="TypeString" DataField="TypeString"
|
||||||
FieldType="String" HeaderText="货物类型" HeaderTextAlign="Center" TextAlign="Center">
|
FieldType="String" HeaderText="货物类型" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<%--<f:RenderField Width="120px" ColumnID="PlanStartDate" DataField="PlanStartDate" FieldType="String"
|
<%--<f:RenderField Width="120px" ColumnID="PlanStartDate" DataField="PlanStartDate" FieldType="String"
|
||||||
HeaderText="最早安装时间" HeaderTextAlign="Center" TextAlign="Center">
|
HeaderText="最早安装时间" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>--%>
|
</f:RenderField>--%>
|
||||||
<f:RenderField Width="120px" ColumnID="StackingPosition" DataField="StackingPosition" FieldType="String"
|
<f:RenderField Width="220px" ColumnID="StackingPosition" DataField="StackingPosition" FieldType="String"
|
||||||
HeaderText="预制工作包" HeaderTextAlign="Center" TextAlign="Center">
|
HeaderText="预制工作包" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="120px" ColumnID="TrainNumberOld" DataField="TrainNumberOld" FieldType="String"
|
<f:RenderField Width="90px" ColumnID="TrainNumberOld" DataField="TrainNumberOld" FieldType="String"
|
||||||
HeaderText="车次(旧)" HeaderTextAlign="Center" TextAlign="Center">
|
HeaderText="车次(旧)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="120px" ColumnID="TrainNumber" DataField="TrainNumber" FieldType="String"
|
<f:RenderField Width="90px" ColumnID="TrainNumber" DataField="TrainNumber" FieldType="String"
|
||||||
HeaderText="车次" HeaderTextAlign="Center" TextAlign="Center">
|
HeaderText="车次" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:TemplateField ColumnID="State" Width="100px" HeaderText="到场状态" HeaderTextAlign="Center" TextAlign="Center"
|
<f:TemplateField ColumnID="State" Width="100px" HeaderText="到场状态" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
@@ -79,14 +79,14 @@
|
|||||||
<f:RenderField Width="120px" ColumnID="ContactPhone" DataField="ContactPhone" FieldType="String"
|
<f:RenderField Width="120px" ColumnID="ContactPhone" DataField="ContactPhone" FieldType="String"
|
||||||
HeaderText="联系人电话" HeaderTextAlign="Center" TextAlign="Center">
|
HeaderText="联系人电话" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>--%>
|
</f:RenderField>--%>
|
||||||
<f:RenderField Width="120px" ColumnID="ReceiveMan" DataField="ReceiveMan" FieldType="String"
|
<f:RenderField Width="100px" ColumnID="ReceiveMan" DataField="ReceiveMan" FieldType="String"
|
||||||
HeaderText="接收人" HeaderTextAlign="Center" TextAlign="Center">
|
HeaderText="接收人" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="120px" ColumnID="ReceiveDate" DataField="ReceiveDate" FieldType="String"
|
<f:RenderField Width="110px" ColumnID="ReceiveDate" DataField="ReceiveDate" FieldType="String"
|
||||||
HeaderText="接收时间" HeaderTextAlign="Center" TextAlign="Center">
|
HeaderText="接收时间" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:LinkButtonField Width="120px" TextAlign="Center" CommandName="cmd_detail" Text="装箱明细" />
|
<f:LinkButtonField Width="90px" TextAlign="Center" CommandName="cmd_detail" Text="装箱明细" />
|
||||||
<f:LinkButtonField Width="120px" TextAlign="Center" CommandName="cmd_print" Text="预览打印" />
|
<f:LinkButtonField Width="90px" TextAlign="Center" CommandName="cmd_print" Text="预览打印" />
|
||||||
</Columns>
|
</Columns>
|
||||||
<Listeners>
|
<Listeners>
|
||||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||||
|
|||||||
@@ -313,16 +313,24 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
string Id = this.Grid1.SelectedRowID;
|
string Id = this.Grid1.SelectedRowID;
|
||||||
var model = HJGL_PackagingmanageService.GetHJGL_PackagingManageById(Id);
|
var model = HJGL_PackagingmanageService.GetHJGL_PackagingManageById(Id);
|
||||||
if (model != null)
|
if (model != null)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(model.PipelineComponentId))
|
||||||
{
|
{
|
||||||
var PipelineComponent = model.PipelineComponentId.Split(',');
|
var PipelineComponent = model.PipelineComponentId.Split(',');
|
||||||
foreach (var item in PipelineComponent)
|
foreach (var item in PipelineComponent)
|
||||||
{
|
{
|
||||||
HJGL_PipelineComponentService.UpdateOutState(item, model.PackagingCode);
|
HJGL_PipelineComponentService.UpdateOutState(item, model.PackagingCode);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
HJGL_PackagingmanageService.PutOutOrder(Id);
|
HJGL_PackagingmanageService.PutOutOrder(Id);
|
||||||
Pring(Id);
|
Pring(Id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("请选择要生成的出库单", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
private void Pring(string Id)
|
private void Pring(string Id)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
LabelWidth="140px">
|
LabelWidth="140px">
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpTypeInt" runat="server" Label="货物类型" ColumnWidth="20%" OnSelectedIndexChanged="drpTypeInt_SelectedIndexChanged" AutoPostBack="true"
|
<f:DropDownList ID="drpTypeInt" runat="server" Label="货物类型" ColumnWidth="20%" OnSelectedIndexChanged="drpTypeInt_SelectedIndexChanged" AutoPostBack="true"
|
||||||
LabelWidth="70px" LabelAlign="Right" Width="170px">
|
LabelWidth="140px" LabelAlign="Right" Width="170px">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
@@ -32,15 +32,19 @@
|
|||||||
DataKeyNames="PipelineComponentId"
|
DataKeyNames="PipelineComponentId"
|
||||||
AllowSorting="true" SortField="PipelineComponentCode" SortDirection="ASC">
|
AllowSorting="true" SortField="PipelineComponentCode" SortDirection="ASC">
|
||||||
<Columns>
|
<Columns>
|
||||||
<f:RowNumberField />
|
<f:RowNumberField HeaderText="序号" />
|
||||||
<f:BoundField Width="300px" DataField="PipelineComponentCode" SortField="PipelineComponentCode" DataFormatString="{0}"
|
<f:BoundField Width="250px" DataField="PipelineComponentCode" SortField="PipelineComponentCode" DataFormatString="{0}"
|
||||||
HeaderText="预制组件编号" />
|
HeaderText="预制组件编号" />
|
||||||
|
<f:TemplateField runat="server" HeaderText="管线号" Width="250px">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="Label1" runat="server" Text='<%# BLL.PipelineService.GetPipelineByPipelineId(Eval("PipelineId").ToString()).PipelineCode %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
<f:TemplateField runat="server" HeaderText="流水段">
|
<f:TemplateField runat="server" HeaderText="流水段">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="Label3" runat="server" Text='<%# BLL.PipelineService.GetPipelineByPipelineId(Eval("PipelineId").ToString()).FlowingSection %>'></asp:Label>
|
<asp:Label ID="Label3" runat="server" Text='<%# BLL.PipelineService.GetPipelineByPipelineId(Eval("PipelineId").ToString()).FlowingSection %>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</f:TemplateField>
|
</f:TemplateField>
|
||||||
|
|
||||||
</Columns>
|
</Columns>
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
<f:Toolbar runat="server" Position="Top">
|
<f:Toolbar runat="server" Position="Top">
|
||||||
@@ -68,7 +72,7 @@
|
|||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtStackingPosition" runat="server" Label="预制工作包" LabelWidth="140px" LabelAlign="Right" Required="true" ShowRedStar="true" EmptyText="主项号+区域编号">
|
<f:TextBox ID="txtStackingPosition" runat="server" Label="预制工作包" LabelWidth="140px" LabelAlign="Right" Required="true" ShowRedStar="true" EmptyText="工作包XX+工作包XX">
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
<%-- <f:TextBox ID="txtTrainNumber" runat="server" Label="车次" LabelAlign="Right"
|
<%-- <f:TextBox ID="txtTrainNumber" runat="server" Label="车次" LabelAlign="Right"
|
||||||
LabelWidth="180px">
|
LabelWidth="180px">
|
||||||
@@ -119,7 +123,6 @@
|
|||||||
CommandName="delete" Icon="Delete" />
|
CommandName="delete" Icon="Delete" />
|
||||||
</Columns>
|
</Columns>
|
||||||
</f:Grid>
|
</f:Grid>
|
||||||
|
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
</Rows>
|
</Rows>
|
||||||
|
|||||||
@@ -97,10 +97,11 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
//table.ContactPhone = txtContactPhone.Text;
|
//table.ContactPhone = txtContactPhone.Text;
|
||||||
table.TrainNumberId = drpTrainNumber.SelectedValue;
|
table.TrainNumberId = drpTrainNumber.SelectedValue;
|
||||||
table.TypeInt = int.Parse(drpTypeInt.SelectedValue);
|
table.TypeInt = int.Parse(drpTypeInt.SelectedValue);
|
||||||
|
table.CompileMan = this.CurrUser.PersonId;
|
||||||
|
table.CompileDate = DateTime.Now;
|
||||||
if (drpTypeInt.SelectedValue == ((int)HJGL_PackagingmanageService.TypeInt.预制组件).ToString())
|
if (drpTypeInt.SelectedValue == ((int)HJGL_PackagingmanageService.TypeInt.预制组件).ToString())
|
||||||
{
|
{
|
||||||
table.PipelineComponentId = string.Join(",", dropPipelineComponentCode.Values);
|
table.PipelineComponentId = string.Join(",", dropPipelineComponentCode.Values);
|
||||||
|
|
||||||
}
|
}
|
||||||
BLL.HJGL_PackagingmanageService.AddHJGL_PackagingManage(table);
|
BLL.HJGL_PackagingmanageService.AddHJGL_PackagingManage(table);
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,10 @@
|
|||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.HJGL.PreDesign
|
namespace FineUIPro.Web.HJGL.PreDesign {
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
public partial class PackagingManageEdit
|
public partial class PackagingManageEdit {
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
@@ -77,6 +75,15 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Grid Grid1;
|
protected global::FineUIPro.Grid Grid1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label Label1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Label3 控件。
|
/// Label3 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出" Icon="FolderUp"
|
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出" Icon="FolderUp"
|
||||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
|
<f:Button ID="btnPrint" runat="server" Icon="Printer" EnableAjax="false" Text="打印" ToolTip="打印" OnClick="btnPrint_Click"></f:Button>
|
||||||
</Items>
|
</Items>
|
||||||
</f:Toolbar>
|
</f:Toolbar>
|
||||||
</Toolbars>
|
</Toolbars>
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
{
|
{
|
||||||
Response.ClearContent();
|
Response.ClearContent();
|
||||||
string filename = Funs.GetNewFileName();
|
string filename = Funs.GetNewFileName();
|
||||||
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("车次管理表" + filename, System.Text.Encoding.UTF8) + ".xls");
|
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("发货管理" + filename, System.Text.Encoding.UTF8) + ".xls");
|
||||||
Response.ContentType = "application/excel";
|
Response.ContentType = "application/excel";
|
||||||
Response.ContentEncoding = System.Text.Encoding.UTF8;
|
Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||||
this.Grid1.PageSize = 500;
|
this.Grid1.PageSize = 500;
|
||||||
@@ -254,5 +254,20 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format(url, id, "操作 - ")));
|
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format(url, id, "操作 - ")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void btnPrint_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||||
|
{
|
||||||
|
string id = Grid1.SelectedRowID;
|
||||||
|
string url = "TrainNumberManagerPrint.aspx?TrainNumberId={0}";
|
||||||
|
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format(url, id, "打印 - ")));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择要打印的数据", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7,12 +7,10 @@
|
|||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.HJGL.PreDesign
|
namespace FineUIPro.Web.HJGL.PreDesign {
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
public partial class TrainNumberManager
|
public partial class TrainNumberManager {
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
@@ -77,6 +75,15 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnOut;
|
protected global::FineUIPro.Button btnOut;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnPrint 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnPrint;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lblNumber 控件。
|
/// lblNumber 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TrainNumberManagerPrint.aspx.cs" Inherits="FineUIPro.Web.HJGL.PreDesign.TrainNumberManagerPrint" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head runat="server">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
<title>打印包装明细</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||||
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||||
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Rows>
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||||
|
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" Text="关闭" runat="server" Icon="SystemClose">
|
||||||
|
</f:Button>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
</f:Form>
|
||||||
|
<f:Window ID="Window1" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||||
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||||
|
Height="500px">
|
||||||
|
</f:Window>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.HJGL.PreDesign
|
||||||
|
{
|
||||||
|
public partial class TrainNumberManagerPrint : System.Web.UI.Page
|
||||||
|
{
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.HJGL.PreDesign {
|
||||||
|
|
||||||
|
|
||||||
|
public partial class TrainNumberManagerPrint {
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// SimpleForm1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form SimpleForm1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnClose 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnClose;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window1;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -29,6 +29,9 @@
|
|||||||
<f:RenderField Width="160px" ColumnID="PackagingCode" DataField="PackagingCode"
|
<f:RenderField Width="160px" ColumnID="PackagingCode" DataField="PackagingCode"
|
||||||
FieldType="String" HeaderText="包装编号" HeaderTextAlign="Center" TextAlign="Center">
|
FieldType="String" HeaderText="包装编号" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="160px" ColumnID="StackingPosition" DataField="StackingPosition"
|
||||||
|
FieldType="String" HeaderText="预制工作包" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
</Columns>
|
</Columns>
|
||||||
|
|
||||||
<PageItems>
|
<PageItems>
|
||||||
|
|||||||
@@ -217,8 +217,9 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
|||||||
{
|
{
|
||||||
Model.SGGLDB db = Funs.DB;
|
Model.SGGLDB db = Funs.DB;
|
||||||
//var getPipeline = from x in db.View_HJGL_WeldJoint where x.ProjectId == this.CurrUser.LoginProjectId select x;
|
//var getPipeline = from x in db.View_HJGL_WeldJoint where x.ProjectId == this.CurrUser.LoginProjectId select x;
|
||||||
var getPipeline = from x in db.HJGL_Pipeline where x.ProjectId == this.CurrUser.LoginProjectId
|
var getPipeline = from x in db.HJGL_Pipeline
|
||||||
&& x.UnitWorkId==Request.Params["UnitWorkId"]
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
|
&& x.UnitWorkId == Request.Params["UnitWorkId"]
|
||||||
select x;
|
select x;
|
||||||
|
|
||||||
Model.WBS_UnitWork unitWork = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(Request.Params["UnitWorkId"]);
|
Model.WBS_UnitWork unitWork = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(Request.Params["UnitWorkId"]);
|
||||||
@@ -265,7 +266,7 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
|||||||
if (line != null)
|
if (line != null)
|
||||||
{
|
{
|
||||||
var ptpLineList = from x in db.PTP_PipelineList where x.PipelineId == line.PipelineId select x;
|
var ptpLineList = from x in db.PTP_PipelineList where x.PipelineId == line.PipelineId select x;
|
||||||
if (ptpLineList != null && DrpType.SelectedValue == "0")
|
if (ptpLineList.Count() > 0 && DrpType.SelectedValue == "0")
|
||||||
{
|
{
|
||||||
result.Add("第" + (i + 1).ToString() + "行," + "管线号[" + col2 + "]已试压!" + "|");
|
result.Add("第" + (i + 1).ToString() + "行," + "管线号[" + col2 + "]已试压!" + "|");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
<TreeNode id="8255554C-0A92-4C7B-BF19-779AF0220A8C" Text="预制组件管理" NavigateUrl="HJGL/PreDesign/PrePipeline.aspx"></TreeNode>
|
<TreeNode id="8255554C-0A92-4C7B-BF19-779AF0220A8C" Text="预制组件管理" NavigateUrl="HJGL/PreDesign/PrePipeline.aspx"></TreeNode>
|
||||||
<TreeNode id="F18CFC0E-47E0-477A-9AB3-72B88D438299" Text="堆场规划" NavigateUrl="HJGL/PreDesign/YardPlanning.aspx"></TreeNode>
|
<TreeNode id="F18CFC0E-47E0-477A-9AB3-72B88D438299" Text="堆场规划" NavigateUrl="HJGL/PreDesign/YardPlanning.aspx"></TreeNode>
|
||||||
<TreeNode id="BD9C587E-17C2-49F1-82AE-A05117E41D89" Text="安装清单" NavigateUrl="HJGL/PreDesign/InstallList.aspx"></TreeNode>
|
<TreeNode id="BD9C587E-17C2-49F1-82AE-A05117E41D89" Text="安装清单" NavigateUrl="HJGL/PreDesign/InstallList.aspx"></TreeNode>
|
||||||
<TreeNode id="EEC0D060-C15E-4D25-B015-C2B91F735DAC" Text="发货管理" NavigateUrl="HJGL/PreDesign/TrainNumberManager.aspx"></TreeNode>
|
|
||||||
<TreeNode id="25DED954-10C9-47CC-99F2-C44FDE9E0A81" Text="包装管理" NavigateUrl="HJGL/PreDesign/PackagingManage.aspx"></TreeNode>
|
<TreeNode id="25DED954-10C9-47CC-99F2-C44FDE9E0A81" Text="包装管理" NavigateUrl="HJGL/PreDesign/PackagingManage.aspx"></TreeNode>
|
||||||
|
<TreeNode id="EEC0D060-C15E-4D25-B015-C2B91F735DAC" Text="发货管理" NavigateUrl="HJGL/PreDesign/TrainNumberManager.aspx"></TreeNode>
|
||||||
</TreeNode>
|
</TreeNode>
|
||||||
<TreeNode id="9B828E92-733B-4AF9-9DD0-55ECD8B64AB8" Text="材料管理" NavigateUrl=""><TreeNode id="E29C1839-3530-45EC-A752-B26A0027E2CD" Text="入库管理" NavigateUrl=""><TreeNode id="324C72AF-447A-4308-AFB7-ABF788C58240" Text="入库申请" NavigateUrl="CLGL/InPlanMaster.aspx"></TreeNode>
|
<TreeNode id="9B828E92-733B-4AF9-9DD0-55ECD8B64AB8" Text="材料管理" NavigateUrl=""><TreeNode id="E29C1839-3530-45EC-A752-B26A0027E2CD" Text="入库管理" NavigateUrl=""><TreeNode id="324C72AF-447A-4308-AFB7-ABF788C58240" Text="入库申请" NavigateUrl="CLGL/InPlanMaster.aspx"></TreeNode>
|
||||||
<TreeNode id="4A55351A-2440-4A2D-8509-3FFEE5FC8861" Text="入库单管理" NavigateUrl="CLGL/InputMaster.aspx"></TreeNode>
|
<TreeNode id="4A55351A-2440-4A2D-8509-3FFEE5FC8861" Text="入库单管理" NavigateUrl="CLGL/InputMaster.aspx"></TreeNode>
|
||||||
|
|||||||
+194
-146
@@ -12229,7 +12229,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(2000)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
|
||||||
public string ApproveIdea
|
public string ApproveIdea
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -97580,9 +97580,13 @@ namespace Model
|
|||||||
|
|
||||||
private string _TrainNumber;
|
private string _TrainNumber;
|
||||||
|
|
||||||
|
private string _TrainNumberId;
|
||||||
|
|
||||||
private System.Nullable<int> _TypeInt;
|
private System.Nullable<int> _TypeInt;
|
||||||
|
|
||||||
private string _TrainNumberId;
|
private string _CompileMan;
|
||||||
|
|
||||||
|
private System.Nullable<System.DateTime> _CompileDate;
|
||||||
|
|
||||||
#region 可扩展性方法定义
|
#region 可扩展性方法定义
|
||||||
partial void OnLoaded();
|
partial void OnLoaded();
|
||||||
@@ -97612,10 +97616,14 @@ namespace Model
|
|||||||
partial void OnReceiveDateChanged();
|
partial void OnReceiveDateChanged();
|
||||||
partial void OnTrainNumberChanging(string value);
|
partial void OnTrainNumberChanging(string value);
|
||||||
partial void OnTrainNumberChanged();
|
partial void OnTrainNumberChanged();
|
||||||
partial void OnTypeIntChanging(System.Nullable<int> value);
|
|
||||||
partial void OnTypeIntChanged();
|
|
||||||
partial void OnTrainNumberIdChanging(string value);
|
partial void OnTrainNumberIdChanging(string value);
|
||||||
partial void OnTrainNumberIdChanged();
|
partial void OnTrainNumberIdChanged();
|
||||||
|
partial void OnTypeIntChanging(System.Nullable<int> value);
|
||||||
|
partial void OnTypeIntChanged();
|
||||||
|
partial void OnCompileManChanging(string value);
|
||||||
|
partial void OnCompileManChanged();
|
||||||
|
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||||
|
partial void OnCompileDateChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public HJGL_PackagingManage()
|
public HJGL_PackagingManage()
|
||||||
@@ -97863,6 +97871,26 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainNumberId", DbType="VarChar(50)")]
|
||||||
|
public string TrainNumberId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TrainNumberId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TrainNumberId != value))
|
||||||
|
{
|
||||||
|
this.OnTrainNumberIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TrainNumberId = value;
|
||||||
|
this.SendPropertyChanged("TrainNumberId");
|
||||||
|
this.OnTrainNumberIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeInt", DbType="Int")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeInt", DbType="Int")]
|
||||||
public System.Nullable<int> TypeInt
|
public System.Nullable<int> TypeInt
|
||||||
{
|
{
|
||||||
@@ -97883,22 +97911,42 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainNumberId", DbType="VarChar(50)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
|
||||||
public string TrainNumberId
|
public string CompileMan
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return this._TrainNumberId;
|
return this._CompileMan;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if ((this._TrainNumberId != value))
|
if ((this._CompileMan != value))
|
||||||
{
|
{
|
||||||
this.OnTrainNumberIdChanging(value);
|
this.OnCompileManChanging(value);
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
this._TrainNumberId = value;
|
this._CompileMan = value;
|
||||||
this.SendPropertyChanged("TrainNumberId");
|
this.SendPropertyChanged("CompileMan");
|
||||||
this.OnTrainNumberIdChanged();
|
this.OnCompileManChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
|
||||||
|
public System.Nullable<System.DateTime> CompileDate
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CompileDate;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CompileDate != value))
|
||||||
|
{
|
||||||
|
this.OnCompileDateChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CompileDate = value;
|
||||||
|
this.SendPropertyChanged("CompileDate");
|
||||||
|
this.OnCompileDateChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -108994,7 +109042,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(500)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(50)")]
|
||||||
public string Rectification
|
public string Rectification
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -109120,7 +109168,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measures", DbType="NVarChar(500)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measures", DbType="NVarChar(50)")]
|
||||||
public string Measures
|
public string Measures
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -161835,7 +161883,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(3000)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(500)")]
|
||||||
public string AttentPerson
|
public string AttentPerson
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -192818,7 +192866,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(255)")]
|
||||||
public string ProjectDescription
|
public string ProjectDescription
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -192938,7 +192986,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(255)")]
|
||||||
public string CalculationRule
|
public string CalculationRule
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -192998,7 +193046,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(100)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(50)")]
|
||||||
public string ConstructionSubcontractor
|
public string ConstructionSubcontractor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -193382,7 +193430,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,3)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,2)")]
|
||||||
public System.Nullable<decimal> WorkPackageEstimate
|
public System.Nullable<decimal> WorkPackageEstimate
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -193687,16 +193735,6 @@ namespace Model
|
|||||||
|
|
||||||
private string _ProjectId;
|
private string _ProjectId;
|
||||||
|
|
||||||
private string _ContractId;
|
|
||||||
|
|
||||||
private string _OrderCode;
|
|
||||||
|
|
||||||
private System.Nullable<System.DateTime> _OrderInDate;
|
|
||||||
|
|
||||||
private System.Nullable<System.DateTime> _OrderOutDate;
|
|
||||||
|
|
||||||
private string _MaterialRequisitionUnit;
|
|
||||||
|
|
||||||
private System.Nullable<int> _State;
|
private System.Nullable<int> _State;
|
||||||
|
|
||||||
private string _InvoiceCode;
|
private string _InvoiceCode;
|
||||||
@@ -193725,6 +193763,16 @@ namespace Model
|
|||||||
|
|
||||||
private string _CreateUser;
|
private string _CreateUser;
|
||||||
|
|
||||||
|
private string _ContractId;
|
||||||
|
|
||||||
|
private System.Nullable<System.DateTime> _OrderInDate;
|
||||||
|
|
||||||
|
private string _OrderCode;
|
||||||
|
|
||||||
|
private System.Nullable<System.DateTime> _OrderOutDate;
|
||||||
|
|
||||||
|
private string _MaterialRequisitionUnit;
|
||||||
|
|
||||||
#region 可扩展性方法定义
|
#region 可扩展性方法定义
|
||||||
partial void OnLoaded();
|
partial void OnLoaded();
|
||||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
@@ -193733,16 +193781,6 @@ namespace Model
|
|||||||
partial void OnInvoiceIdChanged();
|
partial void OnInvoiceIdChanged();
|
||||||
partial void OnProjectIdChanging(string value);
|
partial void OnProjectIdChanging(string value);
|
||||||
partial void OnProjectIdChanged();
|
partial void OnProjectIdChanged();
|
||||||
partial void OnContractIdChanging(string value);
|
|
||||||
partial void OnContractIdChanged();
|
|
||||||
partial void OnOrderCodeChanging(string value);
|
|
||||||
partial void OnOrderCodeChanged();
|
|
||||||
partial void OnOrderInDateChanging(System.Nullable<System.DateTime> value);
|
|
||||||
partial void OnOrderInDateChanged();
|
|
||||||
partial void OnOrderOutDateChanging(System.Nullable<System.DateTime> value);
|
|
||||||
partial void OnOrderOutDateChanged();
|
|
||||||
partial void OnMaterialRequisitionUnitChanging(string value);
|
|
||||||
partial void OnMaterialRequisitionUnitChanged();
|
|
||||||
partial void OnStateChanging(System.Nullable<int> value);
|
partial void OnStateChanging(System.Nullable<int> value);
|
||||||
partial void OnStateChanged();
|
partial void OnStateChanged();
|
||||||
partial void OnInvoiceCodeChanging(string value);
|
partial void OnInvoiceCodeChanging(string value);
|
||||||
@@ -193771,6 +193809,16 @@ namespace Model
|
|||||||
partial void OnCreateDateChanged();
|
partial void OnCreateDateChanged();
|
||||||
partial void OnCreateUserChanging(string value);
|
partial void OnCreateUserChanging(string value);
|
||||||
partial void OnCreateUserChanged();
|
partial void OnCreateUserChanged();
|
||||||
|
partial void OnContractIdChanging(string value);
|
||||||
|
partial void OnContractIdChanged();
|
||||||
|
partial void OnOrderInDateChanging(System.Nullable<System.DateTime> value);
|
||||||
|
partial void OnOrderInDateChanged();
|
||||||
|
partial void OnOrderCodeChanging(string value);
|
||||||
|
partial void OnOrderCodeChanged();
|
||||||
|
partial void OnOrderOutDateChanging(System.Nullable<System.DateTime> value);
|
||||||
|
partial void OnOrderOutDateChanged();
|
||||||
|
partial void OnMaterialRequisitionUnitChanging(string value);
|
||||||
|
partial void OnMaterialRequisitionUnitChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public PHTGL_Invoice()
|
public PHTGL_Invoice()
|
||||||
@@ -193818,106 +193866,6 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractId", DbType="NVarChar(50)")]
|
|
||||||
public string ContractId
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._ContractId;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if ((this._ContractId != value))
|
|
||||||
{
|
|
||||||
this.OnContractIdChanging(value);
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
this._ContractId = value;
|
|
||||||
this.SendPropertyChanged("ContractId");
|
|
||||||
this.OnContractIdChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderCode", DbType="NVarChar(50)")]
|
|
||||||
public string OrderCode
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._OrderCode;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if ((this._OrderCode != value))
|
|
||||||
{
|
|
||||||
this.OnOrderCodeChanging(value);
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
this._OrderCode = value;
|
|
||||||
this.SendPropertyChanged("OrderCode");
|
|
||||||
this.OnOrderCodeChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInDate", DbType="Date")]
|
|
||||||
public System.Nullable<System.DateTime> OrderInDate
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._OrderInDate;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if ((this._OrderInDate != value))
|
|
||||||
{
|
|
||||||
this.OnOrderInDateChanging(value);
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
this._OrderInDate = value;
|
|
||||||
this.SendPropertyChanged("OrderInDate");
|
|
||||||
this.OnOrderInDateChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderOutDate", DbType="Date")]
|
|
||||||
public System.Nullable<System.DateTime> OrderOutDate
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._OrderOutDate;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if ((this._OrderOutDate != value))
|
|
||||||
{
|
|
||||||
this.OnOrderOutDateChanging(value);
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
this._OrderOutDate = value;
|
|
||||||
this.SendPropertyChanged("OrderOutDate");
|
|
||||||
this.OnOrderOutDateChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialRequisitionUnit", DbType="NVarChar(100)")]
|
|
||||||
public string MaterialRequisitionUnit
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._MaterialRequisitionUnit;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if ((this._MaterialRequisitionUnit != value))
|
|
||||||
{
|
|
||||||
this.OnMaterialRequisitionUnitChanging(value);
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
this._MaterialRequisitionUnit = value;
|
|
||||||
this.SendPropertyChanged("MaterialRequisitionUnit");
|
|
||||||
this.OnMaterialRequisitionUnitChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Int")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Int")]
|
||||||
public System.Nullable<int> State
|
public System.Nullable<int> State
|
||||||
{
|
{
|
||||||
@@ -194198,6 +194146,106 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractId", DbType="NVarChar(50)")]
|
||||||
|
public string ContractId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._ContractId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._ContractId != value))
|
||||||
|
{
|
||||||
|
this.OnContractIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._ContractId = value;
|
||||||
|
this.SendPropertyChanged("ContractId");
|
||||||
|
this.OnContractIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInDate", DbType="Date")]
|
||||||
|
public System.Nullable<System.DateTime> OrderInDate
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._OrderInDate;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._OrderInDate != value))
|
||||||
|
{
|
||||||
|
this.OnOrderInDateChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._OrderInDate = value;
|
||||||
|
this.SendPropertyChanged("OrderInDate");
|
||||||
|
this.OnOrderInDateChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderCode", DbType="NVarChar(50)")]
|
||||||
|
public string OrderCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._OrderCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._OrderCode != value))
|
||||||
|
{
|
||||||
|
this.OnOrderCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._OrderCode = value;
|
||||||
|
this.SendPropertyChanged("OrderCode");
|
||||||
|
this.OnOrderCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderOutDate", DbType="Date")]
|
||||||
|
public System.Nullable<System.DateTime> OrderOutDate
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._OrderOutDate;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._OrderOutDate != value))
|
||||||
|
{
|
||||||
|
this.OnOrderOutDateChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._OrderOutDate = value;
|
||||||
|
this.SendPropertyChanged("OrderOutDate");
|
||||||
|
this.OnOrderOutDateChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialRequisitionUnit", DbType="NVarChar(100)")]
|
||||||
|
public string MaterialRequisitionUnit
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._MaterialRequisitionUnit;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._MaterialRequisitionUnit != value))
|
||||||
|
{
|
||||||
|
this.OnMaterialRequisitionUnitChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._MaterialRequisitionUnit = value;
|
||||||
|
this.SendPropertyChanged("MaterialRequisitionUnit");
|
||||||
|
this.OnMaterialRequisitionUnitChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public event PropertyChangingEventHandler PropertyChanging;
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
@@ -313277,7 +313325,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")]
|
||||||
public string Name
|
public string Name
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -313854,7 +313902,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||||
public string PackageContent
|
public string PackageContent
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -314045,7 +314093,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||||
public string PackageContent
|
public string PackageContent
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -319384,7 +319432,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||||
public string PackageContent
|
public string PackageContent
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -320856,7 +320904,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||||
public string PackageContent
|
public string PackageContent
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -330407,7 +330455,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(1500)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(500)")]
|
||||||
public string ContractNo
|
public string ContractNo
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -330427,7 +330475,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(1500)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(500)")]
|
||||||
public string UnitWorks
|
public string UnitWorks
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|||||||
Reference in New Issue
Block a user