From 6bc7ce4b5bb2cbaf458766ac40d9ba8c5d40133d Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 15 八月 2024 09:12:41 +0800 Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/HangZhouMes --- UI-Project/src/views/PurchaseReturn/purchaseReturn.vue | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue b/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue index 36297d2..60ec592 100644 --- a/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue +++ b/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue @@ -38,17 +38,17 @@ heighta = rect.height; } if (rect.angle === 0) { + adjustedWidth = widtha * 0.12; + adjustedHeight = heighta * 0.1; + // adjustedWidtha = widtha; + // adjustedHeighta = heighta; + newX = 5087 - (rect.yCoordinate + widtha); + } else { adjustedWidth = heighta * 0.12; adjustedHeight = widtha * 0.1; // adjustedWidtha = widtha; // adjustedHeighta = heighta; - newX = 5087 - (rect.yCoordinate + heighta); - } else { - adjustedWidth = widtha * 0.12; - adjustedHeight = heighta * 0.1; - // adjustedWidtha = widtha; - // adjustedHeighta = heighta; - newX = 5087 - (rect.yCoordinate + widtha); + newX = 5087 - (rect.yCoordinate + heighta); } // if (rect.angle === 0) { // adjustedWidth = heighta * 0.12; @@ -89,17 +89,17 @@ heighta = rect.height; } if (rect.angle === 0) { - adjustedWidth = heighta * 0.12; - adjustedHeight = widtha * 0.1; - // adjustedWidtha = widtha; - // adjustedHeighta = heighta; - newX = 5087 - (rect.yCoordinate + heighta); - } else { adjustedWidth = widtha * 0.12; adjustedHeight = heighta * 0.1; // adjustedWidtha = widtha; // adjustedHeighta = heighta; newX = 5087 - (rect.yCoordinate + widtha); + } else { + adjustedWidth = heighta * 0.12; + adjustedHeight = widtha * 0.1; + // adjustedWidtha = widtha; + // adjustedHeighta = heighta; + newX = 5087 - (rect.yCoordinate + heighta); } // if (rect.angle === 0) { // adjustedWidth = heighta * 0.12; -- Gitblit v1.8.0