|
@ -284,7 +284,9 @@ namespace QMAPP.WinForm.Forms.DisPatch |
|
|
//设置当前底盘号的颜色为红色
|
|
|
//设置当前底盘号的颜色为红色
|
|
|
if (lastVinNumber > 0) |
|
|
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 - 1].DefaultCellStyle.BackColor = Color.Red; |
|
|
this.dgvMATChange.Rows[i].DefaultCellStyle.BackColor = Color.Red; |
|
|
this.dgvMATChange.Rows[i].DefaultCellStyle.BackColor = Color.Red; |
|
|