From a5dc99a838ca1145ff2f2a46ad1c4a79a82d9eed Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 08 六月 2026 11:56:21 +0800
Subject: [PATCH] 新疆大罗素 1.仓储物流查看数采要展示存放位置 2.销售台账查看详情时价格没有隐藏
---
src/views/inventoryManagement/stockManagement/IotDataDialog.vue | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/views/inventoryManagement/stockManagement/IotDataDialog.vue b/src/views/inventoryManagement/stockManagement/IotDataDialog.vue
index 8a34b8f..dab7d5c 100644
--- a/src/views/inventoryManagement/stockManagement/IotDataDialog.vue
+++ b/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;
--
Gitblit v1.9.3