- {
- row.data.map(item => {
- return (
-
-
{item.date}
-
{item.money}元
-
- )
- })
- }
+
+ {
+ return ''
+ }
+ }}>
+
+
)
}
},
{
- label:'合计',
- width: 160,
+ label:'姓名',
+ width:260,
+ prop:'name'
+ },
+ {
+ label:'小计',
+ minWidth: 160,
align:'right',
customFn:(row)=>{
let total = 0;
@@ -90,7 +107,9 @@ export default {
async getList(){
const res = await getList(this.select)
- console.log(res)
+ this.tableArr = res.map((item,index) => {
+ return item.name
+ })
this.total = res.length ?? 0
this.list = res
},