Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,3 @@
|
|||||||
|
alter table dbo.Tw_InOutPlanDetail
|
||||||
|
add SortIndex int
|
||||||
|
go
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
alter table dbo.Tw_InputDetail
|
||||||
|
add SortIndex int
|
||||||
|
go
|
||||||
|
|
||||||
|
update PHTGL_ActionPlanFormation_Sch1 set PlanningContent='分包商资质标准' where ActionPlanItemID='ACBF5487-0C83-4E91-847F-B5BB3F59968A'
|
||||||
@@ -45,8 +45,8 @@ namespace BLL
|
|||||||
};
|
};
|
||||||
public static Dictionary<string, int> PlanPrintMap = new Dictionary<string, int>
|
public static Dictionary<string, int> PlanPrintMap = new Dictionary<string, int>
|
||||||
{
|
{
|
||||||
{ "采购通知单" ,(int)TypeInt.采购入库},
|
{ "采购入库申请单" ,(int)TypeInt.采购入库},
|
||||||
{ "退料通知单" ,(int)TypeInt.退料入库},
|
{ "退料入库申请单" ,(int)TypeInt.退料入库},
|
||||||
{ "其他入库通知单" ,(int)TypeInt.其他入库},
|
{ "其他入库通知单" ,(int)TypeInt.其他入库},
|
||||||
{ "材料领用申请单" ,(int)TypeInt.领料出库},
|
{ "材料领用申请单" ,(int)TypeInt.领料出库},
|
||||||
{ "补料申请单" ,(int)TypeInt.补料出库},
|
{ "补料申请单" ,(int)TypeInt.补料出库},
|
||||||
|
|||||||
@@ -30,13 +30,14 @@ namespace BLL
|
|||||||
from mat in mm.DefaultIfEmpty()
|
from mat in mm.DefaultIfEmpty()
|
||||||
join master in Funs.DB.Tw_InOutPlanMaster on x.InOutPlanMasterId equals master.Id into masters
|
join master in Funs.DB.Tw_InOutPlanMaster on x.InOutPlanMasterId equals master.Id into masters
|
||||||
from master in masters.DefaultIfEmpty()
|
from master in masters.DefaultIfEmpty()
|
||||||
join stock in Funs.DB.Tw_MaterialStock on new { x.MaterialCode, master.WarehouseCode } equals new { MaterialCode = stock.PipeLineMatCode, stock.WarehouseCode } into st
|
join stock in Funs.DB.Tw_MaterialStock on new { x.MaterialCode, master.WarehouseCode,master.ProjectId } equals new { MaterialCode = stock.PipeLineMatCode, stock.WarehouseCode, stock .ProjectId} into st
|
||||||
from stock in st.DefaultIfEmpty()
|
from stock in st.DefaultIfEmpty()
|
||||||
where
|
where
|
||||||
(string.IsNullOrEmpty(table.Id) || x.Id.Contains(table.Id)) &&
|
(string.IsNullOrEmpty(table.Id) || x.Id.Contains(table.Id)) &&
|
||||||
(string.IsNullOrEmpty(table.InOutPlanMasterId) || x.InOutPlanMasterId.Contains(table.InOutPlanMasterId)) &&
|
(string.IsNullOrEmpty(table.InOutPlanMasterId) || x.InOutPlanMasterId.Contains(table.InOutPlanMasterId)) &&
|
||||||
(string.IsNullOrEmpty(table.PipelineComponentId) || x.PipelineComponentId.Contains(table.PipelineComponentId)) &&
|
(string.IsNullOrEmpty(table.PipelineComponentId) || x.PipelineComponentId.Contains(table.PipelineComponentId)) &&
|
||||||
(string.IsNullOrEmpty(table.MaterialCode) || x.MaterialCode.Contains(table.MaterialCode))
|
(string.IsNullOrEmpty(table.MaterialCode) || x.MaterialCode.Contains(table.MaterialCode))
|
||||||
|
orderby x.SortIndex
|
||||||
select new Model.Tw_InOutDetailOutput
|
select new Model.Tw_InOutDetailOutput
|
||||||
{
|
{
|
||||||
Id = x.Id,
|
Id = x.Id,
|
||||||
@@ -94,6 +95,7 @@ namespace BLL
|
|||||||
MaterialCode = newtable.MaterialCode,
|
MaterialCode = newtable.MaterialCode,
|
||||||
PlanNum = newtable.PlanNum,
|
PlanNum = newtable.PlanNum,
|
||||||
ActNum = newtable.ActNum,
|
ActNum = newtable.ActNum,
|
||||||
|
SortIndex = newtable.SortIndex
|
||||||
};
|
};
|
||||||
Funs.DB.Tw_InOutPlanDetail.InsertOnSubmit(table);
|
Funs.DB.Tw_InOutPlanDetail.InsertOnSubmit(table);
|
||||||
Funs.DB.SubmitChanges();
|
Funs.DB.SubmitChanges();
|
||||||
@@ -106,11 +108,14 @@ namespace BLL
|
|||||||
/// <param name="inoutPlanMasterId"></param>
|
/// <param name="inoutPlanMasterId"></param>
|
||||||
public static void AddList(IEnumerable<Model.Tw_InOutPlanDetail> list, string inoutPlanMasterId)
|
public static void AddList(IEnumerable<Model.Tw_InOutPlanDetail> list, string inoutPlanMasterId)
|
||||||
{
|
{
|
||||||
|
int sortIndex = 1;
|
||||||
foreach (var item in list)
|
foreach (var item in list)
|
||||||
{
|
{
|
||||||
item.Id= SQLHelper.GetNewID();
|
item.Id= SQLHelper.GetNewID();
|
||||||
|
item.SortIndex= sortIndex;
|
||||||
item.InOutPlanMasterId = inoutPlanMasterId;
|
item.InOutPlanMasterId = inoutPlanMasterId;
|
||||||
Add(item);
|
Add(item);
|
||||||
|
sortIndex++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static void Update(Model.Tw_InOutPlanDetail newtable)
|
public static void Update(Model.Tw_InOutPlanDetail newtable)
|
||||||
@@ -125,6 +130,7 @@ namespace BLL
|
|||||||
table.MaterialCode = newtable.MaterialCode;
|
table.MaterialCode = newtable.MaterialCode;
|
||||||
table.PlanNum = newtable.PlanNum;
|
table.PlanNum = newtable.PlanNum;
|
||||||
table.ActNum = newtable.ActNum;
|
table.ActNum = newtable.ActNum;
|
||||||
|
table.SortIndex= newtable.SortIndex;
|
||||||
Funs.DB.SubmitChanges();
|
Funs.DB.SubmitChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ namespace BLL
|
|||||||
from warehouseperson in warehousepersons.DefaultIfEmpty()
|
from warehouseperson in warehousepersons.DefaultIfEmpty()
|
||||||
join unit in Funs.DB.Base_Unit on x.ReqUnitId equals unit.UnitId into units
|
join unit in Funs.DB.Base_Unit on x.ReqUnitId equals unit.UnitId into units
|
||||||
from unit in units.DefaultIfEmpty()
|
from unit in units.DefaultIfEmpty()
|
||||||
|
orderby x.CreateDate descending
|
||||||
where
|
where
|
||||||
(string.IsNullOrEmpty(table.Id) || x.Id.Contains(table.Id)) &&
|
(string.IsNullOrEmpty(table.Id) || x.Id.Contains(table.Id)) &&
|
||||||
(string.IsNullOrEmpty(table.ProjectId) || x.ProjectId.Contains(table.ProjectId)) &&
|
(string.IsNullOrEmpty(table.ProjectId) || x.ProjectId.Contains(table.ProjectId)) &&
|
||||||
@@ -157,6 +158,7 @@ namespace BLL
|
|||||||
var result = q.Skip(grid1.PageSize * grid1.PageIndex).Take(grid1.PageSize).ToList();
|
var result = q.Skip(grid1.PageSize * grid1.PageIndex).Take(grid1.PageSize).ToList();
|
||||||
// q = SortConditionHelper.SortingAndPaging(q, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
// q = SortConditionHelper.SortingAndPaging(q, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||||
return from x in result
|
return from x in result
|
||||||
|
|
||||||
select new Model.Tw_InOutMasterOutput
|
select new Model.Tw_InOutMasterOutput
|
||||||
{
|
{
|
||||||
Id = x.Id,
|
Id = x.Id,
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ namespace BLL
|
|||||||
(string.IsNullOrEmpty(table.InputMasterId) || x.InputMasterId.Contains(table.InputMasterId)) &&
|
(string.IsNullOrEmpty(table.InputMasterId) || x.InputMasterId.Contains(table.InputMasterId)) &&
|
||||||
(string.IsNullOrEmpty(table.PipelineComponentId) || x.PipelineComponentId.Contains(table.PipelineComponentId)) &&
|
(string.IsNullOrEmpty(table.PipelineComponentId) || x.PipelineComponentId.Contains(table.PipelineComponentId)) &&
|
||||||
(string.IsNullOrEmpty(table.MaterialCode) || x.MaterialCode.Contains(table.MaterialCode))
|
(string.IsNullOrEmpty(table.MaterialCode) || x.MaterialCode.Contains(table.MaterialCode))
|
||||||
|
orderby x.SortIndex
|
||||||
select new Model.Tw_InOutDetailOutput
|
select new Model.Tw_InOutDetailOutput
|
||||||
{
|
{
|
||||||
Id = x.Id,
|
Id = x.Id,
|
||||||
@@ -45,7 +46,8 @@ namespace BLL
|
|||||||
ActNum = x.ActNum,
|
ActNum = x.ActNum,
|
||||||
PipelineComponentCode = y.PipelineComponentCode,
|
PipelineComponentCode = y.PipelineComponentCode,
|
||||||
MaterialName = mat.MaterialName,
|
MaterialName = mat.MaterialName,
|
||||||
MaterialDef = mat.MaterialDef
|
MaterialDef = mat.MaterialDef,
|
||||||
|
SortIndex = x.SortIndex
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -88,6 +90,7 @@ namespace BLL
|
|||||||
MaterialCode = newtable.MaterialCode,
|
MaterialCode = newtable.MaterialCode,
|
||||||
PlanNum = newtable.PlanNum,
|
PlanNum = newtable.PlanNum,
|
||||||
ActNum = newtable.ActNum,
|
ActNum = newtable.ActNum,
|
||||||
|
SortIndex = newtable.SortIndex
|
||||||
};
|
};
|
||||||
Funs.DB.Tw_InputDetail.InsertOnSubmit(table);
|
Funs.DB.Tw_InputDetail.InsertOnSubmit(table);
|
||||||
Funs.DB.SubmitChanges();
|
Funs.DB.SubmitChanges();
|
||||||
@@ -105,6 +108,7 @@ namespace BLL
|
|||||||
table.MaterialCode = newtable.MaterialCode;
|
table.MaterialCode = newtable.MaterialCode;
|
||||||
table.PlanNum = newtable.PlanNum;
|
table.PlanNum = newtable.PlanNum;
|
||||||
table.ActNum = newtable.ActNum;
|
table.ActNum = newtable.ActNum;
|
||||||
|
table.SortIndex = newtable.SortIndex;
|
||||||
Funs.DB.SubmitChanges();
|
Funs.DB.SubmitChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -121,5 +125,24 @@ namespace BLL
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static IEnumerable GePrintListByInputMasterIds(List<string> inputMasterIds)
|
||||||
|
{
|
||||||
|
var q = from x in Funs.DB.Tw_InputDetail
|
||||||
|
join mat in Funs.DB.HJGL_MaterialCodeLib on x.MaterialCode equals mat.MaterialCode into mm
|
||||||
|
from mat in mm.DefaultIfEmpty()
|
||||||
|
join y in Funs.DB.Tw_InputMaster on x.InputMasterId equals y.Id
|
||||||
|
where inputMasterIds.Contains(x.InputMasterId)
|
||||||
|
orderby y.CusBillCode,x.SortIndex
|
||||||
|
select new
|
||||||
|
{
|
||||||
|
入库单编号 = y.CusBillCode,
|
||||||
|
材料编码 = x.MaterialCode,
|
||||||
|
材料名称 = mat.MaterialName,
|
||||||
|
材料描述 = mat.MaterialDef,
|
||||||
|
计划数量 = x.PlanNum,
|
||||||
|
实际数量 = x.ActNum,
|
||||||
|
};
|
||||||
|
return q;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -294,6 +294,7 @@ namespace BLL
|
|||||||
MaterialCode = detail.MaterialCode,
|
MaterialCode = detail.MaterialCode,
|
||||||
PlanNum = detail.PlanNum,
|
PlanNum = detail.PlanNum,
|
||||||
ActNum = detail.ActNum,
|
ActNum = detail.ActNum,
|
||||||
|
SortIndex = detail.SortIndex,
|
||||||
};
|
};
|
||||||
TwInputdetailService.Add(detailTable);
|
TwInputdetailService.Add(detailTable);
|
||||||
TwMaterialstockService.UpdateStockNum(master.ProjectId, detail.MaterialCode, master.WarehouseCode, TwConst.InOutType.入库, detailTable.ActNum);
|
TwMaterialstockService.UpdateStockNum(master.ProjectId, detail.MaterialCode, master.WarehouseCode, TwConst.InOutType.入库, detailTable.ActNum);
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ namespace BLL
|
|||||||
from mat in mm.DefaultIfEmpty()
|
from mat in mm.DefaultIfEmpty()
|
||||||
join master in Funs.DB.Tw_OutputMaster on x.OutputMasterId equals master.Id into masters
|
join master in Funs.DB.Tw_OutputMaster on x.OutputMasterId equals master.Id into masters
|
||||||
from master in masters.DefaultIfEmpty()
|
from master in masters.DefaultIfEmpty()
|
||||||
join stock in Funs.DB.Tw_MaterialStock on new { x.MaterialCode,master.WarehouseCode} equals new { MaterialCode=stock.PipeLineMatCode,stock.WarehouseCode } into st
|
join stock in Funs.DB.Tw_MaterialStock on new { x.MaterialCode, master.WarehouseCode, master.ProjectId } equals new { MaterialCode = stock.PipeLineMatCode, stock.WarehouseCode, stock.ProjectId } into st
|
||||||
from stock in st.DefaultIfEmpty()
|
from stock in st.DefaultIfEmpty()
|
||||||
where
|
where
|
||||||
(string.IsNullOrEmpty(table.Id) || x.Id.Contains(table.Id)) &&
|
(string.IsNullOrEmpty(table.Id) || x.Id.Contains(table.Id)) &&
|
||||||
|
|||||||
@@ -237,11 +237,12 @@ namespace BLL
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据管线code获取管线信息
|
/// 根据管线code获取管线信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="projectId"></param>
|
||||||
/// <param name="pipelineCode"></param>
|
/// <param name="pipelineCode"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static Model.HJGL_Pipeline GetPipelineByPipelineCode(string pipelineCode)
|
public static Model.HJGL_Pipeline GetPipelineByPipelineCode(string projectId, string pipelineCode)
|
||||||
{
|
{
|
||||||
return Funs.DB.HJGL_Pipeline.FirstOrDefault(e => e.PipelineCode == pipelineCode);
|
return Funs.DB.HJGL_Pipeline.FirstOrDefault(e => e.PipelineCode == pipelineCode&&e.ProjectId==projectId );
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据管线信息筛选管线
|
/// 根据管线信息筛选管线
|
||||||
|
|||||||
@@ -34,11 +34,20 @@ namespace FineUIPro.Web.CLGL
|
|||||||
{
|
{
|
||||||
var tb = BLL.TwArrivalStatisticsService.GetStatistics(this.CurrUser.LoginProjectId, txtMaterialCode.Text.Trim(), drpWarehouse.SelectedValue);
|
var tb = BLL.TwArrivalStatisticsService.GetStatistics(this.CurrUser.LoginProjectId, txtMaterialCode.Text.Trim(), drpWarehouse.SelectedValue);
|
||||||
|
|
||||||
lbRate.Text="总体匹配率:"+ Math.Round( tb.Sum(x=>x.MatchRate)*100/tb.Count() ,4) + "%";
|
if (tb.Count() > 0)
|
||||||
|
{
|
||||||
|
lbRate.Text = "总体匹配率:" + Math.Round(tb.Sum(x => x.MatchRate) * 100 / tb.Count(), 4) + "%";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lbRate.Text = "总体匹配率:0%";
|
||||||
|
}
|
||||||
|
|
||||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||||
Grid1.DataSource = tb;
|
Grid1.DataSource = tb;
|
||||||
Grid1.DataBind();
|
Grid1.DataBind();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region GV 数据操作
|
#region GV 数据操作
|
||||||
|
|||||||
@@ -65,9 +65,9 @@
|
|||||||
</f:Button>
|
</f:Button>
|
||||||
<f:Button ID="btnImport" Text="导入" ToolTip="导入" Icon="PackageIn" runat="server" OnClick="btnImport_Click">
|
<f:Button ID="btnImport" Text="导入" ToolTip="导入" Icon="PackageIn" runat="server" OnClick="btnImport_Click">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
<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>--%>
|
||||||
</Items>
|
</Items>
|
||||||
</f:Toolbar>
|
</f:Toolbar>
|
||||||
</Toolbars>
|
</Toolbars>
|
||||||
@@ -143,7 +143,14 @@
|
|||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="MaterialCode"
|
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="MaterialCode"
|
||||||
SortDirection="DESC" EnableColumnLines="true"
|
SortDirection="DESC" EnableColumnLines="true"
|
||||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10000" >
|
AllowPaging="true" IsDatabasePaging="true" PageSize="10000" EnableTextSelection="True" >
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:TextBox runat="server" ID="txtMaterialCode" Label="材料编码" AutoPostBack="True" OnTextChanged="txtMaterialCode_OnTextChanged" LabelWidth="100px" LabelAlign="Right" Width="200px"/>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
<Columns>
|
<Columns>
|
||||||
<f:TemplateField ColumnID="tfNumber" Width="50px" HeaderText="序号" HeaderTextAlign="Center"
|
<f:TemplateField ColumnID="tfNumber" Width="50px" HeaderText="序号" HeaderTextAlign="Center"
|
||||||
TextAlign="Center">
|
TextAlign="Center">
|
||||||
@@ -152,7 +159,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</f:TemplateField>
|
</f:TemplateField>
|
||||||
<f:RenderField Width="150px" ColumnID="MaterialCode" DataField="MaterialCode" SortField="MaterialCode"
|
<f:RenderField Width="150px" ColumnID="MaterialCode" DataField="MaterialCode" SortField="MaterialCode"
|
||||||
FieldType="String" HeaderText="材料编码" TextAlign="Left" HeaderTextAlign="Center">
|
FieldType="String" HeaderText="材料编码" TextAlign="Left" HeaderTextAlign="Center" >
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="150px" ColumnID="MaterialName" DataField="MaterialName" SortField="MaterialName"
|
<f:RenderField Width="150px" ColumnID="MaterialName" DataField="MaterialName" SortField="MaterialName"
|
||||||
FieldType="String" HeaderText="材料名称" TextAlign="Left" HeaderTextAlign="Center">
|
FieldType="String" HeaderText="材料名称" TextAlign="Left" HeaderTextAlign="Center">
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ namespace FineUIPro.Web.CLGL
|
|||||||
{
|
{
|
||||||
Model.Tw_InOutDetailOutput table = new Model.Tw_InOutDetailOutput();
|
Model.Tw_InOutDetailOutput table = new Model.Tw_InOutDetailOutput();
|
||||||
table.InOutPlanMasterId = inOutPlanMasterId;
|
table.InOutPlanMasterId = inOutPlanMasterId;
|
||||||
|
table.MaterialCode = txtMaterialCode.Text;
|
||||||
var tb = BLL.TwInOutplandetailService.GetListData(table, Grid2);
|
var tb = BLL.TwInOutplandetailService.GetListData(table, Grid2);
|
||||||
Grid2.DataSource = tb;
|
Grid2.DataSource = tb;
|
||||||
Grid2.DataBind();
|
Grid2.DataBind();
|
||||||
@@ -329,7 +330,6 @@ namespace FineUIPro.Web.CLGL
|
|||||||
this.btnMenuEdit.Hidden = false;
|
this.btnMenuEdit.Hidden = false;
|
||||||
this.btnGenInMaster.Hidden = false;
|
this.btnGenInMaster.Hidden = false;
|
||||||
this.btnRevokeGenInMaster.Hidden = false;
|
this.btnRevokeGenInMaster.Hidden = false;
|
||||||
this.btnPassMaster.Hidden = false;
|
|
||||||
}
|
}
|
||||||
if (buttonList.Contains(BLL.Const.BtnDelete))
|
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||||
{
|
{
|
||||||
@@ -438,8 +438,8 @@ namespace FineUIPro.Web.CLGL
|
|||||||
AuditDate = string.Format("{0:yyyy-MM-dd}", result.AuditDate),
|
AuditDate = string.Format("{0:yyyy-MM-dd}", result.AuditDate),
|
||||||
AuditManName2 = !string.IsNullOrEmpty(result.AuditMan2) ? BLL.Person_PersonsService.getSignatureUrl(result.AuditMan2) : "",
|
AuditManName2 = !string.IsNullOrEmpty(result.AuditMan2) ? BLL.Person_PersonsService.getSignatureUrl(result.AuditMan2) : "",
|
||||||
AuditDate2 = string.Format("{0:yyyy-MM-dd}", result.AuditDate2),
|
AuditDate2 = string.Format("{0:yyyy-MM-dd}", result.AuditDate2),
|
||||||
WarehouseManName = !string.IsNullOrEmpty(result.WarehouseMan) ? BLL.Person_PersonsService.getSignatureUrl(result.WarehouseMan) : "",
|
WarehouseManName = !string.IsNullOrEmpty(result.CreateManName) ? BLL.Person_PersonsService.getSignatureUrl(result.CreateMan) : "",
|
||||||
WarehouseManAuditDate = string.Format("{0:yyyy-MM-dd}", result.WarehouseDate),
|
WarehouseManAuditDate = string.Format("{0:yyyy-MM-dd}", result.CreateDate),
|
||||||
};
|
};
|
||||||
tw_PrintMasters.Add(printMaster);
|
tw_PrintMasters.Add(printMaster);
|
||||||
// orderApproveIn.ProjectManager = !string.IsNullOrEmpty(approveManModels.InputApproveMan.ProjectManager) ? BLL.Person_PersonsService.getSignatureUrl(approveManModels.InputApproveMan.ProjectManager) : "";
|
// orderApproveIn.ProjectManager = !string.IsNullOrEmpty(approveManModels.InputApproveMan.ProjectManager) ? BLL.Person_PersonsService.getSignatureUrl(approveManModels.InputApproveMan.ProjectManager) : "";
|
||||||
@@ -479,6 +479,7 @@ namespace FineUIPro.Web.CLGL
|
|||||||
var tw_PrintDetail = ( from x in Funs.DB.Tw_InOutPlanDetail
|
var tw_PrintDetail = ( from x in Funs.DB.Tw_InOutPlanDetail
|
||||||
join y in Funs.DB.HJGL_MaterialCodeLib on x.MaterialCode equals y.MaterialCode
|
join y in Funs.DB.HJGL_MaterialCodeLib on x.MaterialCode equals y.MaterialCode
|
||||||
where x.InOutPlanMasterId==Id
|
where x.InOutPlanMasterId==Id
|
||||||
|
orderby x.SortIndex
|
||||||
select new Model.Tw_PrintDetail
|
select new Model.Tw_PrintDetail
|
||||||
{
|
{
|
||||||
SortIndex =0,
|
SortIndex =0,
|
||||||
@@ -518,5 +519,9 @@ namespace FineUIPro.Web.CLGL
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void txtMaterialCode_OnTextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
BindDetailGrid(Grid1.SelectedRowID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+9
-9
@@ -149,15 +149,6 @@ namespace FineUIPro.Web.CLGL
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnImport;
|
protected global::FineUIPro.Button btnImport;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnOut 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnOut;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lblNumber 控件。
|
/// lblNumber 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -221,6 +212,15 @@ namespace FineUIPro.Web.CLGL
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Grid Grid2;
|
protected global::FineUIPro.Grid Grid2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtMaterialCode 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtMaterialCode;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Label1 控件。
|
/// Label1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<form id="form1" runat="server">
|
<form id="form1" runat="server">
|
||||||
<div>
|
<div>
|
||||||
<f:PageManager runat="server" AutoSizePanelID="Form2" />
|
<f:PageManager runat="server" AutoSizePanelID="Form2" />
|
||||||
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true" Title="出库单详情"
|
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true" Title="入库单详情"
|
||||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
<f:Toolbar ID="TbCreate" Position="Top" ToolbarAlign="Right" runat="server" >
|
<f:Toolbar ID="TbCreate" Position="Top" ToolbarAlign="Right" runat="server" >
|
||||||
@@ -54,12 +54,17 @@
|
|||||||
</Items>
|
</Items>
|
||||||
</f:Panel>
|
</f:Panel>
|
||||||
|
|
||||||
<f:Grid ID="Grid1" ShowBorder="true" EnableAjax="false" ShowHeader="true" Title="出库单列表"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" Title="入库单列表" IsFluid="true"
|
||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true" ForceFit="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true" ForceFit="True"
|
||||||
DataIDField="Id" EnableColumnLines="true" Height="400" EnableBigData="true"
|
DataIDField="Id" EnableCollapse="false" EnableBigData="true" Height="400"
|
||||||
EnableTextSelection="True">
|
EnableTextSelection="True" ClicksToEdit="1">
|
||||||
<Columns>
|
<Columns>
|
||||||
|
<f:TemplateField ColumnID="tfNumber" Width="50px" HeaderText="序号" HeaderTextAlign="Center"
|
||||||
|
TextAlign="Center">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="Label1" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
<f:RenderField Width="150px" ColumnID="MaterialCode" DataField="MaterialCode" SortField="MaterialCode"
|
<f:RenderField Width="150px" ColumnID="MaterialCode" DataField="MaterialCode" SortField="MaterialCode"
|
||||||
FieldType="String" HeaderText="材料编码" TextAlign="Left" HeaderTextAlign="Center">
|
FieldType="String" HeaderText="材料编码" TextAlign="Left" HeaderTextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ namespace FineUIPro.Web.CLGL
|
|||||||
txtCreateDate.Text = string.Format("{0:yyyy-MM-dd}", model.CreateDate);
|
txtCreateDate.Text = string.Format("{0:yyyy-MM-dd}", model.CreateDate);
|
||||||
txtCreateMan.Text = Person_PersonsService.GetPersonsNameById(model.CreateMan);
|
txtCreateMan.Text = Person_PersonsService.GetPersonsNameById(model.CreateMan);
|
||||||
txtReqUnitName.Text = UnitService.GetUnitNameByUnitId(model.ReqUnitId);
|
txtReqUnitName.Text = UnitService.GetUnitNameByUnitId(model.ReqUnitId);
|
||||||
|
txtRemark.Text = model.Remark;
|
||||||
|
|
||||||
var queryModel = new Model.Tw_InOutDetailOutput()
|
var queryModel = new Model.Tw_InOutDetailOutput()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -140,6 +140,15 @@ namespace FineUIPro.Web.CLGL
|
|||||||
/// </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>
|
||||||
/// tbActNum 控件。
|
/// tbActNum 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -22,6 +22,10 @@
|
|||||||
.f-grid-row.red {
|
.f-grid-row.red {
|
||||||
background-color: darkgoldenrod;
|
background-color: darkgoldenrod;
|
||||||
}
|
}
|
||||||
|
.f-grid-row-summary .f-grid-cell-inner {
|
||||||
|
font-weight: bold;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -38,9 +42,9 @@
|
|||||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="出入库计划主表" EnableCollapse="true" ForceFit="true"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="出入库计划主表" EnableCollapse="true" ForceFit="true"
|
||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="Id"
|
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="Id"
|
||||||
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true"
|
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true" EnableCheckBoxSelect="True"
|
||||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableRowClickEvent="true" OnRowClick="Grid1_RowClick" OnRowCommand="Grid1_RowCommand">
|
EnableRowDoubleClickEvent="true" EnableRowClickEvent="true" OnRowClick="Grid1_RowClick" OnRowCommand="Grid1_RowCommand">
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||||
<Items>
|
<Items>
|
||||||
@@ -128,7 +132,7 @@
|
|||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="Id"
|
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="Id"
|
||||||
SortDirection="DESC" EnableColumnLines="true"
|
SortDirection="DESC" EnableColumnLines="true"
|
||||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10000">
|
AllowPaging="true" IsDatabasePaging="true" PageSize="10000" EnableSummary="true" SummaryPosition="Bottom">
|
||||||
<Columns>
|
<Columns>
|
||||||
<f:TemplateField ColumnID="tfNumber" Width="50px" HeaderText="序号" HeaderTextAlign="Center"
|
<f:TemplateField ColumnID="tfNumber" Width="50px" HeaderText="序号" HeaderTextAlign="Center"
|
||||||
TextAlign="Center">
|
TextAlign="Center">
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using BLL;
|
using BLL;
|
||||||
|
using MiniExcelLibs;
|
||||||
using Model;
|
using Model;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -9,6 +10,7 @@ using System.Text;
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace FineUIPro.Web.CLGL
|
namespace FineUIPro.Web.CLGL
|
||||||
{
|
{
|
||||||
@@ -72,15 +74,26 @@ namespace FineUIPro.Web.CLGL
|
|||||||
var tb = BLL.TwInputdetailService.GetListData(table, Grid2);
|
var tb = BLL.TwInputdetailService.GetListData(table, Grid2);
|
||||||
Grid2.DataSource = tb;
|
Grid2.DataSource = tb;
|
||||||
Grid2.DataBind();
|
Grid2.DataBind();
|
||||||
|
var planNumTotal = 0m;
|
||||||
|
var actNumTotal = 0m;
|
||||||
for (int i = 0; i < Grid2.Rows.Count; i++)
|
for (int i = 0; i < Grid2.Rows.Count; i++)
|
||||||
{
|
{
|
||||||
var model = Grid2.Rows[i].DataItem as Model.Tw_InOutDetailOutput;
|
var model = Grid2.Rows[i].DataItem as Model.Tw_InOutDetailOutput;
|
||||||
|
planNumTotal += (model.PlanNum ??0m );
|
||||||
|
actNumTotal += (model.ActNum ??0m );
|
||||||
if (model.ActNum != model.PlanNum)
|
if (model.ActNum != model.PlanNum)
|
||||||
{
|
{
|
||||||
Grid2.Rows[i].RowCssClass = "red";
|
Grid2.Rows[i].RowCssClass = "red";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
JObject summary = new JObject();
|
||||||
|
//summary.Add("Major", "全部合计");
|
||||||
|
summary.Add("PlanNum", planNumTotal.ToString("F2"));
|
||||||
|
summary.Add("ActNum", actNumTotal.ToString("F2"));
|
||||||
|
|
||||||
|
|
||||||
|
Grid2.SummaryData = summary;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@@ -243,15 +256,26 @@ namespace FineUIPro.Web.CLGL
|
|||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
protected void btnOut_Click(object sender, EventArgs e)
|
protected void btnOut_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Response.ClearContent();
|
if (Grid1.SelectedRowIDArray.Length>0)
|
||||||
string filename = Funs.GetNewFileName();
|
{
|
||||||
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("出入库计划主表" + filename, System.Text.Encoding.UTF8) + ".xls");
|
var printModel= TwInputdetailService.GePrintListByInputMasterIds(Grid1.SelectedRowIDArray.ToList());
|
||||||
Response.ContentType = "application/excel";
|
string path = Funs.RootPath + @"File\Excel\Temp\InputDetail.xlsx";
|
||||||
Response.ContentEncoding = System.Text.Encoding.UTF8;
|
path = path.Replace(".xlsx", string.Format("{0:yyyy-MM-dd-HH-mm}", DateTime.Now) + ".xlsx");
|
||||||
this.Grid1.PageSize = 500;
|
|
||||||
this.BindGrid();
|
MiniExcel.SaveAs(path, printModel);
|
||||||
Response.Write(GetGridTableHtml(Grid1));
|
|
||||||
Response.End();
|
string fileName = "入库明细表.xlsx";
|
||||||
|
FileInfo info = new FileInfo(path);
|
||||||
|
long fileSize = info.Length;
|
||||||
|
System.Web.HttpContext.Current.Response.Clear();
|
||||||
|
System.Web.HttpContext.Current.Response.ContentType = "application/x-zip-compressed";
|
||||||
|
System.Web.HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
|
||||||
|
System.Web.HttpContext.Current.Response.AddHeader("Content-Length", fileSize.ToString());
|
||||||
|
System.Web.HttpContext.Current.Response.TransmitFile(path, 0, fileSize);
|
||||||
|
System.Web.HttpContext.Current.Response.Flush();
|
||||||
|
System.Web.HttpContext.Current.Response.Close();
|
||||||
|
File.Delete(path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -320,7 +344,7 @@ namespace FineUIPro.Web.CLGL
|
|||||||
Model.Tw_PrintMaster printMaster = new Model.Tw_PrintMaster
|
Model.Tw_PrintMaster printMaster = new Model.Tw_PrintMaster
|
||||||
{
|
{
|
||||||
|
|
||||||
ReqUnitName = result.ReqUnitName,
|
ReqUnitName = UnitService.GetUnitNameByUnitId(Person_PersonsService.GetPerson_PersonsById(result.CreateMan).UnitId),
|
||||||
CusBillCode = result.CusBillCode,
|
CusBillCode = result.CusBillCode,
|
||||||
CreateDate = result.CreateDate.Value.ToString("yyyy-MM-dd"),
|
CreateDate = result.CreateDate.Value.ToString("yyyy-MM-dd"),
|
||||||
ProjectName = ProjectService.GetProjectNameByProjectId(result.ProjectId),
|
ProjectName = ProjectService.GetProjectNameByProjectId(result.ProjectId),
|
||||||
@@ -370,6 +394,7 @@ namespace FineUIPro.Web.CLGL
|
|||||||
var tw_PrintDetail = (from x in Funs.DB.Tw_InputDetail
|
var tw_PrintDetail = (from x in Funs.DB.Tw_InputDetail
|
||||||
join y in Funs.DB.HJGL_MaterialCodeLib on x.MaterialCode equals y.MaterialCode
|
join y in Funs.DB.HJGL_MaterialCodeLib on x.MaterialCode equals y.MaterialCode
|
||||||
where x.InputMasterId == Id
|
where x.InputMasterId == Id
|
||||||
|
orderby x.SortIndex
|
||||||
select new Model.Tw_PrintDetail
|
select new Model.Tw_PrintDetail
|
||||||
{
|
{
|
||||||
SortIndex = 0,
|
SortIndex = 0,
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="Id"
|
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="Id"
|
||||||
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true" EnableTextSelection="True"
|
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true" EnableTextSelection="True"
|
||||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" >
|
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange">
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||||
<Items>
|
<Items>
|
||||||
|
|||||||
@@ -165,7 +165,7 @@
|
|||||||
<f:Grid ID="Grid2" ShowBorder="False" ShowHeader="False" Title="出库明细" EnableCollapse="true"
|
<f:Grid ID="Grid2" ShowBorder="False" ShowHeader="False" Title="出库明细" EnableCollapse="true"
|
||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="MaterialCode"
|
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="MaterialCode"
|
||||||
SortDirection="DESC" EnableColumnLines="true"
|
SortDirection="DESC" EnableColumnLines="true" EnableTextSelection="True"
|
||||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10000">
|
AllowPaging="true" IsDatabasePaging="true" PageSize="10000">
|
||||||
<Columns>
|
<Columns>
|
||||||
|
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
<f:Grid ID="Grid2" ShowBorder="False" ShowHeader="False" Title="入库申请明细表" EnableCollapse="true"
|
<f:Grid ID="Grid2" ShowBorder="False" ShowHeader="False" Title="入库申请明细表" EnableCollapse="true"
|
||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="MaterialCode"
|
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="MaterialCode"
|
||||||
SortDirection="DESC" EnableColumnLines="true"
|
SortDirection="DESC" EnableColumnLines="true" EnableTextSelection="True"
|
||||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10000">
|
AllowPaging="true" IsDatabasePaging="true" PageSize="10000">
|
||||||
<Columns>
|
<Columns>
|
||||||
<%--<f:RenderField Width="150px" ColumnID="PipelineComponent" DataField="PipelineComponent" SortField="PipelineComponent"
|
<%--<f:RenderField Width="150px" ColumnID="PipelineComponent" DataField="PipelineComponent" SortField="PipelineComponent"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="11/07/2024 16:15:13" ReportInfo.CreatorVersion="2017.1.16.0">
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="11/14/2024 15:01:58" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||||
<ScriptText>using System;
|
<ScriptText>using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -84,7 +84,7 @@ namespace FastReport
|
|||||||
}
|
}
|
||||||
</ScriptText>
|
</ScriptText>
|
||||||
<Dictionary>
|
<Dictionary>
|
||||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaUHihKXxbhpqie4wmZgM2ymDKry7UxzO5md9ybQlkfKpN2rHYbp9GtH1LDQPa7z2vVu/kEnNnTKeHt9obmaC7TQDh0IvsUBSuzhGZdfAIK7YyBqykCgeZm5rvA6K5b7zHGdA+7pUpJ/9ZLpp1NuxWREljhlknPe0ucx4RV8UxTdJ"/>
|
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaUHihKXxbhpqie4wmZgM2ymDKry7UxzO5md9ybQlkfKpN2rHYbp9GtH1LDQPa7z2vVu/kEnNnTKeHt9obmaC7TQDh0IvsUBSuzhGZdfAIK7YyBqykCgeZm5rvA6K5b7zHGdA+7pUpJ/9ZLpp1NuxWRE58amxPqMQ7WmKl5O5d2cK"/>
|
||||||
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
|
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
|
||||||
<Column Name="BillName" DataType="System.String" PropName="CH_TrustCode"/>
|
<Column Name="BillName" DataType="System.String" PropName="CH_TrustCode"/>
|
||||||
<Column Name="ReqUnitName" DataType="System.String" PropName="CH_TrustUnit"/>
|
<Column Name="ReqUnitName" DataType="System.String" PropName="CH_TrustUnit"/>
|
||||||
@@ -154,7 +154,7 @@ namespace FastReport
|
|||||||
<TableCell Name="Cell323" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
<TableCell Name="Cell323" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
||||||
<TableCell Name="Cell324" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
<TableCell Name="Cell324" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
||||||
<TableCell Name="Cell325" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell325" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
<TableCell Name="Cell326" Border.Lines="All" Text="领料单位:[Table1.ReqUnitName]" VertAlign="Center" Font="宋体, 10pt, style=Bold" ColSpan="4"/>
|
<TableCell Name="Cell326" Border.Lines="All" Text="入库单位:[Table1.ReqUnitName]" VertAlign="Center" Font="宋体, 10pt, style=Bold" ColSpan="4"/>
|
||||||
<TableCell Name="Cell327" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell327" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
<TableCell Name="Cell328" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell328" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
<TableCell Name="Cell330" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell330" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="11/07/2024 16:12:57" ReportInfo.CreatorVersion="2017.1.16.0">
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="11/14/2024 14:57:38" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||||
<ScriptText>using System;
|
<ScriptText>using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -84,7 +84,7 @@ namespace FastReport
|
|||||||
}
|
}
|
||||||
</ScriptText>
|
</ScriptText>
|
||||||
<Dictionary>
|
<Dictionary>
|
||||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaUHihKXxbhpqie4wmZgM2ymDKry7UxzO5md9ybQlkfKpN2rHYbp9GtH1LDQPa7z2vVu/kEnNnTKeHt9obmaC7TQDh0IvsUBSuzhGZdfAIK7YyBqykCgeZm5rvA6K5b7zHGdA+7pUpJ/9ZLpp1NuxWREle+zCYpLB66N/WZ+YJ430"/>
|
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaUHihKXxbhpqie4wmZgM2ymDKry7UxzO5md9ybQlkfKpN2rHYbp9GtH1LDQPa7z2vVu/kEnNnTKeHt9obmaC7TQDh0IvsUBSuzhGZdfAIK7YyBqykCgeZm5rvA6K5b7zHGdA+7pUpJ/9ZLpp1NuxWRGXnEOHTYOWgB9BnZw69mb2"/>
|
||||||
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
|
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
|
||||||
<Column Name="BillName" DataType="System.String" PropName="CH_TrustCode"/>
|
<Column Name="BillName" DataType="System.String" PropName="CH_TrustCode"/>
|
||||||
<Column Name="ReqUnitName" DataType="System.String" PropName="CH_TrustUnit"/>
|
<Column Name="ReqUnitName" DataType="System.String" PropName="CH_TrustUnit"/>
|
||||||
@@ -149,12 +149,12 @@ namespace FastReport
|
|||||||
<TableCell Name="Cell320" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
|
<TableCell Name="Cell320" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
<TableRow Name="Row38" Height="49.14">
|
<TableRow Name="Row38" Height="49.14">
|
||||||
<TableCell Name="Cell321" Border.Lines="All" Text="[Table1.BillName]:[Table1.CusBillCode]" VertAlign="Center" Font="宋体, 10pt" TextFill.Color="Red" ColSpan="4"/>
|
<TableCell Name="Cell321" Border.Lines="All" VertAlign="Center" Font="宋体, 10pt" TextFill.Color="Red" ColSpan="4"/>
|
||||||
<TableCell Name="Cell322" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
<TableCell Name="Cell322" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
||||||
<TableCell Name="Cell323" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
<TableCell Name="Cell323" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
||||||
<TableCell Name="Cell324" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
<TableCell Name="Cell324" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
|
||||||
<TableCell Name="Cell325" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell325" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
<TableCell Name="Cell326" Border.Lines="All" Text="领料单位:[Table1.ReqUnitName]" VertAlign="Center" Font="宋体, 10pt, style=Bold" ColSpan="4"/>
|
<TableCell Name="Cell326" Border.Lines="All" Text="[Table1.BillName]:[Table1.CusBillCode] " VertAlign="Center" Font="宋体, 10pt, style=Bold" ColSpan="4"/>
|
||||||
<TableCell Name="Cell327" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell327" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
<TableCell Name="Cell328" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell328" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
<TableCell Name="Cell330" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
<TableCell Name="Cell330" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -241,7 +241,9 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
/// 数据绑定
|
/// 数据绑定
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void BindGrid()
|
private void BindGrid()
|
||||||
|
|
||||||
{
|
{
|
||||||
|
if (tvControlItem.SelectedNode==null) return;
|
||||||
string strSql = @" SELECT distinct com.PipelineComponentId,com.PipelineComponentCode,com.BoxNumber,com.Remark,
|
string strSql = @" SELECT distinct com.PipelineComponentId,com.PipelineComponentCode,com.BoxNumber,com.Remark,
|
||||||
com.PipelineId, punit.UnitName AS PreUnit,aunit.UnitName AS AssembleUnit,com.IsPrint,
|
com.PipelineId, punit.UnitName AS PreUnit,aunit.UnitName AS AssembleUnit,com.IsPrint,
|
||||||
com.QRCode,com.State,com.ProductionState,pipe.PlanStartDate,pipe.FlowingSection,com.DrawingName,com.ReceiveDate,
|
com.QRCode,com.State,com.ProductionState,pipe.PlanStartDate,pipe.FlowingSection,com.DrawingName,com.ReceiveDate,
|
||||||
@@ -255,6 +257,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
WHERE 1=1 ";
|
WHERE 1=1 ";
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
|
|
||||||
|
|
||||||
if (tvControlItem.SelectedNode.CommandName.Split('|').Length == 2)
|
if (tvControlItem.SelectedNode.CommandName.Split('|').Length == 2)
|
||||||
{
|
{
|
||||||
strSql += " and pipe.UnitWorkId =@UnitWorkId";
|
strSql += " and pipe.UnitWorkId =@UnitWorkId";
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
|||||||
});
|
});
|
||||||
foreach (var item in dt)
|
foreach (var item in dt)
|
||||||
{
|
{
|
||||||
var pipeline = PipelineService.GetPipelineByPipelineCode(item.pipelinecode.Replace("\n", "").Replace(" ", "").Replace("\t", "").Replace("\r", ""));
|
var pipeline = PipelineService.GetPipelineByPipelineCode(this.CurrUser.LoginProjectId,item.pipelinecode.Replace("\n", "").Replace(" ", "").Replace("\t", "").Replace("\r", ""));
|
||||||
var hJGL_Pipeline_Component = HJGL_PipelineComponentService.GetPipelineComponentByCodeandpipelineId(item.PipelineComponentCode.Replace("\n", "").Replace(" ", "").Replace("\t", "").Replace("\r", ""), pipeline.PipelineId);
|
var hJGL_Pipeline_Component = HJGL_PipelineComponentService.GetPipelineComponentByCodeandpipelineId(item.PipelineComponentCode.Replace("\n", "").Replace(" ", "").Replace("\t", "").Replace("\r", ""), pipeline.PipelineId);
|
||||||
if (hJGL_Pipeline_Component!=null)
|
if (hJGL_Pipeline_Component!=null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -206,7 +206,7 @@
|
|||||||
|
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:Label ID="Label10" runat="server" CssClass="widthBlod" Text="七、 短名单资质标准确定"></f:Label>
|
<f:Label ID="Label10" runat="server" CssClass="widthBlod" Text="七、 分包商资质标准确定"></f:Label>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
|
|||||||
+181
-133
@@ -12037,7 +12037,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
|
||||||
@@ -154478,7 +154478,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
|
||||||
@@ -185437,7 +185437,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
|
||||||
@@ -185557,7 +185557,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
|
||||||
@@ -185617,7 +185617,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
|
||||||
@@ -186001,7 +186001,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
|
||||||
@@ -186306,16 +186306,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;
|
||||||
@@ -186344,6 +186334,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);
|
||||||
@@ -186352,16 +186352,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);
|
||||||
@@ -186390,6 +186380,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()
|
||||||
@@ -186437,106 +186437,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
|
||||||
{
|
{
|
||||||
@@ -186817,6 +186717,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;
|
||||||
@@ -259172,6 +259172,8 @@ namespace Model
|
|||||||
|
|
||||||
private System.Nullable<decimal> _ActNum;
|
private System.Nullable<decimal> _ActNum;
|
||||||
|
|
||||||
|
private System.Nullable<int> _SortIndex;
|
||||||
|
|
||||||
#region 可扩展性方法定义
|
#region 可扩展性方法定义
|
||||||
partial void OnLoaded();
|
partial void OnLoaded();
|
||||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
@@ -259188,6 +259190,8 @@ namespace Model
|
|||||||
partial void OnPlanNumChanged();
|
partial void OnPlanNumChanged();
|
||||||
partial void OnActNumChanging(System.Nullable<decimal> value);
|
partial void OnActNumChanging(System.Nullable<decimal> value);
|
||||||
partial void OnActNumChanged();
|
partial void OnActNumChanged();
|
||||||
|
partial void OnSortIndexChanging(System.Nullable<int> value);
|
||||||
|
partial void OnSortIndexChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public Tw_InOutPlanDetail()
|
public Tw_InOutPlanDetail()
|
||||||
@@ -259315,6 +259319,26 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
|
||||||
|
public System.Nullable<int> SortIndex
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._SortIndex;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._SortIndex != value))
|
||||||
|
{
|
||||||
|
this.OnSortIndexChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._SortIndex = value;
|
||||||
|
this.SendPropertyChanged("SortIndex");
|
||||||
|
this.OnSortIndexChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public event PropertyChangingEventHandler PropertyChanging;
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
@@ -260078,6 +260102,8 @@ namespace Model
|
|||||||
|
|
||||||
private System.Nullable<decimal> _ActNum;
|
private System.Nullable<decimal> _ActNum;
|
||||||
|
|
||||||
|
private System.Nullable<int> _SortIndex;
|
||||||
|
|
||||||
#region 可扩展性方法定义
|
#region 可扩展性方法定义
|
||||||
partial void OnLoaded();
|
partial void OnLoaded();
|
||||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
@@ -260094,6 +260120,8 @@ namespace Model
|
|||||||
partial void OnPlanNumChanged();
|
partial void OnPlanNumChanged();
|
||||||
partial void OnActNumChanging(System.Nullable<decimal> value);
|
partial void OnActNumChanging(System.Nullable<decimal> value);
|
||||||
partial void OnActNumChanged();
|
partial void OnActNumChanged();
|
||||||
|
partial void OnSortIndexChanging(System.Nullable<int> value);
|
||||||
|
partial void OnSortIndexChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public Tw_InputDetail()
|
public Tw_InputDetail()
|
||||||
@@ -260221,6 +260249,26 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
|
||||||
|
public System.Nullable<int> SortIndex
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._SortIndex;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._SortIndex != value))
|
||||||
|
{
|
||||||
|
this.OnSortIndexChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._SortIndex = value;
|
||||||
|
this.SendPropertyChanged("SortIndex");
|
||||||
|
this.OnSortIndexChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public event PropertyChangingEventHandler PropertyChanging;
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
@@ -302023,7 +302071,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
|
||||||
@@ -302600,7 +302648,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
|
||||||
@@ -302791,7 +302839,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
|
||||||
@@ -308102,7 +308150,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
|
||||||
@@ -309574,7 +309622,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
|
||||||
@@ -319125,7 +319173,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
|
||||||
@@ -319145,7 +319193,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