Browse Source

[fix] 销售管理

销售出货通知前端列表页面:新增 物料合计、数量合计、不含税总价(RMB)、不含税总价(美元)、含税总价进行合计操作
dev
liuxiaoxu 2 months ago
parent
commit
c3235a5d2b
  1. 42
      ruoyi-admin/src/main/resources/templates/system/salesShippingInform/salesShippingInform.html

42
ruoyi-admin/src/main/resources/templates/system/salesShippingInform/salesShippingInform.html

@ -83,7 +83,7 @@
<!-- </div>-->
</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>
@ -113,6 +113,7 @@
cancelUrl: prefix + "/cancel/{id}",
restoreUrl: prefix + "/restore/{id}",
exportUrl: prefix + "/export",
showFooter: true,
modalName: "销售出货通知",
columns: [{
checkbox: true
@ -173,23 +174,58 @@
{
title: '物料合计',
field: 'materialSum',
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].materialSum);
}
return "总物料: " + sum;
}
},
{
title: '数量合计',
field: 'enterpriseSum',
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].enterpriseSum);
}
return "总数量: " + sum;
}
},
{
title: '不含税总价',
title: '不含税总价(RMB)',
field: 'allPriceExcludingTaxRmb',
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].allPriceExcludingTaxRmb);
}
return "总不含税总价: " + sum.toFixed(2);
}
},
{
title: '不含税总价',
title: '不含税总价(美元)',
field: 'allPriceExcludingTaxDollar',
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].allPriceExcludingTaxDollar);
}
return "总不含税总价: " + sum.toFixed(2);
}
},
{
title: '含税总价',
field: 'allPriceIncludesTax',
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].allPriceIncludesTax);
}
return "总含税总价: " + sum.toFixed(2);
}
},
{
title: '计划交付时间',

Loading…
Cancel
Save