|  | @@ -57,7 +57,22 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
 | 
	
		
			
				|  |  |  //                        {field: 'verification', title: __('Verification'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
 | 
	
		
			
				|  |  |  //                        {field: 'idcard_status', title: __('Idcard_status'), searchList: {"-1":__('Idcard_status -1'),"0":__('Idcard_status 0'),"1":__('Idcard_status 1'),"2":__('Idcard_status 2')}, formatter: Table.api.formatter.status},
 | 
	
		
			
				|  |  |                          {field: 'wallet.money', title: __('Wallet.money'), operate: false},
 | 
	
		
			
				|  |  | -                        {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
 | 
	
		
			
				|  |  | +                        {field: 'operate', title: __('Operate'), table: table,
 | 
	
		
			
				|  |  | +                            buttons:[
 | 
	
		
			
				|  |  | +                                {
 | 
	
		
			
				|  |  | +                                    name:'editproduct',
 | 
	
		
			
				|  |  | +                                    text:'选择核销商品',
 | 
	
		
			
				|  |  | +                                    title:'选择核销商品',
 | 
	
		
			
				|  |  | +                                    icon:'fa fa-exclamation-circle',
 | 
	
		
			
				|  |  | +                                    classname:'btn btn-xs btn-info btn-dialog',
 | 
	
		
			
				|  |  | +                                    url:'user/user/editproduct/id/{ids}?dialog=1',
 | 
	
		
			
				|  |  | +                                    target:'_self',
 | 
	
		
			
				|  |  | +                                    hidden:function(row){
 | 
	
		
			
				|  |  | +                                        return row.group_id==3 ? false : true;
 | 
	
		
			
				|  |  | +                                    }
 | 
	
		
			
				|  |  | +                                }
 | 
	
		
			
				|  |  | +                            ],
 | 
	
		
			
				|  |  | +                            events: Table.api.events.operate, formatter: Table.api.formatter.operate}
 | 
	
		
			
				|  |  |                      ]
 | 
	
		
			
				|  |  |                  ]
 | 
	
		
			
				|  |  |              });
 | 
	
	
		
			
				|  | @@ -65,6 +80,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
 | 
	
		
			
				|  |  |              // 为表格绑定事件
 | 
	
		
			
				|  |  |              Table.api.bindevent(table);
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | +        editproduct: function () {
 | 
	
		
			
				|  |  | +            Controller.api.bindevent();
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          add: function () {
 | 
	
		
			
				|  |  |              Controller.api.bindevent();
 | 
	
		
			
				|  |  |          },
 |