Commit af481456 authored by agping's avatar agping

提交成交报告

parent 4c18000b
...@@ -38,6 +38,44 @@ ...@@ -38,6 +38,44 @@
.clear{ .clear{
clear: both; clear: both;
} }
/*提交成交报告 样式*/
.modal-body-report{
width: 800px;
}
.margin-top-ld{
height: 38px;
}
.btn2-report{
width: 50%;
float: left;
margin-top: -6px;
}
.btn3-report{
width: 60%;
float: left;
margin-top: -6px;
}
.left-report{
float: left;
display: inline-block;
width: 74px;
}
.report-content{
box-sizing: border-box;
padding: 10px;
}
.table-left{
float: left;
}
.detail-modal-bargaininfo-commission-cancel-pic{
background-color: #fff;
}
.detail-modal-bargaininfo-commission-cancel-pic>img{
width: 20px;
margin-top: 20px;
}
/*提交成交报告 样式*/
</style> </style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container"> <div class="container">
...@@ -105,7 +143,6 @@ ...@@ -105,7 +143,6 @@
</div> </div>
</div> </div>
<!--时间轴--> <!--时间轴-->
<!--时间轴-->
<div class="modal fade" id="modal-time" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="modal-time" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
...@@ -125,3 +162,140 @@ ...@@ -125,3 +162,140 @@
</div> </div>
<!-- /.modal --> <!-- /.modal -->
</div> </div>
<!--提交成交 报告-->
<div class="modal fade" id="modal-report" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-body-report">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
×
</button>
<h4 class="modal-title">
提交成交报告
</h4>
</div>
<div class="modal-body">
<div class="report-content">
<table width="100%">
<tr class="margin-top-ld">
<td width="50%">客户姓名:<span>张女士</span></td>
<td>客户电话:<span>155****1736</span></td>
</tr>
<tr class="margin-top-ld">
<td>商铺类型:<span>商场</span></td>
<td>商铺地址:<span>上海市黄浦区南京东路666号</span></td>
</tr>
<tr class="margin-top-ld">
<td><span class="left-report">商铺号:</span><input type="text" placeholder="请填写" class="form-control btn2-report"/></td>
<td><span class="left-report">是否开业:</span>
<select name="" id="" class="form-control btn2-report">
<option value=""></option>
<option value=""></option>
</select>
</td>
</tr>
<tr class="margin-top-ld">
<td><span class="left-report">业态/品牌:</span><input type="text" placeholder="请填写" class="form-control btn2-report" /></td>
<td><span class="left-report">成交类型:</span>
<select name="" id="" class="form-control btn2-report">
<option value="">出租</option>
<option value="">增佣</option>
<option value="">代理</option>
<option value="">好处费</option>
</select>
</td>
</tr>
<tr class="margin-top-ld">
<td><span class="left-report">成交价:</span><input type="number" placeholder="请填写" class="form-control btn2-report"/>元/月</td>
<td><span class="left-report">应收佣金:</span><input type="number" placeholder="请填写" class="form-control btn2-report"/></td>
</tr>
<tr class="margin-top-ld">
<td><span style="float: left;">预计收款时间:</span><input type="date" class="form-control btn2-report" /></td>
</tr>
</table>
<div class="">
<h5 style="font-weight: bold;">分佣提成</h5>
<div class="detail-modal-bargaininfo-commission-inputpar">
<div class="detail-modal-bargaininfo-commission-addarea">
<div class="form-group detail-modal-bargaininfo-commission-sec">
<table>
<tr class="margin-top-ld">
<td><span class="left-report">分佣方:</span>
<select name="" id="" class="form-control btn3-report">
<option value="">盘方</option>
<option value="">客方</option>
<option value="">反签</option>
<option value="">独家</option>
<option value="">合作方</option>
<option value="">APP盘下载方</option>
<option value="">APP客下载方</option>
</select>
</td>
<td>
<span class="left-report">业务员:</span><input type="text" placeholder="请输入姓名或手机号" class="form-control btn3-report"/>
</td>
</tr>
<tr class="margin-top-ld">
<td>
<span class="left-report">分用比例:</span><input type="number" placeholder="请填写" class="form-control btn3-report"/>%
</td>
<td>
<span class="left-report">应分佣金:</span><input type="number" placeholder="请填写" class="form-control btn3-report"/>
</td>
</tr>
</table>
</div>
</div>
<div style="clear: both;"></div>
<div id="bargaininfo_commission_add_btn" style="text-align: center;width: 80%;">
<img src="/resource/image/jia2@2x.png" />
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<button type="button" class="btn btn-primary submit_add_report">提交</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<script type="text/template" id='add_report'>
<div class="form-group detail-modal-bargaininfo-commission-sec">
<div class="table-left">
<table style="margin-bottom: 14px;">
<tr class="margin-top-ld">
<td><span class="left-report">分佣方:</span>
<select name="" id="" class="form-control btn3-report">
<option value="">盘方</option>
<option value="">客方</option>
<option value="">反签</option>
<option value="">独家</option>
<option value="">合作方</option>
<option value="">APP盘下载方</option>
<option value="">APP客下载方</option>
</select>
</td>
<td>
<span class="left-report">业务员:</span><input type="text" placeholder="请输入姓名或手机号" class="form-control btn3-report"/>
</td>
</tr>
<tr class="margin-top-ld">
<td>
<span class="left-report">分用比例:</span><input type="number" placeholder="请填写" class="form-control btn3-report"/>%
</td>
<td>
<span class="left-report">应分佣金:</span><input type="number" placeholder="请填写" class="form-control btn3-report"/>
</td>
</tr>
</table>
</div>
<mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic table-left"><img src="/resource/image/search_gb.png"/></mark>
</div>
</script>
...@@ -87,6 +87,26 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h ...@@ -87,6 +87,26 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
document.getElementById("form_search").reset(); document.getElementById("form_search").reset();
$('#guest_stores').html(''); $('#guest_stores').html('');
}); });
//增加分佣方
//详情弹出框,成交信息里的实收佣金相关的事件
var _iYJAAObj = $('.detail-modal-bargaininfo-commission-addarea');
_doc.on('click', '#bargaininfo_commission_add_btn>img', function(e){
e.preventDefault();
e.stopPropagation();
if($('.detail-modal-bargaininfo-commission-addarea>div').length>=5){
alert('最多添加5条');
return false;
}else{
_iYJAAObj.append($('#add_report').html());
};
});
//详情弹出框,成交信息里的实收佣金相关的事件,点击x删除这条
_doc.on('click', '.detail-modal-bargaininfo-commission-cancel-pic', function(e){
e.preventDefault();
e.stopPropagation();
$(this).parent().remove();
});
}, },
getList: function(pageNo) { //获取约带看记录列表 getList: function(pageNo) { //获取约带看记录列表
record.pageNo = pageNo;//接收参数 record.pageNo = pageNo;//接收参数
......
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
<td>[%= it[item]['predict_see_time'] %]</td> <td>[%= it[item]['predict_see_time'] %]</td>
<td> <td>
<a class="btn1 btn-success timeline" href="#modal-time" data-toggle="modal" data-id='[%= it[item]["order_id"] %]'>时间轴</a> <a class="btn1 btn-success timeline" href="#modal-time" data-toggle="modal" data-id='[%= it[item]["order_id"] %]'>时间轴</a>
<a class="btn1 btn-success submit-report" href="#modal-report" data-toggle="modal" data-id='[%= it[item]["order_id"] %]'>提交成交报告</a>
</td> </td>
</tr> </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