|  | @@ -148,10 +148,12 @@ $(function () {
 | 
	
		
			
				|  |  |                  formatter: function (value, col, row) {
 | 
	
		
			
				|  |  |                      let htmlStr = '<button class="btn btn-outline btn-info" onclick="vm.lookDetail(' + row.id + ')"><i class="fa fa-info-circle"></i>详情</button> ';
 | 
	
		
			
				|  |  |                      //订单状态: 0订单创建成功等待付款, 101订单已取消, 102订单已删除,201订单已付款,等待发货,300订单已发货, 301用户确认收货,401 没有发货,退款 402 已收货,退款退货
 | 
	
		
			
				|  |  | -                    if (hasPermission('order:refund')) {
 | 
	
		
			
				|  |  | +                    if(hasPermission('order:printMsg')){
 | 
	
		
			
				|  |  |                          if (row.orderStatus == 300 && (row.orderBizType == '10' || row.orderBizType == '02')) {
 | 
	
		
			
				|  |  |                              htmlStr += '<button class="btn btn-outline btn-primary" onclick="vm.printDetail(' + row.id + ')"><i class="fa fa-print"></i>打印</button> ';
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    if (hasPermission('order:refund')) {
 | 
	
		
			
				|  |  |                          if (row.orderStatus == 0) {
 | 
	
		
			
				|  |  |                              htmlStr += '<button class="btn btn-outline btn-danger" onclick="vm.cancelUpdate(' + row.id + ')"><i class="fa fa-times-circle-o"></i> 取消</button> ';
 | 
	
		
			
				|  |  |                          }
 |