cuijian
2023-08-30 918cdaaa53f65007311946383dde4d56ba8e3195
src/views/spare/modules/sparePartInventory/SparePart2List.vue
@@ -58,6 +58,7 @@
        @click="searchReset"
        icon="reload"
      >重置</a-button>
      <a-tag color="#55acee" style="height:15px"></a-tag>库存积压;<a-tag color="#cd201f" style="height:15px"></a-tag>库存不足
    </div>
    <a-table
@@ -274,9 +275,9 @@
    //禁用状态样式
    tableRowClass(record, index) {
        if (record.totalMainQuantity < record.inventoryLowerLimit) {
          return 'error'
          return 'downLimit'
        }else if(record.totalMainQuantity > record.inventoryUpperLimit){
          return 'yellow'
          return 'upLimit'
        }
        
      },
@@ -335,8 +336,12 @@
  color: red;
}
.yellow {
  color: yellow;
.downLimit {
  color: red;
}
.upLimit {
  color: blue;
}
.fontweight {