Commit 9504bedc authored by hujun's avatar hujun

业绩明细修改

parent 43df6754
......@@ -88,6 +88,7 @@ class PerformanceInfo extends Basic
$field = 'Obargain.create_time,';
$field .= 'Obargain.id,';
$field .= 'Obargain.father_id,';
$field .= 'Obargain.trade_type,';
$field .= 'Obargain.agent_id,';//分佣方ID,前端做权限判断用
$field .= 'Obargain.scale,';
......
......@@ -16,7 +16,11 @@
<td>[%= it[item]['scale_fee'] %]</td>
<td>[%= it[item]['practical_fee'] %]</td>
<td>
<a class="btn1 btn-success details-btn" href="#modal_detail" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详情</a>
[% if(it[item]["father_id"] == 0) { %]
<a class="btn1 btn-success details-btn" href="#modal_detail" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详情</a>
[% }else{ %]
<a class="btn1 btn-success details-btn" href="#modal_detail" data-toggle="modal" data-id='[%= it[item]["father_id"] %]'>详情</a>
[% } %]
<a class="btn1 btn-success timeline" href="#modal-time" data-toggle="modal" data-id='[%= it[item]["order_id"] %]'>时间轴</a>
</td>
</tr>
......
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