zhouwx
2024-10-09 e39acb3659c059cbedc37ff6592ef7b3355bd20c
src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue
@@ -259,10 +259,14 @@
  }
  for (let i = 0; i <= arr.length; i++) {
    if (arr[i] == row.basicId) {
      if(row.remaining < row.hazmatBasic.metering){
      if(row.state === 3 && row.remaining < row.hazmatBasic.metering){
        if (columnIndex === 11 || columnIndex === 10){
          return { color:' red' }
        }
      }else if(row.remaining < row.hazmatBasic.metering){
        if (columnIndex === 11 || columnIndex === 10){
          return { color: '#ff9900' }
        }
      }
    }
  }