Commit f8c690e9 authored by chenfenglei's avatar chenfenglei

商品列表跳转期数列表

parent 824ffa97
......@@ -578,7 +578,11 @@
message:'请先选择用户'
})
}else{
getPeriodsApi({goods_id:this.userObj.goods_id,limit:99999}).then(res=>{
let goods_id=this.userObj.goods_id;
if(goods_id == undefined){
goods_id=this.userTable[0].goods_id
}
getPeriodsApi({goods_id:goods_id,limit:99999}).then(res=>{
res.list.forEach(i=>{
i.children = []
});
......
......@@ -59,7 +59,7 @@
</el-form-item>
</el-form>
<el-table :data="tableData" @expand-change="changeRow" style="width: 100%" fixed>
<el-table-column prop="out_trade_no" label="订单号">
<el-table-column prop="out_trade_no" label="订单号" width="120">
</el-table-column>
<el-table-column label="购买人" className="f-c" width="150">
<template slot-scope="scope">
......@@ -70,7 +70,7 @@
prop="periods_title"
label="期数标题">
</el-table-column>
<el-table-column prop="goods_name" label="商品名称">
<el-table-column prop="goods_name" label="商品名称" width="160">
</el-table-column>
<el-table-column width="250" prop="invite_id" className="f-c" label="来源">
<template slot-scope="scope">
......@@ -129,9 +129,13 @@
</div>
</template>
</el-table-column>
<el-table-column prop="pay_at" label="购买时间" sortable>
</el-table-column>
<el-table-column prop="created_at" label="下单时间" sortable>
<el-table-column prop="created_at" label="时间" width="280">
<template slot-scope="scope">
下单时间:{{scope.row.created_at}}<br>
购买时间:{{scope.row.pay_at}}<br>
成团时间:{{scope.row.deadline}}<br>
截止时间:{{scope.row.group_success_time}}
</template>
</el-table-column>
<el-table-column prop="desc" label="备注">
......
......@@ -544,7 +544,8 @@ import chooseGoodDialog from './chooseGoodDialog'
show:true,
title:`${this.detail.name}班级用户列表`,
teacherId: data.teacher_id,
periods_id: data.periods_id
periods_id: data.periods_id,
goods_id:data.goods_id
}
},
onPageChange3(val){
......
......@@ -613,7 +613,8 @@
show:true,
title:`${data.teacher_name}班级用户列表`,
teacherId: data.teacher_id,
periods_id: data.periods_id
periods_id: data.periods_id,
goods_id:data.goods_id
}
},
//编辑备注 看课情况
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment