From 11720482d878d36e0651842c76873ca27cfa6615 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 07 五月 2025 15:59:31 +0800 Subject: [PATCH] 工单梳理 --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 451a40b..5eafab2 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -1812,7 +1812,7 @@ } } - gridView1.IndicatorWidth = 50; + gridView1.IndicatorWidth = 60; gridView1.CustomDrawRowIndicator += (s, e) => { if (e.Info.IsRowIndicator && e.RowHandle >= 0) @@ -2042,7 +2042,7 @@ gridView1.OptionsFind.ShowSearchNavButtons = false; gridView1.OptionsView.ShowAutoFilterRow = false; gridView1.OptionsView.ShowGroupPanel = false; - gridView1.IndicatorWidth = 40; + gridView1.IndicatorWidth = 60; gridView1.CustomDrawRowIndicator += (s, e) => { if (e.Info.IsRowIndicator && e.RowHandle >= 0) @@ -2113,7 +2113,7 @@ return true; return false; } - public static void PrintJiSuan(DevExpress.XtraEditors.TextEdit box1, DevExpress.XtraEditors.TextEdit box2, string sum, DevExpress.XtraEditors.RadioGroup rd) + public static void PrintJiSuan(DevExpress.XtraEditors.TextEdit box1, DevExpress.XtraEditors.TextEdit box2, string sum, DevExpress.XtraEditors.RadioGroup rd, DevExpress.XtraEditors.TextEdit txt_yuliang = null) { if (rd.SelectedIndex == 2) return; @@ -2135,20 +2135,19 @@ box2.Text = quotient.ToString(); if (rd.SelectedIndex == 0) - rd.Properties.Items[0].Description = "鍏ㄨ嚜鍔ㄣ��" + remainder.ToString() + "銆�"; + txt_yuliang.Text = remainder.ToString(); } catch (Exception ex) { - Gs.DevApp.ToolBox.MsgHelper.ShowError(ex.Message); } } - public static void PrintAuto(DevExpress.XtraEditors.TextEdit txt_psnQty_1, DevExpress.XtraEditors.TextEdit txt_iCount_1, DevExpress.XtraEditors.RadioGroup radOut) + public static void PrintAuto(DevExpress.XtraEditors.TextEdit txt_psnQty_1, DevExpress.XtraEditors.TextEdit txt_iCount_1, DevExpress.XtraEditors.RadioGroup radOut, DevExpress.XtraEditors.TextEdit txt_yuliang = null) { txt_psnQty_1.Text = ""; txt_iCount_1.Text = ""; - radOut.Properties.Items[0].Description = "鍏ㄨ嚜鍔�"; + txt_yuliang.Text = ""; if (radOut.SelectedIndex == 2) txt_iCount_1.ReadOnly = false; else -- Gitblit v1.9.3