| | |
| | | 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 pgq = new PageQueryModel(1, 999999, "depot_code", "asc", "", |
| | | " and is_ng='A'"); |
| | | " and is_ng='A'"+" and a.FSubsidiary ='" + orgId + "'"); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | | { |
| | |
| | | var dt = rtn.rtnData.list; |
| | | lookSearchSupplier.Properties.DataSource = dt; |
| | | lookSearchSupplier.Properties.DisplayMember = "depotName"; |
| | | lookSearchSupplier.Properties.ValueMember = "depotId"; |
| | | lookSearchSupplier.Properties.ValueMember = "depotId"; |
| | | } |
| | | catch (Exception ex) |
| | | { |