|
|
@ -359,8 +359,18 @@ watch( |
|
|
|
//调整事项合计左 |
|
|
|
bottomLeftSumTableData.value[0].ttBalanceLeft = bottomLeftTableData.value.reduce((prev, item1) => prev + Number(item1['ttBalanceLeft']),0) |
|
|
|
console.log('调整事项合计左',bottomLeftTableData) |
|
|
|
//调整后余额左 |
|
|
|
// bottomLeftSumTableData.value[0].ttBalanceLeft = |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
deep: true |
|
|
|
} |
|
|
|
) |
|
|
|
watch( |
|
|
|
() => bottomRightTableData.value, |
|
|
|
() => { |
|
|
|
//调整事项合计右 |
|
|
|
bottomRightSumTableData.value[0].ttBalanceRight = bottomRightTableData.value.reduce((prev, item1) => prev + Number(item1['ttBalanceRight']),0) |
|
|
|
console.log('调整事项合计右',bottomRightTableData) |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|