| | |
| | | </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> |
| | |
| | | } |
| | | 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' } |
| | | } |
| | | } |
| | | } |
| | | } |