From 3c84755b07eabfb5e87ade9d020a4d3399ab2a53 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期三, 13 八月 2025 17:37:12 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.Designer.cs | 104 ++++++++++++------------- DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs | 2 DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.Designer.cs | 23 +++-- DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs | 2 DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshopLine.cs | 4 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOut_SCLL.Designer.cs | 22 ++-- DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs | 8 +- DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs | 45 +---------- 8 files changed, 87 insertions(+), 123 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshopLine.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshopLine.cs index 34fefd9..8cfb3bf 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshopLine.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshopLine.cs @@ -102,7 +102,7 @@ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_lineNo, gridView1, "lineNo"); if (string.IsNullOrEmpty(rowGuid)) { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + ToolBox.MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) @@ -116,12 +116,14 @@ ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) { + ToolBox.MsgHelper.ShowInformation("鎻愮ず锛�" + _rtn.rtnMsg); if (xtraTabControl1.SelectedTabPageIndex == 0) { } else Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 2); getPageList(this.pageBar1.CurrentPage); } + else ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg); } catch (Exception ex) diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOut_SCLL.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOut_SCLL.Designer.cs index 531952a..4c06af7 100644 --- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOut_SCLL.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOut_SCLL.Designer.cs @@ -350,7 +350,7 @@ this.gv_outDate.OptionsColumn.AllowEdit = false; this.gv_outDate.Tag = "query_a.out_date"; this.gv_outDate.Visible = true; - this.gv_outDate.VisibleIndex = 4; + this.gv_outDate.VisibleIndex = 7; this.gv_outDate.Width = 120; // // gv_outType @@ -363,7 +363,7 @@ this.gv_outType.OptionsColumn.AllowEdit = false; this.gv_outType.Tag = "query_a.out_type"; this.gv_outType.Visible = true; - this.gv_outType.VisibleIndex = 5; + this.gv_outType.VisibleIndex = 8; this.gv_outType.Width = 94; // // gv_checkUser @@ -376,7 +376,7 @@ this.gv_checkUser.OptionsColumn.AllowEdit = false; this.gv_checkUser.Tag = "query_a.check_user"; this.gv_checkUser.Visible = true; - this.gv_checkUser.VisibleIndex = 6; + this.gv_checkUser.VisibleIndex = 9; this.gv_checkUser.Width = 94; // // gv_checkDate @@ -389,7 +389,7 @@ this.gv_checkDate.OptionsColumn.AllowEdit = false; this.gv_checkDate.Tag = "query_a.check_date"; this.gv_checkDate.Visible = true; - this.gv_checkDate.VisibleIndex = 7; + this.gv_checkDate.VisibleIndex = 10; this.gv_checkDate.Width = 120; // // gv_receiver @@ -402,7 +402,7 @@ this.gv_receiver.OptionsColumn.AllowEdit = false; this.gv_receiver.Tag = "query_a.receiver"; this.gv_receiver.Visible = true; - this.gv_receiver.VisibleIndex = 8; + this.gv_receiver.VisibleIndex = 11; this.gv_receiver.Width = 94; // // gv_createBy @@ -415,7 +415,7 @@ this.gv_createBy.OptionsColumn.AllowEdit = false; this.gv_createBy.Tag = "query_a.create_by"; this.gv_createBy.Visible = true; - this.gv_createBy.VisibleIndex = 9; + this.gv_createBy.VisibleIndex = 12; this.gv_createBy.Width = 94; // // gv_createDate @@ -428,7 +428,7 @@ this.gv_createDate.OptionsColumn.AllowEdit = false; this.gv_createDate.Tag = "query_a.create_date"; this.gv_createDate.Visible = true; - this.gv_createDate.VisibleIndex = 10; + this.gv_createDate.VisibleIndex = 13; this.gv_createDate.Width = 94; // // gv_remark @@ -441,7 +441,7 @@ this.gv_remark.OptionsColumn.AllowEdit = false; this.gv_remark.Tag = "query_a.remark"; this.gv_remark.Visible = true; - this.gv_remark.VisibleIndex = 11; + this.gv_remark.VisibleIndex = 14; this.gv_remark.Width = 94; // // gv_workNo @@ -454,7 +454,7 @@ this.gv_workNo.OptionsColumn.AllowEdit = false; this.gv_workNo.Tag = "query_a.work_no"; this.gv_workNo.Visible = true; - this.gv_workNo.VisibleIndex = 12; + this.gv_workNo.VisibleIndex = 4; this.gv_workNo.Width = 100; // // gv_pbillNo @@ -467,7 +467,7 @@ this.gv_pbillNo.OptionsColumn.AllowEdit = false; this.gv_pbillNo.Tag = "query_a.pbill_no"; this.gv_pbillNo.Visible = true; - this.gv_pbillNo.VisibleIndex = 13; + this.gv_pbillNo.VisibleIndex = 6; this.gv_pbillNo.Width = 94; // // gridColumn7 @@ -477,7 +477,7 @@ this.gridColumn7.MinWidth = 25; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.Visible = true; - this.gridColumn7.VisibleIndex = 14; + this.gridColumn7.VisibleIndex = 5; this.gridColumn7.Width = 94; // // gridColumn8 diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs index 1c9c173..7923e7a 100644 --- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs @@ -188,7 +188,7 @@ } catch (Exception ex) { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); } } private void getModel(string strGuid) @@ -198,7 +198,7 @@ if (toolBarMenu1.currentAction == "edit") isEdit = true; if (string.IsNullOrEmpty(strGuid)) { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + ToolBox.MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } var _obj = new @@ -256,50 +256,13 @@ } } else - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg); } catch (Exception ex) { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); } } - private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) - { - gvMx2.CloseEditor(); - gvMx2.UpdateCurrentRow(); - var rowhandle = gvMx2.FocusedRowHandle; - if (rowhandle < 0) - return; - if (e.Button.Index == 0) - { - var dr = gvMx2.GetDataRow(rowhandle); - var mxGuid = dr["guid"].ToString(); - if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵")) - return; - if (string.IsNullOrEmpty(mxGuid)) - { - gvMx2.DeleteRow(rowhandle); - return; - } - var strJson = ""; - var lst = new List<string>(); - lst.Add(mxGuid); - try - { - strJson = UtilityHelper.HttpPost("", - _webServiceName + "DeleteModelMx2", - JsonConvert.SerializeObject(lst)); - var _rtn = UtilityHelper.ReturnToDynamic(strJson); - if (_rtn.rtnCode > 0) getModel(lbGuid.Text); - MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); - } - catch (Exception ex) - { - MsgHelper.Warning("鎻愮ず锛�" + ex.Message); - } - } - } - /// <summary> /// 宸ュ叿鏉′簨浠� /// </summary> diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs index 9ccbbba..e54b017 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs @@ -190,7 +190,7 @@ this.gridColumn3.MinWidth = 25; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; - this.gridColumn3.VisibleIndex = 1; + this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 73; // // gridColumn2 @@ -200,7 +200,7 @@ this.gridColumn2.MinWidth = 25; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; - this.gridColumn2.VisibleIndex = 2; + this.gridColumn2.VisibleIndex = 3; this.gridColumn2.Width = 73; // // gridColumn4 @@ -210,7 +210,7 @@ this.gridColumn4.MinWidth = 25; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; - this.gridColumn4.VisibleIndex = 3; + this.gridColumn4.VisibleIndex = 4; this.gridColumn4.Width = 73; // // gv_itemBarcode @@ -223,7 +223,7 @@ this.gv_itemBarcode.OptionsColumn.AllowEdit = false; this.gv_itemBarcode.Tag = "query_a.ITEM_BARCODE"; this.gv_itemBarcode.Visible = true; - this.gv_itemBarcode.VisibleIndex = 4; + this.gv_itemBarcode.VisibleIndex = 1; this.gv_itemBarcode.Width = 73; // // gv_quantity diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.Designer.cs index cfa6663..b14409c 100644 --- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.Designer.cs @@ -30,17 +30,17 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition9 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition10 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition11 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition12 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition13 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition14 = new DevExpress.XtraLayout.RowDefinition(); this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); @@ -428,7 +428,7 @@ this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Tag = "org.fnamber"; this.gridColumn8.Visible = true; - this.gridColumn8.VisibleIndex = 20; + this.gridColumn8.VisibleIndex = 19; this.gridColumn8.Width = 200; // // gv_caa001 @@ -612,8 +612,6 @@ this.gridColumn2.MinWidth = 50; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowEdit = false; - this.gridColumn2.Visible = true; - this.gridColumn2.VisibleIndex = 15; this.gridColumn2.Width = 110; // // gv_caa016 @@ -626,7 +624,7 @@ this.gv_caa016.OptionsColumn.AllowEdit = false; this.gv_caa016.Tag = "query_a.CAA016"; this.gv_caa016.Visible = true; - this.gv_caa016.VisibleIndex = 16; + this.gv_caa016.VisibleIndex = 15; this.gv_caa016.Width = 100; // // gridColumn7 @@ -686,7 +684,7 @@ this.gridColumn23.MinWidth = 25; this.gridColumn23.Name = "gridColumn23"; this.gridColumn23.Visible = true; - this.gridColumn23.VisibleIndex = 17; + this.gridColumn23.VisibleIndex = 16; this.gridColumn23.Width = 94; // // gridColumn24 @@ -736,7 +734,7 @@ this.gridColumn31.MinWidth = 25; this.gridColumn31.Name = "gridColumn31"; this.gridColumn31.Visible = true; - this.gridColumn31.VisibleIndex = 18; + this.gridColumn31.VisibleIndex = 17; this.gridColumn31.Width = 94; // // gridColumn32 @@ -786,7 +784,7 @@ this.gridColumn38.MinWidth = 25; this.gridColumn38.Name = "gridColumn38"; this.gridColumn38.Visible = true; - this.gridColumn38.VisibleIndex = 19; + this.gridColumn38.VisibleIndex = 18; this.gridColumn38.Width = 94; // // gridColumn39 @@ -804,7 +802,7 @@ this.gridColumn30.MinWidth = 25; this.gridColumn30.Name = "gridColumn30"; this.gridColumn30.Visible = true; - this.gridColumn30.VisibleIndex = 21; + this.gridColumn30.VisibleIndex = 20; this.gridColumn30.Width = 94; // // gridColumn34 @@ -1331,41 +1329,41 @@ this.layoutControlItem23}); this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.Root.Name = "Root"; - columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition1.Width = 100D; - columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition2.Width = 100D; - columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition3.Width = 100D; - columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition4.Width = 100D; + columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition5.Width = 100D; + columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition6.Width = 100D; + columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition7.Width = 100D; + columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition8.Width = 100D; this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { - columnDefinition1, - columnDefinition2, - columnDefinition3, - columnDefinition4}); - rowDefinition1.Height = 100D; - rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition2.Height = 100D; - rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition3.Height = 100D; - rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition4.Height = 100D; - rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition5.Height = 100D; - rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition6.Height = 100D; - rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition7.Height = 100D; - rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition5, + columnDefinition6, + columnDefinition7, + columnDefinition8}); + rowDefinition8.Height = 100D; + rowDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition9.Height = 100D; + rowDefinition9.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition10.Height = 100D; + rowDefinition10.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition11.Height = 100D; + rowDefinition11.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition12.Height = 100D; + rowDefinition12.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition13.Height = 100D; + rowDefinition13.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition14.Height = 100D; + rowDefinition14.SizeType = System.Windows.Forms.SizeType.Percent; this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { - rowDefinition1, - rowDefinition2, - rowDefinition3, - rowDefinition4, - rowDefinition5, - rowDefinition6, - rowDefinition7}); + rowDefinition8, + rowDefinition9, + rowDefinition10, + rowDefinition11, + rowDefinition12, + rowDefinition13, + rowDefinition14}); this.Root.Size = new System.Drawing.Size(1464, 216); this.Root.TextVisible = false; // @@ -2006,8 +2004,6 @@ this.gridColumn18.FieldName = "itemId"; this.gridColumn18.MinWidth = 25; this.gridColumn18.Name = "gridColumn18"; - this.gridColumn18.Visible = true; - this.gridColumn18.VisibleIndex = 2; this.gridColumn18.Width = 94; // // Frm_Womcaa diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs index 1315f80..d1f2ac5 100644 --- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs +++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs @@ -271,7 +271,7 @@ lbGuid, txt_caa001, gridView1, "caa001"); if (string.IsNullOrEmpty(rowGuid)) { - MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵")) diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs index bb56b81..27494c4 100644 --- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs +++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs @@ -181,7 +181,7 @@ lbGuid, txt_hNo, gridView1, "hNo"); if (string.IsNullOrEmpty(rowGuid)) { - MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.Designer.cs index 2eeb425..88cfa51 100644 --- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.Designer.cs @@ -991,7 +991,7 @@ // this.layoutControl1.Controls.Add(this.txt_iCount_1); this.layoutControl1.Controls.Add(this.txt_yuliang_1); - this.layoutControl1.Location = new System.Drawing.Point(633, 76); + this.layoutControl1.Location = new System.Drawing.Point(692, 76); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup2; this.layoutControl1.Size = new System.Drawing.Size(336, 28); @@ -1077,7 +1077,7 @@ // this.ucBtnPrint1.allClickKey = null; this.ucBtnPrint1.guidKey = null; - this.ucBtnPrint1.Location = new System.Drawing.Point(971, 42); + this.ucBtnPrint1.Location = new System.Drawing.Point(1030, 42); this.ucBtnPrint1.Margin = new System.Windows.Forms.Padding(0); this.ucBtnPrint1.Name = "ucBtnPrint1"; this.ucBtnPrint1.rptParameter = "rpt_daa"; @@ -1086,7 +1086,7 @@ // // radOut // - this.radOut.Location = new System.Drawing.Point(971, 10); + this.radOut.Location = new System.Drawing.Point(1030, 10); this.radOut.Margin = new System.Windows.Forms.Padding(0); this.radOut.Name = "radOut"; this.radOut.Properties.ItemHorzAlignment = DevExpress.XtraEditors.RadioItemHorzAlignment.Near; @@ -1101,7 +1101,7 @@ // // txt_psnQty_1 // - this.txt_psnQty_1.Location = new System.Drawing.Point(735, 44); + this.txt_psnQty_1.Location = new System.Drawing.Point(794, 44); this.txt_psnQty_1.Name = "txt_psnQty_1"; this.txt_psnQty_1.Properties.Appearance.Options.UseFont = true; this.txt_psnQty_1.Properties.UseMaskAsDisplayFormat = true; @@ -1113,7 +1113,7 @@ // // txtWlid // - this.txtWlid.Location = new System.Drawing.Point(55, 12); + this.txtWlid.Location = new System.Drawing.Point(114, 12); this.txtWlid.Name = "txtWlid"; this.txtWlid.Properties.Appearance.Options.UseFont = true; this.txtWlid.Properties.ReadOnly = true; @@ -1123,7 +1123,7 @@ // // txtWlmc // - this.txtWlmc.Location = new System.Drawing.Point(55, 44); + this.txtWlmc.Location = new System.Drawing.Point(114, 44); this.txtWlmc.Name = "txtWlmc"; this.txtWlmc.Properties.Appearance.Options.UseFont = true; this.txtWlmc.Properties.ReadOnly = true; @@ -1133,7 +1133,7 @@ // // txtWlgg // - this.txtWlgg.Location = new System.Drawing.Point(55, 76); + this.txtWlgg.Location = new System.Drawing.Point(114, 76); this.txtWlgg.Name = "txtWlgg"; this.txtWlgg.Properties.Appearance.Options.UseFont = true; this.txtWlgg.Properties.ReadOnly = true; @@ -1143,7 +1143,7 @@ // // txt_kQty // - this.txt_kQty.Location = new System.Drawing.Point(735, 12); + this.txt_kQty.Location = new System.Drawing.Point(794, 12); this.txt_kQty.Name = "txt_kQty"; this.txt_kQty.Properties.Appearance.ForeColor = System.Drawing.Color.Blue; this.txt_kQty.Properties.Appearance.Options.UseFont = true; @@ -1155,7 +1155,7 @@ // // txtQuantity // - this.txtQuantity.Location = new System.Drawing.Point(395, 12); + this.txtQuantity.Location = new System.Drawing.Point(454, 12); this.txtQuantity.Name = "txtQuantity"; this.txtQuantity.Properties.Appearance.Options.UseFont = true; this.txtQuantity.Properties.ReadOnly = true; @@ -1165,7 +1165,7 @@ // // txt_yQty // - this.txt_yQty.Location = new System.Drawing.Point(395, 44); + this.txt_yQty.Location = new System.Drawing.Point(454, 44); this.txt_yQty.Name = "txt_yQty"; this.txt_yQty.Properties.Appearance.Options.UseFont = true; this.txt_yQty.Properties.ReadOnly = true; @@ -1376,6 +1376,7 @@ this.gvMx1.OptionsFilter.AllowFilterEditor = false; this.gvMx1.OptionsFind.ShowSearchNavButtons = false; this.gvMx1.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True; + this.gvMx1.OptionsView.ShowFooter = true; this.gvMx1.OptionsView.ShowGroupPanel = false; // // gvAbtGuid @@ -1463,6 +1464,8 @@ this.gridColumn8.FieldName = "quantity"; this.gridColumn8.MinWidth = 50; this.gridColumn8.Name = "gridColumn8"; + this.gridColumn8.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { + new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "quantity", "鍚堣={0:0.##}")}); this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 5; this.gridColumn8.Width = 83; -- Gitblit v1.9.3