cuijian
2023-08-30 4a2da94a6f743609ed670710947bdfd4e41bf714
库存代码冲突调整
已修改1个文件
17 ■■■■ 文件已修改
src/views/spare/modules/sparePartInventory/SparePart2List.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/spare/modules/sparePartInventory/SparePart2List.vue
@@ -58,7 +58,6 @@
        @click="searchReset"
        icon="reload"
      >重置</a-button>
      <a-tag color="#55acee" style="height:15px"></a-tag>库存积压;<a-tag color="#cd201f" style="height:15px"></a-tag>库存不足
      <a-button
        type="primary"
        icon="download"
@@ -73,6 +72,7 @@
        @change="handleImportExcel">
        <a-button type="primary" icon="import">导入</a-button>
      </a-upload>
      <a-tag color="#55acee" style="height:15px"></a-tag>库存积压 <a-tag color="#cd201f" style="height:15px"></a-tag>库存不足
    </div>
    <a-table
@@ -289,10 +289,10 @@
    //禁用状态样式
    tableRowClass(record, index) {
        if (record.totalMainQuantity < record.inventoryLowerLimit) {
          return 'error'
      if (record.totalMainQuantity < record.inventoryLowerLimit) {
          return 'downLimit'
        }else if(record.totalMainQuantity > record.inventoryUpperLimit){
          return 'yellow'
          return 'upLimit'
        }
      },
@@ -355,6 +355,15 @@
  color: yellow;
}
.downLimit {
  color: red;
}
.upLimit {
  color: blue;
}
.fontweight {
  font-weight: bold;
}