bug
lu
2025-08-11 fcb42bcb47a9fab4d9480e3cd6863122c660a800
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.cs
@@ -159,14 +159,14 @@
            toolBarMenu1.isSetBtn = false;
            if (string.IsNullOrEmpty(txt_depotCode.Text.Trim()))
            {
                MsgHelper.Warning("仓库编码不能为空!");
                MsgHelper.ShowError("仓库编码不能为空!");
                txt_depotCode.Focus();
                return;
            }
            if (string.IsNullOrEmpty(txt_depotName.Text.Trim()))
            {
                MsgHelper.Warning("仓库名称不能为空!");
                MsgHelper.ShowError("仓库名称不能为空!");
                txt_depotName.Focus();
                return;
            }
@@ -205,16 +205,15 @@
                Description = txt_description.Text,
                list = lst
            };
            try
            {
                var strJson = UtilityHelper.HttpPost("",
                    _webServiceName + "EditModel",
                    JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                MsgHelper.Warning("提示:" + _rtn.rtnMsg);
                if (_rtn.rtnCode > 0)
                {
                    MsgHelper.ShowInformation("提示:" + _rtn.rtnMsg);
                    lbGuid.Text = _rtn.rtnData;
                    toolBarMenu1.isSetBtn = true;
                    var gridViews = new List<GridView>();
@@ -223,10 +222,12 @@
                    toolBarMenu1.currentAction = "";
                    Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6);
                }
                else
                    MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
            }
            catch (Exception ex)
            {
                MsgHelper.Warning("提示:" + ex.Message);
                MsgHelper.ShowError("提示:" + ex.Message);
            }
        }