DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
@@ -65,6 +65,7 @@ lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; if (!string.IsNullOrEmpty(_dftVale)) SetIdOrCode(_dftVale); } catch (Exception ex) { @@ -106,7 +107,8 @@ return; } // lookSearchSupplier.EditValue = ((Code.ToString().Trim())); lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim())); if (!string.IsNullOrEmpty(Code)) lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim())); } }