From e39acb3659c059cbedc37ff6592ef7b3355bd20c Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期三, 09 十月 2024 10:46:59 +0800 Subject: [PATCH] bug修改 --- src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue b/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue index 4878301..77c8fe9 100644 --- a/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue +++ b/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue @@ -259,10 +259,14 @@ } for (let i = 0; i <= arr.length; i++) { if (arr[i] == row.basicId) { - if(row.remaining < row.hazmatBasic.metering){ + if(row.state === 3 && row.remaining < row.hazmatBasic.metering){ if (columnIndex === 11 || columnIndex === 10){ return { color:' red' } } + }else if(row.remaining < row.hazmatBasic.metering){ + if (columnIndex === 11 || columnIndex === 10){ + return { color: '#ff9900' } + } } } } -- Gitblit v1.9.2