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

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

parent 8aeef2a9
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
sums[index] = ''; sums[index] = '';
return return
} }
if (index === 3) { if (index === 2) {
sums[index] = ''; sums[index] = '';
return return
} }
...@@ -252,7 +252,7 @@ export default { ...@@ -252,7 +252,7 @@ export default {
}); });
let arrAY = [] let arrAY = []
sums.forEach((ele, index) => { sums.forEach((ele, index) => {
if (index != 0 && index != 1 && index != 3) { if (index != 0 && index != 1 && index != 2) {
let tys = null let tys = null
tys = Math.floor(Number(ele) * 100) / 100 tys = Math.floor(Number(ele) * 100) / 100
arrAY.push(tys) arrAY.push(tys)
...@@ -276,7 +276,7 @@ export default { ...@@ -276,7 +276,7 @@ export default {
sums[index] = ''; sums[index] = '';
return return
} }
if (index === 3) { if (index === 2) {
sums[index] = ''; sums[index] = '';
return return
} }
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
}); });
let arrAY = [] let arrAY = []
sums.forEach((ele, index) => { sums.forEach((ele, index) => {
if (index != 0 && index != 1 && index != 3) { if (index != 0 && index != 1 && index != 2) {
let tys = null let tys = null
tys = Math.floor(Number(ele) * 100) / 100 tys = Math.floor(Number(ele) * 100) / 100
arrAY.push(tys) 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