diff --git a/hw-ui/src/views/mes/productOrder/index.vue b/hw-ui/src/views/mes/productOrder/index.vue index 85a35183..46ac3738 100644 --- a/hw-ui/src/views/mes/productOrder/index.vue +++ b/hw-ui/src/views/mes/productOrder/index.vue @@ -611,10 +611,7 @@ - - + @@ -1427,7 +1424,17 @@ export default { // }).catch(() => { // }); // }, - + tableRowClassName({row}) { + if (row.availableAmount < row.standardAmount) { + return 'warning-row'; + } + return ''; + }, } }; +