Commit 87e13125 authored by agping's avatar agping

收佣金

parent aee636e1
......@@ -37,6 +37,78 @@
.clear{
clear: both;
}
.modal-body-intention{
width: 900px!important;
}
.modal-body-intention tr{
height: 36px;
}
.modal-body-intention input,.modal-body-intention select{
height: 28px;
border: 1px solid #e0e0e0;
outline-style: none;
width: 200px;
}
.span-width-90{
width: 90px;
display: inline-block;
}
.tip-liu{
font-size: 15px;
}
/*上传图片相关*/
.span-del2-du,.span-del-du{
color: red;
cursor: pointer;
}
.modal-body-height {
overflow-y: auto;
height: 432px;
}
#container_body_img_area>div{
float: left;
width: 172px;
}
.img-pre-ul {
padding-left: 0;
overflow: hidden;
}
.img-pre-ul>li {
list-style: no;
float: left;
width: 210px;
height: 170px;
overflow: hidden;
margin-right: 10px;
margin-top: 10px;
}
.img-pre-ul>li>img {
float: left;
width: 210px;
height: 140px;
object-fit: contain;
cursor: pointer;
}
.img-pre-ul>li>a {
float: left;
width: 210px;
text-align: center;
line-height: 30px;
}
#container_body_du{
position: relative;
overflow: hidden;
}
#file_input_pic {
opacity: 0;
position: absolute;
top: 0;
left: 145px;
height: 35px;
width: 80px;
}
/*上传图片相关*/
</style>
<div id="page-content-wrapper">
......@@ -65,6 +137,13 @@
<tr>
<td colspan="10">
<form id="form_search">
<select class="form-control btn2" id="">
<option value="">城市筛选</option>
<option value="10001">上海市</option>
<option value="10002">杭州市</option>
<option value="10003">深圳市</option>
<option value="10006">广州市</option>
</select>
<span class="fore-span ld-Marheight">约带看时间:</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_start" name="start_date1" type="date">
<span class="fore-span ld-Marheight">-</span>
......@@ -80,9 +159,15 @@
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_name" placeholder="约带看人姓名" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_phone" placeholder="约带看人手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="house_title" placeholder="商铺名称" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="report_agent_phone" placeholder="客户手机号" type="text" value="">
<div class="clear"></div>
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="report_agent_phone" placeholder="客户手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="report_id" placeholder="订单ID" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="" placeholder="商铺ID" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="" placeholder="商铺地址" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="" placeholder="客户ID" type="text" value="">
<span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="reset">重置</span>
</form>
......@@ -153,5 +238,138 @@
</div>
<!-- /.modal -->
</div>
<!--收意向金/保管金-->
<div class="modal fade modal-iframe-750" id="modal-intention" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-body-intention">
<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">
<table width="100%">
<tr>
<td>
<span class="span-width-90">入账金额:</span><input type="number" placeholder="请输入">
</td>
<td></td>
</tr>
<tr>
<td>
<span class="span-width-90">支付方式:</span>
<select>
<option value="">请选择</option> <option value="1"></option>
<option value="0"></option>
</select>
</td>
<td>
<span class="span-width-90">转账户名:</span>
<input type="number" placeholder="请输入">
</td>
</tr>
<tr>
<td>
<span class="span-width-90">入账类型:</span>
<select>
<option value="">请选择</option> <option value="1"></option>
<option value="0"></option>
</select>
</td>
<td>
<span class="span-width-90">入账日期:</span>
<input type="number" placeholder="请输入">
</td>
</tr>
<tr>
<td>
<span class="span-width-90">商铺号:</span>
<input type="number" placeholder="请输入">
</td>
<td>
<span class="span-width-90">业态/品牌:</span>
<input type="number" placeholder="请输入">
</td>
</tr>
<tr>
<td>
<span class="span-width-90">来源:</span>
<input type="number" placeholder="请输入">
</td>
<td>
<span class="span-width-90">状态:</span>
<input type="number" placeholder="请输入">
</td>
</tr>
<tr>
<td>
<span class="span-width-90">手续费:</span>
<input type="number" placeholder="请输入">
</td>
<td>
<span class="span-width-90">实付金额:</span>
<input type="number" placeholder="请输入">
</td>
</tr>
<tr>
<td>
<span class="span-width-90">备注:</span>
<input type="text" placeholder="请输入">
</td>
<td>
<span class="span-width-90">最后转定时间:</span>
<input type="text" placeholder="请输入">
</td>
</tr>
</table>
<div>
<div class="form-group full-width-100 full-pic-area">
<!--input上传图片-->
<div id="container_body_du">
<label>请选择一个图像文件:</label>
<button type="button btn2" class="btn btn-default">上传图片</button>
<input type="file" id="file_input_pic"/>
<div id="container_body_img_area_du"></div>
</div>
</div>
<ul class="img-pre-ul" id="xiangqing_pic_ul">
</ul>
</div>
<div class="tip-liu">
<p>图片上传规则:</p>
<p>意向金:意向金收条,居间协议,客户身份证正反面,转账记录,佣金确认书,现场图(须两位业务员在场)(共6项)</p>
<p>转定:定金收条,意向金收条,居间协议,房东身份证正反面,佣金确认书,现场图(须两位业务员在场)(共6项)</p>
<p>签约:居间协议,佣金确认书,租赁合同(只传首页和尾页),转账记录,收据,现场图(须两位业务员在场)(共6项)</p>
</div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--收佣金-->
<div class="modal fade modal-iframe-750" id="modal-commission" 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>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
......@@ -95,6 +95,60 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
document.getElementById("form_search").reset();
$('#guest_stores').html('');
});
//图片上传相关
$('#file_input_pic').on('change', function(){
var _this = $(this);
var formData = new FormData();
formData.append('type', 'chat');
formData.append('image', _this[0].files[0]);
$.ajax({
type: 'post',
url: ServerHostImageLiu + '/index/uploadImg',
data: formData,
dataType: 'json',
contentType: false,
cache: false,
processData: false,
beforeSend: function() {},
success: function(_data) {
if(_data.code == 200) {
console.log(5555)
$('#container_body_img_area_du').append('<div class="result-du"><img data-imgname="{0}" src="{1}" alt=""/> <span class="span-del-du">删除</span></div>'.stringFormatObj({
'0': _data.data.img_path,
'1': _data.data.internet_img_name?urlDeal(_data.data.internet_img_name):_data.data.internet_img_name
}));
} else {
alert(_data.msg);
};
},
error: function() {
alert('enter error');
},
complete: function(xhr, textStatus) {
if(textStatus === 'timeout') {
//处理超时的逻辑
alert('请求超时,请重试');
};
}
});
});
//图片删除事件
_doc.on('click', '.span-del-du', function(e) {
e.preventDefault();
e.stopPropagation();
$(this).parent().remove();
});
//图片删除,已有的则调用接口删除
_doc.on('click', '.span-del2-du', function(e) {
var _this = $(this);
e.preventDefault();
e.stopPropagation();
if(confirm('确认删除吗?')){
_this.parent().remove();
bargain.spandelList(_this.prev().attr('data-imgid'));
};
});
_doc.on('click', '.maintable-top-sub-tr>a', function(e){
e.preventDefault();
e.stopPropagation();
......
......@@ -15,6 +15,10 @@
[% if(check_auth('broker/bargain')) { %]
<a class="btn1 btn-success submit-report" href="#modal-report" data-toggle="modal" data-id='[%= it[item]["order_id"] %]'>提交成交报告</a>
[% } %]
&nbsp;
<a class="btn1 btn-success submit-report" href="#modal-intention" data-toggle="modal" data-id='[%= it[item]["order_id"] %]'>收意向金/保管金</a>
&nbsp;
<a class="btn1 btn-success submit-report" href="#modal-commission" 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