|
|
@ -56,7 +56,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="bootstrap-table"></table> |
|
|
|
<table id="bootstrap-table" style="white-space:nowrap"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -83,6 +83,7 @@ |
|
|
|
cancelUrl: prefix + "/cancel/{id}", |
|
|
|
restoreUrl: prefix + "/restore/{id}", |
|
|
|
exportUrl: prefix + "/export", |
|
|
|
showFooter: true, |
|
|
|
modalName: "售后通知单", |
|
|
|
columns: [{ |
|
|
|
checkbox: true |
|
|
@ -188,10 +189,24 @@ |
|
|
|
{ |
|
|
|
title: '物料数合计', |
|
|
|
field: 'materialSum', |
|
|
|
footerFormatter: function (value) { |
|
|
|
var sum = 0; |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].materialSum) || 0; |
|
|
|
} |
|
|
|
return "总物料合计: " + sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '数量合计', |
|
|
|
field: 'enterpriseSum', |
|
|
|
footerFormatter: function (value) { |
|
|
|
var sum = 0; |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].enterpriseSum) || 0; |
|
|
|
} |
|
|
|
return "总数量合计: " + sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '联系人', |
|
|
|