UI-Project/src/views/PurchaseReturn/purchaseStorage.vue
@@ -48,14 +48,14 @@
    if (rect.angle === 0) {  
    adjustedWidth = widtha * 0.24;  
    adjustedHeight = heighta * 0.16;  
    adjustedWidtha = widtha;
    adjustedHeighta = heighta;
    // adjustedWidtha = widtha;
    // adjustedHeighta = heighta;
    // newX = 5190 - (rect.yCoordinate + rect.width); 
  } else {  
    adjustedWidth = heighta * 0.24;  
    adjustedHeight = widtha * 0.16;  
    adjustedWidtha = heighta;
    adjustedHeighta = widtha;
    // adjustedWidtha = heighta;
    // adjustedHeighta = widtha;
    // newX = 5190 - (rect.yCoordinate + rect.height);  
  }  
  return {  
@@ -64,8 +64,8 @@
    ycoordinate: rect.xCoordinate * 0.16,
    width: adjustedWidth,  
    height: adjustedHeight,  
    widtha: adjustedWidtha,
    heighta: adjustedHeighta,
    widtha: rect.width,
    heighta: rect.height,
  };  
});
  }