| | |
| | | _row["itemId"] = dym.itemId; |
| | | _row["shNum"] = dym.sl; |
| | | _row["remark"] = dym.bz; |
| | | //默认仓库和仓库数量 |
| | | _row["dcCk"] = dym.depotName; |
| | | _row["dcCkGuid"] = dym.depotId; |
| | | if (!string.IsNullOrEmpty(_orgId)) |
| | | { |
| | | _row["dcOrg"] = _orgName; |
| | |
| | | gvMx1.SetFocusedRowCellValue("itemModel", SelectedDataRow["itemModel"].ToString()); |
| | | gvMx1.SetFocusedRowCellValue("itemId", SelectedDataRow["id"].ToString()); |
| | | gvMx1.SetFocusedRowCellValue("itemUnit", SelectedDataRow["dwName"].ToString()); |
| | | |
| | | gvMx1.SetFocusedRowCellValue("dcCk", SelectedDataRow["depotName"]); |
| | | gvMx1.SetFocusedRowCellValue("dcCkGuid", SelectedDataRow["depotId"]); |
| | | |
| | | gvMx1.CloseEditor(); |
| | | gvMx1.PostEditor(); |
| | | gvMx1.UpdateCurrentRow(); |