This commit is contained in:
高飞 2025-08-12 10:33:19 +08:00
parent e05ac01d11
commit aa7c6570c2
2 changed files with 8 additions and 2 deletions

View File

@ -123,7 +123,7 @@
<f:DropDownList ID="drpProessTypes" runat="server" Label="热处理类型" Width="250px" EnableEdit="true"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged" LabelWidth="90px">
</f:DropDownList>
<f:TextBox ID="txtIsoNo" Label="管线号" runat="server" LabelWidth="60px" AutoPostBack="true"
<f:TextBox ID="txtIsoNo" Label="管线号" runat="server" LabelWidth="60px" AutoPostBack="true" Hidden="true"
OnTextChanged="TextBox_TextChanged">
</f:TextBox>
<f:ToolbarFill ID="ToolbarFill2" runat="server">

View File

@ -250,6 +250,7 @@ namespace FineUIPro.Web.HJGL.HotProessManage
/// <param name="node"></param>
private void BindNodes(TreeNode node, List<Model.HJGL_CH_HotProessTrust> trustList)
{
Model.SGGLDB db = Funs.DB;
foreach (var item in trustList)
{
TreeNode newNode = new TreeNode();
@ -262,7 +263,12 @@ namespace FineUIPro.Web.HJGL.HotProessManage
newNode.Text = "<font color='#FF7575'>" + item.HotProessTrustCode + "</font>";
}
newNode.NodeID = item.HotProessTrustId;
newNode.ToolTip = item.HotProessTrustCode;
var isoNo = (from x in db.HJGL_PW_IsoInfo
join y in db.HJGL_PW_JointInfo on x.ISO_ID equals y.ISO_ID
join z in db.HJGL_CH_HotProessTrustItem on y.JOT_ID equals z.JOT_ID
where z.HotProessTrustId == item.HotProessTrustId
select x.ISO_IsoNo).FirstOrDefault();
newNode.ToolTip = isoNo;
newNode.CommandName = "委托单号";
newNode.EnableClickEvent = true;
node.Nodes.Add(newNode);