lu
2025-06-07 22ea524beef76405f6c9583d5a51fa55f4512014
DevApp/Gs.DevApp/UserControl/UcLookOrg.cs
@@ -1,10 +1,7 @@
using DevExpress.XtraEditors;
using Gs.DevApp.Entity;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -22,7 +19,7 @@
        }
        public bool IsReadly { get; set; }
        private bool _rdy; public bool IsReadly { set { _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } }
        /// <summary>
        ///     改变事件
@@ -37,7 +34,7 @@
        private void getSuppler()
        {
            var pgq = new PageQueryModel(1, 999999, "FID", "asc", "", " and IS_STATUS=1");
            var pgq = new PageQueryModel(1, 999999, "fNumber", "asc", "", " and IS_STATUS=1");
            var json = JsonConvert.SerializeObject(pgq);
            try
            {
@@ -87,7 +84,8 @@
                lookSearchSupplier.EditValue = null;
                return;
            }
            lookSearchSupplier.EditValue = Int64.Parse(((Code.ToString().Trim())));
            //lookSearchSupplier.EditValue = Int64.Parse(((Code.ToString().Trim())));
            lookSearchSupplier.EditValue = (((Code.ToString().Trim())));
        }