| 
					
				 | 
			
			
				@@ -359,15 +359,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     addProductItems (items) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.productDetails = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // this.productDetails = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       items.forEach((item) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.addProductItem(item) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     addProductItem (item) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.productDetails.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        ...item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let productId = item.productId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (!this.productDetails.some(item => item.productId === productId)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.productDetails.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ...item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    deleteProductHandle (productId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.productDetails.splice(this.productDetails.findIndex((item) => item.productId === productId), 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     addMaterial () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.materialListVisible = true 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -455,9 +461,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     removeDrawingItem (index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.drawingList.splice(index, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    deleteProductHandle (productId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.productDetails.splice(this.productDetails.findIndex((item) => item.productId === productId), 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |