Commit 6d58992b authored by agping's avatar agping

门店编辑

parent 192a4792
This diff is collapsed.
This diff is collapsed.
<script id="cost_office_template_tpl" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['id'] %]</td>
[% if(it[item]['status'] == 0) { %]
<td>审核中</td>
[% }else if (it[item]['status'] == 1) { %]
<td>审核中</td>
[% }else if (it[item]['status'] == 2) { %]
<td>退款成功</td>
[% }else if (it[item]['status'] == 3) { %]
<td>已审核</td>
[% }else if (it[item]['status'] == 4) { %]
<td>驳回</td>
[% } else { %]
<td>--</td>
[% } %]
<td>[%= it[item]['order_id'] %]</td>
<td>[%= it[item]['pay_log_id'] %]</td>
[% if(it[item]['type'] == 1) { %]
<td>意向金转定</td>
[% }else if (it[item]['type'] == 2) { %]
<td>退保管金</td>
[% }else if (it[item]['type'] == 3) { %]
<td>保管金转定</td>
[% }else if (it[item]['type'] == 4) { %]
<td>退中介费</td>
[% }else if (it[item]['type'] == 5) { %]
<td>退案场费</td>
[% }else if (it[item]['type'] == 0) { %]
<td>退意向金</td>
[% } else { %]
<td>--</td>
[% } %]
<td>
<a class="btn1 btn-success edit_office" href="#modal-editOffice" data-toggle="modal" data-id='[%= it[item]["id"] %]'>编辑办公室</a>
<a class="btn1 btn-success edit_store" href="#modal-editStore" data-toggle="modal" data-id='[%= it[item]["id"] %]'>编辑门店</a>
</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="8" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
<script id="store_binding_tpl" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[% if(it[item]["is_pc"] == 1) { %]
电脑端
[% }else if(it[item]["is_pc"] == 0) { %]
手机端
[% }else if(it[item]["is_pc"] == 2){ %]
Windows客户端
[% }else{%]
其他
[%} %]
</td>
<td>[%= it[item]["model"] %]</td>
<td>[%= it[item]["create_time"] %]</td>
<td>[%= it[item]["create_time"] %]</td>
<td>
[% if(it[item]["is_forbidden"] == 0) { %]
<a class="btn1 btn-default is_show2" data-toggle="modal" data-id='[%= it[item]["id"] %]'>解绑</a>
[% }else if(it[item]["is_forbidden"] == 1) { %]
<a class="btn1 btn-info is_show2" data-toggle="modal" data-id='[%= it[item]["id"] %]'>允许</a>
[% }else{ %]
<a class="btn1 btn-default" data-toggle="modal" data-id='[%= it[item]["id"] %]'>离职</a>
[% } %]
<!--<a class="btn1 btn-info review-images" href="#modal-time" data-toggle="modal" data-img='[%= it[item]["scene_photo"] %]'>允许</a>-->
</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="8" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
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