From 6db85a1b10d891a3871775c2c555fd681cb7da34 Mon Sep 17 00:00:00 2001
From: liuying <1427574514@qq.com>
Date: 周日, 01 12月 2024 12:09:53 +0800
Subject: [PATCH] 大屏

---
 LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue b/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue
index aa3c864..db71e2e 100644
--- a/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue
+++ b/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue
@@ -68,7 +68,7 @@
 							</div>
 							<div class="row rowMy1">
 								<div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex >= 20 && cellIndex < 40">
-									<span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }">
+									<span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }" @click="handleClick(cell)">
 										<!-- {{ cell.laneNo }} -->
 										{{ cell.placeCode }} 
 										<!-- {{ cell.layerNo }}{{ cell.columnNo }} -->
@@ -77,7 +77,7 @@
 							</div>
 							<div class="row rowMy2">
 								<div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex >= 40 && cellIndex <= 60">
-									<span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }">
+									<span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }" @click="handleClick(cell)">
 										<!-- {{ cell.laneNo }} -->
 										{{ cell.placeCode }} 
 										<!-- {{ cell.layerNo }}{{ cell.columnNo }} -->
@@ -403,8 +403,7 @@
 
 const dialogVisible = ref(false); // 寮规鍙鎬�
 
-const handleClick = (row: any, column: any) => {
-	console.log(row, column);
+const handleClick = (row: any) => {
 	proxy.$refs['propDetailRef'].openDialog(row);
 };
 
@@ -433,12 +432,12 @@
 }
 
 .cell {
-	border: 1px solid gray; /* 姣忎釜鏍煎瓙鐨勯粦绾� */
+	border: 1px solid #c1c1c1; /* 姣忎釜鏍煎瓙鐨勯粦绾� */
 	height: 50px; /* 姣忎釜鏍煎瓙鐨勯珮搴� */
 	display: inline-block;
 	justify-content: center;
 	align-items: center; /* 灞呬腑鏄剧ず鍐呭 */
-	width: 25px;
+	width: 49px;
 }
 
 .rowMy0 {

--
Gitblit v1.9.3