src/views/inventoryManagement/stockManagement/IotDataDialog.vue
@@ -32,6 +32,10 @@
                  <span :class="getStatusTextClass(device.status)">{{ getStatusLabel(device.status) }}</span>
                </div>
              </div>
              <div class="device-location" v-if="device.storageLocation">
                <el-icon><Location /></el-icon>
                <span>存放位置:{{ device.storageLocation }}</span>
              </div>
            </template>
            <div v-if="device.status === '在线'" class="device-data">
              <el-row :gutter="10">
@@ -100,7 +104,7 @@
<script setup>
  import { ref, computed, onMounted, onUnmounted, watch } from "vue";
  import { batchGetIotRealtimeData } from "@/api/inventoryManagement/stockInventory.js";
  import { Refresh, Sunny, Drizzling, WindPower, Sunrise, Lightning } from "@element-plus/icons-vue";
  import { Refresh, Sunny, Drizzling, WindPower, Sunrise, Lightning, Location } from "@element-plus/icons-vue";
  const props = defineProps({
    visible: {
@@ -277,6 +281,15 @@
    gap: 10px;
  }
  .device-location {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 13px;
    color: #606266;
  }
  .device-name {
    font-weight: bold;
    font-size: 16px;