From 9f03850e058066a7c7bb3a3320c5010bb9d162d2 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期一, 09 十二月 2024 13:48:49 +0800
Subject: [PATCH] 大理片笼表格更改,新增调度开关,钢化调整版图大小
---
UI-Project/src/views/PurchaseReturn/purchaseReturn.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue b/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
index 51909ab..ff7df0b 100644
--- a/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
+++ b/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
@@ -207,7 +207,7 @@
const newGlassIds = new Set(data.waitingGlass[0].map(rect => rect.glassId));
const existingRects = adjustedRectsa.value.filter(rect => newGlassIds.has(rect.glassId));
const newRects = data.waitingGlass[0].map(rect => {
- const scaleFactor = 1390/5190;
+ const scaleFactor = 1390/6200;
const scaleFactorY = 750/2800;
let adjustedWidth, adjustedHeight, adjustedWidtha, adjustedHeighta,widtha,heighta;;
let newX = rect.yCoordinate;
@@ -223,13 +223,13 @@
adjustedHeight = heighta * scaleFactorY;
// adjustedWidtha = widtha;
// adjustedHeighta = heighta;
- newX = 5190 - (rect.yCoordinate + widtha);
+ newX = 6000 - (rect.yCoordinate + widtha);
} else {
adjustedWidth = heighta * scaleFactor;
adjustedHeight = widtha * scaleFactorY;
// adjustedWidtha = widtha;
// adjustedHeighta = heighta;
- newX = 5190 - (rect.yCoordinate + heighta);
+ newX = 6000 - (rect.yCoordinate + heighta);
}
return {
...rect,
@@ -260,7 +260,7 @@
const existingRects = adjustedRectsb.value.filter(rect => newGlassIds.has(rect.glassId));
// 璁$畻鏂扮殑鐭╁舰
const newRects = data.outGlass[0].map(rect => {
- const scaleFactor = 1390/5190;
+ const scaleFactor = 1390/6000;
const scaleFactory = 750/2800;
let adjustedWidth, adjustedHeight, adjustedWidtha, adjustedHeighta,widtha,heighta,newY;
let newX = rect.yCoordinate;
--
Gitblit v1.8.0