| | |
| | | using System; |
| | | using System.Data; |
| | | using System.Windows.Media.Animation; |
| | | using DevExpress.Emf; |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | |
| | | lookSearchSupplier.Properties.NullText = "请选择"; |
| | | lookSearchSupplier.EditValueChanged += |
| | | LookSearchSupplier_EditValueChanged; |
| | | getSuppler(); |
| | | } |
| | | public bool IsReadly { get; set; } |
| | | |
| | |
| | | if (EditChanged != null) EditChanged(this, e); |
| | | } |
| | | |
| | | private void getSuppler() |
| | | public void getSuppler(string orgId) |
| | | { |
| | | var _obj = new |
| | | { |
| | | currentPage = 1, |
| | | everyPageSize = 999999, |
| | | sortName = "", |
| | | keyWhere = "", |
| | | keyWhere = " and a.FSubsidiary ='" + orgId + "'", |
| | | }; |
| | | var json = JsonConvert.SerializeObject(_obj); |
| | | try |
| | |
| | | lookSearchSupplier.EditValue = null; |
| | | return; |
| | | } |
| | | // lookSearchSupplier.EditValue = ((Code.ToString().Trim())); |
| | | lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim())); |
| | | } |
| | | |
| | | } |
| | | } |