From eb374e4405bac15c8d28ce9d17e6ee47b43338d4 Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期三, 27 八月 2025 14:00:23 +0800 Subject: [PATCH] 生产部分优化 --- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs index e855057..cb0dd45 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs @@ -108,6 +108,14 @@ }; frm.ShowDialog(); }; + ////搴曢儴姹囨�诲惎鐢� + // gvMx1.OptionsView.ShowFooter = true; + + //// 涓烘煇涓�鍒楄缃眰鍜屾眹鎬� + // gvMx1.Columns["quantity"].SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum; + // gvMx1.Columns["quantity"].SummaryItem.DisplayFormat = "鍚堣: {0}"; + /////搴曢儴姹囨�� + UtilityHelper.SetupGridSummary(gvMx1, "quantity"); } @@ -381,6 +389,13 @@ gvList.Add(gvMx1); UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false); toolBarMenu1.currentAction = ""; + // 銆愭柊澧炲埛鏂伴�昏緫銆戜繚瀛樻垚鍔熷悗绔嬪嵆鍒锋柊褰撳墠妯″瀷鏁版嵁鍜屽垪琛� + // 鍒锋柊褰撳墠鍗曟嵁璇︽儏 + getModel(lbGuid.Text.Trim()); + // 鍒锋柊鍒楄〃椤垫暟鎹� + getPageList(this.pageBar1.CurrentPage); + + // 璺宠浆鍒版煡鐪嬬粨鏋滈〉闈� Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); } } @@ -609,7 +624,7 @@ _webServiceName + _meth, JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); - + if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0) { MsgHelper.ShowInformation("鎻愮ず锛�" + _rtn.rtnData.outMsg); @@ -620,7 +635,7 @@ int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); gridView1.FocusedRowHandle = rowHandle; //鍒ゆ柇瀹℃牳鍚庢槸鍚﹀彉涓虹孩绔狅紙1锛氱孩绔犲凡瀹℃牳 锛�-1 榛戠珷鏈鏍革級 - int _inFieldValue = ((_meth == "EditModelSubmit"|| _meth== "EditModelSubmitHb") ? 1 : -1); + int _inFieldValue = ((_meth == "EditModelSubmit" || _meth == "EditModelSubmitHb") ? 1 : -1); UtilityHelper.SetCheckIco(gridView1, "fstatus", "checkUser", "checkDate", picCheckBox, this, _inFieldValue.ToString()); } else -- Gitblit v1.9.3