| 
					
				 | 
			
			
				@@ -162,10 +162,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         refresherTriggered: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         isShowRemarkDialog: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         actionList: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          {name: '已卖出'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          {name: '下架'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          {name: '重新上架'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          {name: '编辑'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          {name: '已卖出', value: 1}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          {name: '下架', value: 2}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          {name: '重新上架', value: 3}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          {name: '编辑', value: 4}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         isShowActionDialog: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         replyId: '', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -291,6 +291,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       confirmReportDialog() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(!this.reportForm.reason) return this.$toast('请输入举报原因'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$api.postJson('/reportGoods/report', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           goodsId: this.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           reportNote: this.reportForm.reason, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -301,8 +303,33 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      selectAction() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(!this.reportForm.reason) return this.$toast('请输入举报原因'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      selectAction(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 已卖出/下架 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(e.value === 1 || e.value === 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$modal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            content: `确定要${e.name}吗?` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$api.post('/goods/upOrDel', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              id: this.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              status: e.value === 1 ? 4 : 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.$successToast(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.getDetail(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }).catch(() => {}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 重新上架 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        else if(e.value === 3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$navToPage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            url: `/pages/issue/index?goodsId=${this.id}&type=1` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 编辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        else if(e.value === 4) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$navToPage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            url: `/pages/issue/index?goodsId=${this.id}&type=2` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |