From 025c622f839ff462b3dc0c9530136f2b5c08736d Mon Sep 17 00:00:00 2001 From: "dequan.zhang" <13820060@qq.com> Date: Fri, 27 May 2022 15:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E6=8F=92=E6=8A=A4=E9=9D=A2=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E5=9C=A8=E9=87=87=E9=9B=86=E7=82=B9=E6=8C=89=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E9=A2=9C=E8=89=B2=E6=98=BE=E7=A4=BA=EF=BC=8C=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=86=99=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APPQ5/QMAPP.WinForm/App.config | 8 ++++---- .../Forms/Operation/OperationForm.cs | 16 ++++++++++++++++ .../WCF/QMFrameWork.WebServiceHost/Web.config | 8 ++++---- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/APPQ5/QMAPP.WinForm/App.config b/APPQ5/QMAPP.WinForm/App.config index ddb7ff1..18687e2 100644 --- a/APPQ5/QMAPP.WinForm/App.config +++ b/APPQ5/QMAPP.WinForm/App.config @@ -7,10 +7,10 @@ - + + - + @@ -205,7 +205,7 @@ --> - + diff --git a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs index dd6f0ac..12a9d4c 100644 --- a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs +++ b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs @@ -1545,6 +1545,22 @@ namespace QMAPP.WinForm.Forms.Operation if (dgr.Cells["daresult"].Value != null && dgr.Cells["daresult"].Value.ToString() == "通过") { dgr.DefaultCellStyle.BackColor = Color.Green; + #region 中插护面颜色 + //------------20220527 DQZHANG 中插护面颜色------------------ + if (dgr.Cells["materialtypename"].Value.ToString() == "17G.867.X.3B 26S 27T")//浅灰 + { + dgr.DefaultCellStyle.BackColor = Color.Gainsboro; + } + if (dgr.Cells["materialtypename"].Value.ToString() == "17G.867.X.3B 3RB 30C")//红棕 + { + dgr.DefaultCellStyle.BackColor = Color.DarkOrange; + } + if (dgr.Cells["materialtypename"].Value.ToString() == "17G.867.X.030B RJ4 EW7")//深灰 + { + dgr.DefaultCellStyle.BackColor = Color.Gray; + } + //-----------------------end-------------------------- + #endregion } else if (dgr.Cells["daresult"].Value != null && dgr.Cells["daresult"].Value.ToString() == "未通过") { diff --git a/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config b/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config index 0b3e916..288cf49 100644 --- a/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config +++ b/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config @@ -68,15 +68,15 @@ - - + - + +