diff --git a/ruoyi-admin/src/main/resources/templates/system/salesShippingInform/salesShippingInform.html b/ruoyi-admin/src/main/resources/templates/system/salesShippingInform/salesShippingInform.html
index 6267d49e..ee196812 100644
--- a/ruoyi-admin/src/main/resources/templates/system/salesShippingInform/salesShippingInform.html
+++ b/ruoyi-admin/src/main/resources/templates/system/salesShippingInform/salesShippingInform.html
@@ -83,7 +83,7 @@
@@ -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: '计划交付时间',