ZengTao
2024-10-24 7e634b208bd68e3bf9c2cfe6682f22a684b1a102
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;