From 8c7ac11905cc442d9cf8920de01dc5ef29179987 Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期一, 01 九月 2025 17:48:50 +0800 Subject: [PATCH] 工单撤回报工条码选择 --- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs | 22 +++++++--------------- 1 files changed, 7 insertions(+), 15 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs index 7d5db43..9247549 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs @@ -28,6 +28,8 @@ this.toolBarMenu1.getXmlConfig(); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMxL2); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMxL1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "checkStatus", "", (value) => { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); @@ -43,22 +45,11 @@ }, lbGuid); getPageList(1); pageBar1.PagerEvent += PageBar1_PagerEvent; + //鎵撳嵃姣斾緥 + UtilityHelper.SetSimpleGridColor(gridView1, "barcodeProgress", "=100.00%", "Cell", Color.Green); + //鍏ュ簱姣斾緥 + UtilityHelper.SetSimpleGridColor(gridView1, "rkbl", "=100.00%", "Cell", Color.Green); - // 浣跨敤鏂扮殑绠�鍖栨牸寮忚缃鏍哥姸鎬侀鑹� - this.Load += (s, e) => { - System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer(); - timer.Interval = 1000; // 1绉掑悗鎵ц - timer.Tick += (sender, args) => { - timer.Stop(); - timer.Dispose(); - - // 璁剧疆瀹℃牳鐘舵�侀鑹� - 鏀寔澶氱bit绫诲瀷鐨勫�兼牸寮� - - UtilityHelper.SetSimpleGridColor(gridView1, "checkStatus", "=True", "Cell", Color.Blue); - - }; - timer.Start(); - }; } private void GridView1_ColumnFilterChanged(object sender, EventArgs e) @@ -353,6 +344,7 @@ } int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); gridView1.FocusedRowHandle = rowHandle; + int _meth = (( _inFieldValue == 1) ? 1 : -1); UtilityHelper.SetCheckIco(gridView1, "checkStatus", "checkUser", "checkDate", picCheckBox, this, _inFieldValue.ToString()); } } -- Gitblit v1.9.3