Browse Source

[feat] 销售管理

销售出货通知已经加上合计的字段,新增空值判断
dev
liuxiaoxu 2 months ago
parent
commit
f7af85da48
  1. 10
      ruoyi-admin/src/main/resources/templates/system/salesShippingInform/salesShippingInform.html

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

@ -177,7 +177,7 @@
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].materialSum);
sum += parseFloat(value[i].materialSum)|| 0;;
}
return "总物料: " + sum;
}
@ -188,7 +188,7 @@
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].enterpriseSum);
sum += parseFloat(value[i].enterpriseSum)|| 0;;
}
return "总数量: " + sum;
}
@ -200,7 +200,7 @@
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].allPriceExcludingTaxRmb);
sum += parseFloat(value[i].allPriceExcludingTaxRmb)|| 0;;
}
return "总不含税总价: " + sum.toFixed(2);
}
@ -211,7 +211,7 @@
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].allPriceExcludingTaxDollar);
sum += parseFloat(value[i].allPriceExcludingTaxDollar)|| 0;;
}
return "总不含税总价: " + sum.toFixed(2);
}
@ -222,7 +222,7 @@
footerFormatter: function (value) {
var sum = 0;
for (var i in value) {
sum += parseFloat(value[i].allPriceIncludesTax);
sum += parseFloat(value[i].allPriceIncludesTax)|| 0;;
}
return "总含税总价: " + sum.toFixed(2);
}

Loading…
Cancel
Save