lu
2025-02-14 e97f3a0b90112386f96def011c6d4864d974594a
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -640,17 +640,7 @@
                                txt.Enabled = false;
                            continue;
                        }
                        //自定货主
                        if (colType is UcLookHuoZhu)
                        {
                            var txt = colType as UcLookHuoZhu;
                            //txt.SetIdOrCode(strVal);
                            if (txt.IsReadly == false)
                                txt.Enabled = !isEdt;
                            else
                                txt.Enabled = false;
                            continue;
                        }
                        if (colType is SimpleButton)
                        {
                            var txt = colType as SimpleButton;
@@ -918,15 +908,7 @@
                    txt.Enabled = !isEdt;
                    continue;
                }
                //自定义货主
                if (ctrl is UcLookHuoZhu)
                {
                    var txt = ctrl as UcLookHuoZhu;
                    txt.SetHzId("-1");
                    txt.SetHzLx(0);
                    txt.Enabled = !isEdt;
                    continue;
                }
                if (ctrl is SimpleButton)
                {
                    var txt = ctrl as SimpleButton;
@@ -1178,18 +1160,6 @@
                        txt.Enabled = false;
                    continue;
                }
                //自定义货主
                if (ctrl is UcLookHuoZhu)
                {
                    var txt = ctrl as UcLookHuoZhu;
                    if (txt.IsReadly == false)
                        txt.Enabled = !isEdt;
                    else
                        txt.Enabled = false;
                    continue;
                }
                if (ctrl is SimpleButton)
                {
                    var txt = ctrl as SimpleButton;