20250730 安装清单
This commit is contained in:
@@ -228,8 +228,9 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
/// <returns></returns>
|
||||
private DataTable BindData()
|
||||
{
|
||||
string strSql = @"WITH cte as (select pipeline.PipelineCode as PipelineCode,
|
||||
string strSql = @"WITH cte as (select newid()as id,pipeline.PipelineCode as PipelineCode,
|
||||
comonent.PipelineComponentCode as PipelineComponentCode,
|
||||
'预制组件' as Stype,
|
||||
'' as matdef,
|
||||
packdetail.Number as Number,
|
||||
pack.PackagingCode as PackagingCode,
|
||||
@@ -244,8 +245,9 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
left join HJGL_TrainNumberManage trainnumber on pack.TrainNumberId = TrainNumber.Id
|
||||
where (packdetail.PipelineComponentId is not null or packdetail.PipelineComponentId != '')
|
||||
union all
|
||||
select pipeline.PipelineCode as PipelineCode,
|
||||
select newid()as id,pipeline.PipelineCode as PipelineCode,
|
||||
packdetail.MaterialCode as PipelineComponentCode,
|
||||
'预制散件' as Stype,
|
||||
matlib.MaterialDef as matdef,
|
||||
packdetail.Number as Number,
|
||||
pack.PackagingCode as PackagingCode,
|
||||
@@ -356,10 +358,10 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.BindGrid();
|
||||
}
|
||||
//protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// this.BindGrid();
|
||||
//}
|
||||
protected void btnTreeFind_Click1(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
@@ -394,6 +396,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
select new
|
||||
{
|
||||
管线号 = x.Field<string>("PipelineCode"),
|
||||
类型 = x.Field<string>("Stype"),
|
||||
组件编号 = x.Field<string>("PipelineComponentCode"),
|
||||
预制散件材料描述 = !string.IsNullOrWhiteSpace(x.Field<string>("matdef")) ? x.Field<string>("matdef") : "-",
|
||||
数量 = x.Field<decimal?>("Number"),
|
||||
|
||||
Reference in New Issue
Block a user