lu
2025-09-22 3f08b93ffba05c8a12d6a013303e372442854f5f
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs
@@ -120,6 +120,10 @@
                                _row["itemId"] = dym.itemId;
                                _row["shNum"] = dym.sl;
                                _row["remark"] = dym.bz;
                                //默认仓库和仓库数量
                                _row["dcCk"] = dym.depotName;
                                _row["dcCkGuid"] = dym.depotId;
                                _row["kcQty"] = dym.kcQty;
                                if (!string.IsNullOrEmpty(_orgId))
                                {
                                    _row["dcOrg"] = _orgName;
@@ -711,6 +715,9 @@
            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.SetFocusedRowCellValue("kcQty", SelectedDataRow["kcQty"]);
            gvMx1.CloseEditor();
            gvMx1.PostEditor();
            gvMx1.UpdateCurrentRow();