gaoluyang
2026-06-04 a0535e42ebe01366d3bb83e00eb0180b34682a63
src/pages/inventoryManagement/environmentalMonitoring/index.vue
@@ -48,6 +48,7 @@
              <view class="device-base">
                <text class="device-name">{{ item.name }}</text>
                <text class="device-meta">设备编码:{{ item.guid || "--" }}</text>
                <text class="device-meta">存放位置:{{ item.storageLocation || "--" }}</text>
              </view>
              <text class="device-tag">在线监测</text>
            </view>
@@ -106,6 +107,7 @@
    name: source?.deviceName || source?.name || source?.deviceNo || `设备${index + 1}`,
    guid: source?.guid || source?.deviceGuid || source?.id || "",
    deviceCode: source?.deviceCode || source?.deviceNo || source?.code || "",
    storageLocation: source?.storageLocation || "",
    temperature: 0,
    humidity: 0,
    co2: 0,
@@ -153,6 +155,7 @@
    name: item.name,
    guid: item.guid,
    deviceCode: item.deviceCode,
    storageLocation: item.storageLocation,
    temperature: formatMetric(item.temperature, TEMP_UNIT),
    humidity: formatMetric(item.humidity, "%RH"),
    co2: formatMetric(item.co2, "ppm"),