export function sumKey(arr, key) {
let result = 0;
for (let i = 0; i < arr.length; i++) {
result += Number(arr[i][key]);// 点开看 有两个值
}
return result;
}
const settlement_money_all = sumKey(machine_list, 'settlement_money');
const extra_charges_money_all = sumKey(machine_list, 'extra_charges_money');
const final_settlement_money_all = sumKey(machine_list,