From 1c501eca860716e11270a551fd3f5234ab8be172 Mon Sep 17 00:00:00 2001 From: yinq Date: Fri, 13 Jun 2025 08:55:35 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=94=9F=E4=BA=A7=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1-=E5=BA=93=E5=AD=98=E4=BD=BF=E7=94=A8=E4=B8=AD?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E4=B8=8D=E5=A4=9F=E7=9A=84=E9=AB=98=E4=BA=AE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/mes/productOrder/index.vue | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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 ''; + }, } }; +