From 5d652d74d9c9cabeada006f4a15ecc6bcf0784f4 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期四, 06 三月 2025 11:02:43 +0800
Subject: [PATCH] 上片机手动状态接口、bug,理片笼模块新增表格,中空理片笼小片恢复

---
 UI-Project/src/views/hollow/hollowslicecage.vue |   71 +++++++++++++++++++++--------------
 1 files changed, 42 insertions(+), 29 deletions(-)

diff --git a/UI-Project/src/views/hollow/hollowslicecage.vue b/UI-Project/src/views/hollow/hollowslicecage.vue
index 4c53783..df6d7bc 100644
--- a/UI-Project/src/views/hollow/hollowslicecage.vue
+++ b/UI-Project/src/views/hollow/hollowslicecage.vue
@@ -409,7 +409,7 @@
 const rectStyle = (rect, index) => ({
   position: 'absolute',
   width: '170px',
-  right: '0px',
+  left: '0px',
   top: `${index*rect.top}px`,
   height: `${rect.height}px`,
 });
@@ -425,24 +425,24 @@
 // 璁$畻姣忎釜灏忕煩褰㈢殑鏍峰紡
 const subRectStyle = (rectIndex, subIndex) => {
   const width = '18px';
-  const marginRight = '8px';
-  const totalWidth = 6 * (parseInt(width) + parseInt(marginRight));
-  const right = `${(subIndex * (parseInt(width) + parseInt(marginRight))) / totalWidth * 100}%`;
+  const marginLeft = '8px';
+  const totalWidth = 6 * (parseInt(width) + parseInt(marginLeft));
+  const left = `${(subIndex * (parseInt(width) + parseInt(marginLeft))) / totalWidth * 100}%`;
   return {
     position: 'absolute',
     width,
     height: '100%',
-    marginRight,
+    marginLeft,
     top: '0px',
     backgroundColor: '#911005',
-    right,
+    left,
   };
 };
 // 璁$畻姣忎釜澶х煩褰㈢殑鏍峰紡
 const rectStylea = (rect, index) => ({
   position: 'absolute',
   width: '170px',
-  right: '0px',
+  left: '0px',
   top: `${index*rect.top}px`,
   height: `${rect.height}px`,
 });
@@ -458,24 +458,24 @@
 // 璁$畻姣忎釜灏忕煩褰㈢殑鏍峰紡
 const subRectStylea = (rectIndex, subIndex) => {
   const width = '18px';
-  const marginRight = '8px';
-  const totalWidth = 6 * (parseInt(width) + parseInt(marginRight));
-  const right = `${(subIndex * (parseInt(width) + parseInt(marginRight))) / totalWidth * 100}%`;
+  const marginLeft = '8px';
+  const totalWidth = 6 * (parseInt(width) + parseInt(marginLeft));
+  const left = `${(subIndex * (parseInt(width) + parseInt(marginLeft))) / totalWidth * 100}%`;
   return {
     position: 'absolute',
     width,
     height: '100%',
-    marginRight,
+    marginLeft,
     top: '0px',
     backgroundColor: '#911005',
-    right,
+    left,
   };
 };
 // 璁$畻姣忎釜澶х煩褰㈢殑鏍峰紡
 const rectStyleb = (rect, index) => ({
   position: 'absolute',
   width: '170px',
-  right: '0px',
+  left: '0px',
   top: `${index*rect.top}px`,
   height: `${rect.height}px`,
 });
@@ -491,24 +491,24 @@
 // 璁$畻姣忎釜灏忕煩褰㈢殑鏍峰紡
 const subRectStyleb = (rectIndex, subIndex) => {
   const width = '18px';
-  const marginRight = '8px';
-  const totalWidth = 6 * (parseInt(width) + parseInt(marginRight));
-  const right = `${(subIndex * (parseInt(width) + parseInt(marginRight))) / totalWidth * 100}%`;
+  const marginLeft = '8px';
+  const totalWidth = 6 * (parseInt(width) + parseInt(marginLeft));
+  const left = `${(subIndex * (parseInt(width) + parseInt(marginLeft))) / totalWidth * 100}%`;
   return {
     position: 'absolute',
     width,
     height: '100%',
-    marginRight,
+    marginLeft,
     top: '0px',
     backgroundColor: '#911005',
-    right,
+    left,
   };
 };
 // 璁$畻姣忎釜澶х煩褰㈢殑鏍峰紡
 const rectStylec = (rect, index) => ({
   position: 'absolute',
   width: '170px',
-  right: '0px',
+  left: '0px',
   top: `${index*rect.top}px`,
   height: `${rect.height}px`,
 });
