修改表格页对应的js,修改列表的formatter函数,下面是参考
{field: 'id', title: __('项目地图'), table: table, buttons: [
{name: 'sms', title: '项目地图', icon: 'fa fa-map-marker', classname: 'btn btn-xs btn-primary btn-dialog', url: 'devicecar/findposition'}], operate:false, formatter:
function(value,row,index){
return "";}},
还有个办法是
你要修改这个列表页对应的index方法,获取数据的时候把订单下的商品清单记录集作为订单的一个字段返回
然后利用formater函数,在页面把这个订单商品清单记录集,逐项循环,取出来,拼接HTML ,填充到表格的当前行