SVN-Revision: r491
This commit is contained in:
cyf
2025-04-14 08:45:31 +00:00
parent b485b7468a
commit 2cbdfab4f8
@@ -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;