From bfb838d1c3aba72fe6b3de37f065902279a7d40c Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期四, 06 三月 2025 08:30:56 +0800 Subject: [PATCH] 需求新增 --- src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue b/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue index 4878301..90f5913 100644 --- a/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue +++ b/src/views/hazardousChemicals/warehouseManage/components/rawDetail.vue @@ -64,6 +64,7 @@ </template> </el-table-column> <el-table-column label="所在仓库" prop="warehouseName" align="center" /> + <el-table-column label="存储柜" prop="cupboardName" align="center" width="120" /> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180" > <template #default="scope"> <el-button link type="primary" v-if="scope.row.state ===0 || scope.row.state === 1" @click="editNum(scope.row)">零头修改</el-button> @@ -259,10 +260,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