settter
parent
804cfa8af9
commit
fd213a7b4b
|
@ -58,7 +58,7 @@ class BillRepository extends Repository
|
|||
->when(!empty($endTime), function ($q) use ($endTime) {
|
||||
$q->whereTime("a.create_time", "<=", $endTime);
|
||||
})
|
||||
->field("a.*,b.business_name,c.nick_name,c.avatar_url,d.name as coupon_main_name");
|
||||
->field("a.*,b.business_name,c.nick_name,c.avatar_url,d.name as coupon_main_name,d.deduction_money");
|
||||
|
||||
$failData ['total'] = $rep->count();
|
||||
$failData ['list'] = $rep
|
||||
|
|
|
@ -52,7 +52,7 @@ layui.use(['laytpl', 'table', 'jquery', 'form', 'miniTab', 'xmSelect',"laydate"]
|
|||
{field: "business_name", title: '商家名称'},
|
||||
{field: "coupon_main_name", title: '优惠券名称'},
|
||||
{templet:"#row-commission", title: '持有比例(渠道商:平台:消费者)'},
|
||||
{field: 'money', minWidth: 200, title: '金额'},
|
||||
{field: 'deduction_money', minWidth: 200, title: '扣除金额'},
|
||||
{field: 'create_time', minWidth: 200, title: '时间'},
|
||||
]],
|
||||
done: function (res, curr, count) {
|
||||
|
|
Loading…
Reference in New Issue