| | |
| | | LookSearchSupplier_EditValueChanged; |
| | | |
| | | } |
| | | public bool IsReadly { get; set; } |
| | | private bool _rdy; public bool IsReadly { set{ _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } } |
| | | |
| | | /// <summary> |
| | | /// 改变事件 |
| | |
| | | if (EditChanged != null) EditChanged(this, e); |
| | | } |
| | | |
| | | public void getSuppler(string orgId) |
| | | /// <summary> |
| | | /// 读取仓库 |
| | | /// </summary> |
| | | /// <param name="orgId"></param> |
| | | /// <param name="_dftVale"></param> |
| | | public void getSuppler(string orgId, string _dftVale = "") |
| | | { |
| | | lookSearchSupplier.EditValue = null; |
| | | string _keyWhere = ""; |
| | | if (!string.IsNullOrEmpty(orgId)) |
| | | _keyWhere = " and a.FSubsidiary ='" + orgId + "'"; |
| | |
| | | lookSearchSupplier.Properties.ValueMember = "depotId"; |
| | | lookSearchSupplier.ForceInitialize(); |
| | | lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; |
| | | if (!string.IsNullOrEmpty(_dftVale)) |
| | | SetIdOrCode(_dftVale); |
| | | } |
| | | catch (Exception ex) |
| | | { |