@@ -524,24 +524,24 @@
 // 璁$畻姣忎釜灏忕煩褰㈢殑鏍峰紡
 const subRectStylec = (rectIndex, subIndex) => {
   const width = '18px';
-  const marginRight = '8px';
-  const totalWidth = 6 * (parseInt(width) + parseInt(marginRight));
-  const right = `${(subIndex * (parseInt(width) + parseInt(marginRight))) / totalWidth * 100}%`;
+  const marginLeft = '8px';
+  const totalWidth = 6 * (parseInt(width) + parseInt(marginLeft));
+  const left = `${(subIndex * (parseInt(width) + parseInt(marginLeft))) / totalWidth * 100}%`;
   return {
     position: 'absolute',
     width,
     height: '100%',
-    marginRight,
+    marginLeft,
     top: '0px',
     backgroundColor: '#911005',
-    right,
+    left,
   };
 };
 // 璁$畻姣忎釜澶х煩褰㈢殑鏍峰紡
 const rectStyled = (rect, index) => ({
   position: 'absolute',
   width: '170px',
-  right: '0px',
+  left: '0px',
   top: `${index*rect.top}px`,
   height: `${rect.height}px`,
 });
@@ -557,9 +557,9 @@
 // 璁$畻姣忎釜灏忕煩褰㈢殑鏍峰紡
 const subRectStyled = (rectIndex, subIndex) => {
   const width = '18px';
-  const marginRight = '8px';
-  const totalWidth = 6 * (parseInt(width) + parseInt(marginRight));
-  const right = `${(subIndex * (parseInt(width) + parseInt(marginRight))) / totalWidth * 100}%`;
+  const marginLeft = '8px';
+  const totalWidth = 6 * (parseInt(width) + parseInt(marginLeft));
+  const left = `${(subIndex * (parseInt(width) + parseInt(marginLeft))) / totalWidth * 100}%`;
   return {
     position: 'absolute',
     width,
@@ -567,7 +567,7 @@
     marginLeft,
     top: '0px',
     backgroundColor: '#911005',
-    right,
+    left,
   };
 };
 onMounted(() => {
@@ -769,6 +769,19 @@
     </div>
 </div>
 </div>
+<el-card style="flex: 1;margin-left: 1020px;margin-top: -670px;" v-loading="loading">
+      <div style="width: 100%; height: calc(100% - 35px); overflow-y: auto;max-height: 550px;">
+       <el-table height="550px" ref="table" border 
+       :data="tableDatac" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}">
+         <el-table-column prop="glassId" align="center" :label="$t('searchOrder.cardnumber')" min-width="140" />
+         <el-table-column prop="startSlot" align="center" :label="$t('searchOrder.totallogarithms')" min-width="120" />
+         <el-table-column prop="startSlot" align="center" :label="$t('searchOrder.numberpairs')" min-width="120" />
+         <el-table-column prop="targetSlot" align="center" :label="$t('hellow.totalnumber')" min-width="120" />
+         <el-table-column prop="startSlot" align="center" :label="$t('hellow.realpieces')" min-width="120" />
+         <el-table-column prop="startSlot" align="center" :label="$t('searchOrder.numberoccupied')" min-width="120" />
+       </el-table>
+       </div>
+    </el-card>
   </div>
   <!-- 娣诲姞鐞嗙墖绗间俊鎭� -->
   <el-dialog v-model="add" top="10vh" width="70%" :title="$t('searchOrder.addcage')" >

--
Gitblit v1.8.0