Commit d5d55899 authored by 谢子梦's avatar 谢子梦

stage:发薪情况统计合计问题修复

parent 8aeef2a9
......@@ -231,7 +231,7 @@ export default {
sums[index] = '';
return
}
if (index === 3) {
if (index === 2) {
sums[index] = '';
return
}
......@@ -252,7 +252,7 @@ export default {
});
let arrAY = []
sums.forEach((ele, index) => {
if (index != 0 && index != 1 && index != 3) {
if (index != 0 && index != 1 && index != 2) {
let tys = null
tys = Math.floor(Number(ele) * 100) / 100
arrAY.push(tys)
......@@ -276,7 +276,7 @@ export default {
sums[index] = '';
return
}
if (index === 3) {
if (index === 2) {
sums[index] = '';
return
}
......@@ -297,7 +297,7 @@ export default {
});
let arrAY = []
sums.forEach((ele, index) => {
if (index != 0 && index != 1 && index != 3) {
if (index != 0 && index != 1 && index != 2) {
let tys = null
tys = Math.floor(Number(ele) * 100) / 100
arrAY.push(tys)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment