From 18e4df43f79f51539474b2918544a9d2d4c5c4e0 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 13 十一月 2024 15:43:52 +0800
Subject: [PATCH] 前端页面适配

---
 UI-Project/src/views/Returns/returns.vue |   35 +++++++++++++++++++++++------------
 1 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/UI-Project/src/views/Returns/returns.vue b/UI-Project/src/views/Returns/returns.vue
index cf28409..f7a9744 100644
--- a/UI-Project/src/views/Returns/returns.vue
+++ b/UI-Project/src/views/Returns/returns.vue
@@ -579,21 +579,31 @@
   } catch (error) {
     console.error('璇锋眰鏃跺彂鐢熼敊璇�', error);
     ElMessage.error('璇锋眰鏃跺彂鐢熼敊璇�');
-  }  
+  }
 };
 </script>
 <template>
-  <div>
-    <div id="dotClass">
-      <div>{{ $t('basicData.laserprinting') }}</div>  
-    <i :style="{ marginTop: '2px', backgroundColor: markingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i>  
-    <el-button @click="confirmMarkingMachine" style="margin-left: 30px;margin-top: -3px;">{{ $t('basicData.yes') }}</el-button>
-    <div style="margin-left: 70px;">{{ $t('basicData.cuttingmachine') }}</div>
-    <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i>  
-    <el-button @click="confirmCuttingMachine" style="margin-left: 30px;margin-top: -3px;" >{{ $t('basicData.yes') }}</el-button>
-    <div style="margin-left: 70px;">{{ upstatus  }} </div>
-    <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatusColor, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i>  
-    <el-button @click="confirmCutting" style="margin-left: 30px;margin-top: -3px;" >{{ $t('basicData.change') }}</el-button>
+  <div style="height: 500px;">
+    <div>
+      <div id="dotClass">
+        <div>{{ $t('basicData.laserprinting') }}</div>
+        <i :style="{ marginTop: '2px', backgroundColor: markingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i>
+        <el-button @click="confirmMarkingMachine" style="margin-left: 30px;margin-top: -3px;">{{
+            $t('basicData.yes')
+          }}
+        </el-button>
+        <div style="margin-left: 70px;">{{ $t('basicData.cuttingmachine') }}</div>
+        <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i>
+        <el-button @click="confirmCuttingMachine" style="margin-left: 30px;margin-top: -3px;">{{
+            $t('basicData.yes')
+          }}
+        </el-button>
+        <div style="margin-left: 70px;">{{ upstatus }}</div>
+        <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatusColor, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i>
+        <el-button @click="confirmCutting" style="margin-left: 30px;margin-top: -3px;">{{
+            $t('basicData.change')
+          }}
+        </el-button>
   
   </div>
     <el-button :disabled="!canSelectProject" style="margin-top: 5px;margin-left: 15px;"  type="primary" @click="selectproject">{{ $t('basicData.selectproject') }}</el-button>
@@ -885,6 +895,7 @@
       </div>
     </template>
   </el-dialog>
+  </div>
 </template>
 <style scoped>
 #dt { display:block; float:left;line-height: 20px;margin-left: 100px;}

--
Gitblit v1.8.0