chenlu
1 天以前 a597d9c7d1975ab9fe0f01d1a3608497288eafe0
north-glass-erp/northglass-erp/src/hook/footSum.js
@@ -3,9 +3,9 @@
    list.forEach(item => {
        if(field.indexOf('.')>-1){
            let  array = field.split('.')
            count += Number(item[array[0]][array[1]])
            count += Number(item[array[0]][array[1]]) || 0
        }else {
            count += Number(item[field])
            count += Number(item[field])  || 0
        }
    })
    return count.toFixed(2)