| | |
| | | }; |
| | | |
| | | //设置仓库选择 |
| | | this.txt_qt011.KeyFile = "depotId"; |
| | | this.txt_qt011.EditChanged += (s, e) => |
| | | { |
| | | |
| | | }; |
| | | //设置供应商选择 |
| | | this.txt_qt018.KeyFile = "id"; |
| | | this.txt_qt018.EditChanged += (s, e) => |
| | | { |
| | | |
| | |
| | | "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(); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |