diff --git a/插件库/Lskj.PubProductSysMge/FrmMain.cs b/插件库/Lskj.PubProductSysMge/FrmMain.cs index b9c0653..3700505 100644 --- a/插件库/Lskj.PubProductSysMge/FrmMain.cs +++ b/插件库/Lskj.PubProductSysMge/FrmMain.cs @@ -1623,6 +1623,17 @@ namespace Lskj.PubProductSysMge this.btnSave.Enabled = true; return; } + this.speciesNoEdit.Text = speciesNo; + // 获取特定路径的节点名称 + TreeNode[] nodes = treeLeftViewEx.TreeView.Nodes.Find(speciesNo, true); // 搜索所有层级 + if (nodes.Length > 0) + { + string foundNodeName = nodes[0].Text; + this.speciesNameEdit.Text = foundNodeName; + } + + + //获取选中行对应的方案 string sql = "select id,ItemName from p_productsyssetGrouptab where id = '{0}' and speciesNo='{1}'"; if (!string.IsNullOrWhiteSpace(this.MainModuleObj.TableClickSchemeSql)) sql = this.MainModuleObj.TableClickSchemeSql;