lu
4 天以前 c2e1de823e648ca7e62bc868d8aaf9ad5c65a287
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs
@@ -120,6 +120,9 @@
                                _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;
@@ -711,6 +714,10 @@
            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();