app/views/educode_sales/sales/index.html.erb in educode_sales-0.4.4 vs app/views/educode_sales/sales/index.html.erb in educode_sales-0.4.5

- old
+ new

@@ -24,14 +24,16 @@ table.render({ elem: '#table', url: '/missions/sales', cellMinWidth: 80, + totalRow:true, cols: [ [{ field: 'id', title:'序号',type: 'numbers', + totalRowText:'合计', width: 80 }, { field: 'name', title: '姓名', width: 100 @@ -40,22 +42,26 @@ title: '负责区域', }, { field: 'business_a', title: 'A类商机', templet: "#business_a", + totalRow:true, width: 120 }, { field: 'business_b', title: 'B类商机', templet: "#business_b", + totalRow:true, width: 120 }, { field: 'goal', title: '中标金额', + totalRow:true, width: 120 }, { field: 'return_money', title: '回款', + totalRow:true, width: 120 } ] ], limit: 20, \ No newline at end of file