| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |