|
|
@ -127,6 +127,9 @@ |
|
|
|
<script th:src="@{/ajax/libs/vue/vue.js}"></script> |
|
|
|
<script th:src="@{/ajax/libs/element-ui/element-ui.js}"></script> |
|
|
|
<script th:inline="javascript"> |
|
|
|
|
|
|
|
var commonCurrencyDatas = [[${@dict.getType('sys_common_currency')}]]; |
|
|
|
|
|
|
|
new Vue({ |
|
|
|
el: '#app', |
|
|
|
data: function() { |
|
|
@ -370,12 +373,13 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].materialNum); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总数量: " + sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'commonCurrency', |
|
|
|
title: '币种' |
|
|
|
title: '币种', |
|
|
|
formatter: function (value, row, index) {return $.table.selectDictLabel(commonCurrencyDatas, value)} |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'taxPrice', |
|
|
@ -385,7 +389,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].taxPrice); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总含税价格: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -396,7 +400,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].noTaxPrice); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总不含税价格: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -407,7 +411,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].taxSum); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总含税总价: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -418,7 +422,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].noTaxSum); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总不含税总价: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -475,7 +479,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].materialNum); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总数量: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -486,7 +490,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].taxPrice); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总含税价格: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -497,7 +501,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].noTaxPrice); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总不含税价格: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -508,7 +512,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].taxSum); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总含税总价: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -519,7 +523,7 @@ |
|
|
|
for (var i in value) { |
|
|
|
sum += parseFloat(value[i].noTaxSum); |
|
|
|
} |
|
|
|
return sum; |
|
|
|
return "总不含税总价: " +sum; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|