From a7419ef0439841546b41efff19e96096a6c5b59b Mon Sep 17 00:00:00 2001 From: "dequan.zhang" <13820060@qq.com> Date: Wed, 20 Sep 2023 10:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96FIS=E6=96=AD=E5=8F=B7?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E6=98=BE=E7=A4=BA9999-0001?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APPQ5/QMAPP.WinForm/Forms/DisPatch/FrmPlace.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/APPQ5/QMAPP.WinForm/Forms/DisPatch/FrmPlace.cs b/APPQ5/QMAPP.WinForm/Forms/DisPatch/FrmPlace.cs index 0e305fe..1ee88ef 100644 --- a/APPQ5/QMAPP.WinForm/Forms/DisPatch/FrmPlace.cs +++ b/APPQ5/QMAPP.WinForm/Forms/DisPatch/FrmPlace.cs @@ -284,7 +284,9 @@ namespace QMAPP.WinForm.Forms.DisPatch //设置当前底盘号的颜色为红色 if (lastVinNumber > 0) { - if ((vinNumber - lastVinNumber) > 1) + //if ((vinNumber - lastVinNumber) > 1) + //DQZhang 优化FIS断号颜色显示9999-0001 + if (Math.Abs(vinNumber - lastVinNumber) > 1 && Math.Abs(vinNumber - lastVinNumber) != 9998) { this.dgvMATChange.Rows[i - 1].DefaultCellStyle.BackColor = Color.Red; this.dgvMATChange.Rows[i].DefaultCellStyle.BackColor = Color.Red;