diff --git a/src/views/wms/inventoryAlarm/index.vue b/src/views/wms/inventoryAlarm/index.vue
index e8e44f5..61e8aa6 100644
--- a/src/views/wms/inventoryAlarm/index.vue
+++ b/src/views/wms/inventoryAlarm/index.vue
@@ -86,11 +86,11 @@
-
+
{{ scope.row.inventoryQty }}
@@ -392,13 +392,12 @@ const getMaterialCategorySelect = async () => {
};
const getRowClass = (row: any) => {
- if (row.row.inventoryQty > row.row.maxStockAmount || row.row.inventoryQty < row.row.minStockAmount) {
+ if (parseFloat(row.row.inventoryQty) > parseFloat(row.row.maxStockAmount) || parseFloat(row.row.inventoryQty) < parseFloat(row.row.minStockAmount)) {
return 'alarm-row';
}
return '';
};
-
onMounted(() => {
getMaterialCategorySelect();
getBaseWarehouseListsss();