wangfei
2024-10-21 07b0cdcb34db682b51ca972f5c23da653aa5d32d
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;