| 
					
				 | 
			
			
				@@ -799,7 +799,7 @@ let vm = new Vue({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     calculateGoodsByMysy(goodsDetails,"add"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     calculateGoodsByHalfPrice(goodsDetails,"add");*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // calculateGoodsByMz(goodsDetails,"add"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    handleSellVolume(goodsDetails, "add"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    handleSellVolume(goodsDetails, "add",i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // handle(goodsDetails,"add"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -840,7 +840,7 @@ let vm = new Vue({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         goodsDetails.goodstaxes = - goodsDetails.goodstaxes; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         goodsDetails.retailPrice = - goodsDetails.retailPrice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    handleSellVolume(goodsDetails, "minus"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    handleSellVolume(goodsDetails, "minus",i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // handle(goodsDetails,"minus"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2389,8 +2389,10 @@ calculateOrderPrice = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @param currentGoodsDetail    当前操作的商品详情 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @param type                  类型,add:加 minus:减 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-handleSellVolume = function (currentGoodsDetail, type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#loadingModal").modal('show'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+handleSellVolume = function (currentGoodsDetail, type,index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //$("#loadingModal").modal('show'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    document.getElementsByName("minusButton")[index].style.pointerEvents = "none"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    document.getElementsByName("addButton")[index].style.pointerEvents = "none"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // console.log("处理前商品详情=====>" + JSON.stringify(currentGoodsDetail)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 当前未被处理的商品数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let number = currentGoodsDetail.sellVolume; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2423,11 +2425,17 @@ handleSellVolume = function (currentGoodsDetail, type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 vm.totalPrice = currentTotalPrice.add(retailPrice).toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 vm.actualPrice = currentActualPrice.add(singleActualPaymentAmount).toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $("#loadingModal").modal('hide'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                document.getElementsByName("addButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                document.getElementsByName("minusButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else if (res.code === 500) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $("#loadingModal").modal('hide'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                document.getElementsByName("addButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                document.getElementsByName("minusButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 alert(res.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $("#loadingModal").modal('hide'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                document.getElementsByName("addButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                document.getElementsByName("minusButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 alert("未知异常!请联系管理员!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2439,6 +2447,8 @@ handleSellVolume = function (currentGoodsDetail, type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         vm.totalPrice = currentTotalPrice.subtract(retailPrice).toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         vm.actualPrice = currentActualPrice.subtract(singleActualPaymentAmount).toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $("#loadingModal").modal('hide'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        document.getElementsByName("minusButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        document.getElementsByName("addButton")[index].style.pointerEvents = "auto"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     for (let i = 0; i < vm.goodsList.length; i++) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2448,7 +2458,6 @@ handleSellVolume = function (currentGoodsDetail, type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // console.log("被删除的元素====>" + JSON.stringify(splice)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#loadingModal").modal('hide'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // console.log("处理后商品详情=====>" + JSON.stringify(currentGoodsDetail)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |