| 
 | 
	
 
 
bootstrap table 
 
https://datatables.net/manual/tech-notes/3 
 
 
js调试 debugger 
 
问题: 
切换向导函数找不到 
 
函数添加到返回中 
return { 
        init : init, 
        insertMaterial:insertMaterial, 
        updateMaterial:updateMaterial, 
        showOrderDetail:showOrderDetail 
        }; 
         
        调用时 appMpJxOrders.showOrderDetail('+id+')" 
 
table传两个参数 
 
https://editor.datatables.net/examples/styling/bootstrap.html 
 
 
 
 
{ 
                "data" : "orderCode", render:function(orderCode){ 
                    return ('<a href="#" data-type="text" data-pk="1" data-title="'+orderCode+'">'+orderCode+' </a>'); 
                 } 
            },  
             
               { data: null, render: function ( data, type, row ) { 
                // Combine the first and last names into a single table field 
                return data.first_name+' '+data.last_name; 
            } }, 
             
 
 |   
 
 
 
 |