Browse Source

优化FIS断号颜色显示9999-0001

master
dequan.zhang 1 year ago
parent
commit
a7419ef043
  1. 4
      APPQ5/QMAPP.WinForm/Forms/DisPatch/FrmPlace.cs

4
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;

Loading…
Cancel
Save