lu
2024-10-31 9c2dd09bc32849ed4adaf6763ddec140b16bc5a3
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -463,6 +463,14 @@
                            txt.Enabled = !isEdt;
                            continue;
                        }
                        //自定义物料
                        if (colType is UcLookItems)
                        {
                            var txt = colType as UcLookItems;
                            txt.SetIdOrCode(strVal);
                            txt.Enabled = !isEdt;
                            continue;
                        }
                        if (colType is SimpleButton)
                        {
                            var txt = colType as SimpleButton;
@@ -570,6 +578,14 @@
                    txt.Enabled = !isEdt;
                    continue;
                }
                //自定义物料
                if (ctrl is UcLookItems)
                {
                    var txt = ctrl as UcLookItems;
                    txt.SetIdOrCode("-1");
                    txt.Enabled = !isEdt;
                    continue;
                }
                if (ctrl is SimpleButton)
                {
                    var txt = ctrl as SimpleButton;