SVN-Revision: r359
This commit is contained in:
wyf
2025-03-20 01:24:33 +00:00
parent 0c00586f4d
commit a7ada272ce
+8 -8
View File
@@ -1324,14 +1324,14 @@ namespace Lskj.PubBomAlter
{ {
string primaryVlaue = dataRow["productid"] + ""; string primaryVlaue = dataRow["productid"] + "";
DataRow selectSource = BaseImpl.GetDataRowResult(string.Format("select * from p_producttab where productid = '{0}'", primaryVlaue)); DataRow selectSource = BaseImpl.GetDataRowResult(string.Format("select * from p_producttab where productid = '{0}'", primaryVlaue));
if (selectSource != null) //if (selectSource != null)
{ //{
TopControlObj.SetAllControlValue(selectSource); // TopControlObj.SetAllControlValue(selectSource);
} //}
if (dataRow != null) //if (dataRow != null)
{ //{
TopControlObj.SetAllControlValue(dataRow); // TopControlObj.SetAllControlValue(dataRow);
} //}
if (BomAlterModel != null && BomAlterModel.MaintabFocusedRow != null) if (BomAlterModel != null && BomAlterModel.MaintabFocusedRow != null)
{ {
TopControlObj.SetAllControlValue(BomAlterModel.MaintabFocusedRow); TopControlObj.SetAllControlValue(BomAlterModel.MaintabFocusedRow);