wangfei
2024-11-08 3c4b340b58d0d0bdbc3db74b5721586dd964f86c
UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
@@ -107,7 +107,7 @@
    const newRects = data.intoGlass2[0].map(rect => {  
      const scaleFactor =  794.67/5087; 
      const scaleFactorY =  430/2800; 
        let adjustedWidth, adjustedHeight, adjustedWidtha, adjustedHeighta,widtha,heighta;;
        let adjustedWidth, adjustedHeight, adjustedWidtha, adjustedHeighta,widtha,heighta;
        let newX = rect.yCoordinate; 
      if (rect.width < rect.height) {
        widtha = rect.height;