| | |
| | | "MesItemsManager/GetListSelect", json); |
| | | var rtn = UtilityHelper.ReturnToTablePage(strReturn); |
| | | var dt = rtn.rtnData.list; |
| | | this.repositoryItemGridLookUpEdit1.DataSource = dt; |
| | | this.repositoryItemSearchLookUpEdit1.DataSource = dt; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | private void repositoryItemGridLookUpEdit1_EditValueChanged(object sender, EventArgs e) |
| | | private void repositoryItemSearchLookUpEdit1_EditValueChanged(object sender, EventArgs e) |
| | | { |
| | | GridLookUpEdit LookupEdit = sender as GridLookUpEdit; |
| | | |
| | | SearchLookUpEdit LookupEdit = sender as SearchLookUpEdit; |
| | | DataRowView SelectedDataRow = (DataRowView)LookupEdit.GetSelectedDataRow(); |
| | | gvMx1.SetFocusedRowCellValue("qd002", SelectedDataRow["itemNo"]); |
| | | gvMx1.SetFocusedRowCellValue("qd003", SelectedDataRow["itemName"]); |
| | |
| | | } |
| | | _loading.Stop(); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |