|  | @@ -514,14 +514,50 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //未支付订单,去购买
 | 
	
		
			
				|  |  |      goPay(item) {
 | 
	
		
			
				|  |  | -      this.isPayment = true;
 | 
	
		
			
				|  |  | -      this.goods_Data = item;
 | 
	
		
			
				|  |  | -      this.orderNumber = item.id;
 | 
	
		
			
				|  |  | +      if (item.goods_is_deleted == "true") {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          showClose: true,
 | 
	
		
			
				|  |  | +          message: "商品已被删除,不能购买",
 | 
	
		
			
				|  |  | +          type: "error",
 | 
	
		
			
				|  |  | +          offset: 80,
 | 
	
		
			
				|  |  | +          duration: 2000,
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      } else if (item.goods_publish_status == 0) {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          showClose: true,
 | 
	
		
			
				|  |  | +          message: "商品已下架,不能购买",
 | 
	
		
			
				|  |  | +          type: "error",
 | 
	
		
			
				|  |  | +          offset: 80,
 | 
	
		
			
				|  |  | +          duration: 2000,
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        this.isPayment = true;
 | 
	
		
			
				|  |  | +        this.goods_Data = item;
 | 
	
		
			
				|  |  | +        this.orderNumber = item.id;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //重新下单
 | 
	
		
			
				|  |  |      reOrder(item) {
 | 
	
		
			
				|  |  | -      this.isConfirmorder = true;
 | 
	
		
			
				|  |  | -      this.goods_Data = item;
 | 
	
		
			
				|  |  | +      if (item.goods_is_deleted == "true") {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          showClose: true,
 | 
	
		
			
				|  |  | +          message: "商品已被删除,不能购买",
 | 
	
		
			
				|  |  | +          type: "error",
 | 
	
		
			
				|  |  | +          offset: 80,
 | 
	
		
			
				|  |  | +          duration: 2000,
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      } else if (item.goods_publish_status == 0) {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          showClose: true,
 | 
	
		
			
				|  |  | +          message: "商品已下架,不能购买",
 | 
	
		
			
				|  |  | +          type: "error",
 | 
	
		
			
				|  |  | +          offset: 80,
 | 
	
		
			
				|  |  | +          duration: 2000,
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        this.isConfirmorder = true;
 | 
	
		
			
				|  |  | +        this.goods_Data = item;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      closeConfirmorder() {
 | 
	
		
			
				|  |  |        this.isConfirmorder = false;
 |