|
|
@@ -744,6 +744,10 @@ export default {
|
|
|
//导出公共方法
|
|
|
expendDataup(e, idList) {
|
|
|
idList = idList || this.expentList;
|
|
|
+ if (idList.length > 5) {
|
|
|
+ this.$message.warning('最多可导出5条数据')
|
|
|
+ return
|
|
|
+ }
|
|
|
this.$api.expense.excel(idList).then((response) => {
|
|
|
if (response.code == 200) {
|
|
|
if (response.data == null) {
|