首页报表优化
This commit is contained in:
parent
2dacef722a
commit
d97746dada
|
@ -87,7 +87,7 @@ export default {
|
||||||
}).forEach(item => {
|
}).forEach(item => {
|
||||||
sum += item[key] == null ? 0 : item[key];
|
sum += item[key] == null ? 0 : item[key];
|
||||||
})
|
})
|
||||||
list.push(sum);
|
list.push(sum.toFixed(2));
|
||||||
}
|
}
|
||||||
return list;
|
return list;
|
||||||
},
|
},
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
end-placeholder="结束日期"
|
end-placeholder="结束日期"
|
||||||
@change="getData"
|
@change="getData"
|
||||||
:picker-options="pickerOptions"
|
:picker-options="pickerOptions"
|
||||||
|
:clearable="false"
|
||||||
/>
|
/>
|
||||||
</el-row>
|
</el-row>
|
||||||
<daily-profit-report :bill-data="billData" width="100%" height="250px"/>
|
<daily-profit-report :bill-data="billData" width="100%" height="250px"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user