Commit b4aee877 authored by agping's avatar agping

收款详情 收取方

parent 82e06e4f
...@@ -758,6 +758,28 @@ ...@@ -758,6 +758,28 @@
</div> </div>
</div> </div>
<!--中介费类型 加被收取方-->
<div class="col-xs-12 agency_fees_type_hide hide_charge_side">
<div class="col-xs-6">
<div class="form-group">
<strong><span class="col-xs-3 ld-Marheight" style="margin-left: -7px;">被收取方:</span></strong>
<div class="col-xs-6">
<select class="form-control" id="charge_side">
<option class="" value="">请选择</option>
<option class="" value="1">房东</option>
<option class="" value="2">客户</option>
</select>
</div>
</div>
</div>
<div class="col-xs-6">
<div class="form-group">
</div>
</div>
</div>
<!--收款详情 加中介费类型 之前已收佣--> <!--收款详情 加中介费类型 之前已收佣-->
<div class="col-xs-12"> <div class="col-xs-12">
<div class="col-xs-6 agency_fees_type_hide"> <div class="col-xs-6 agency_fees_type_hide">
......
...@@ -319,6 +319,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -319,6 +319,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
} }
});
//收款详情页面 被收取方
$("#intoType").change(function() {
if($('#intoType').val() == 91){
$('.hide_charge_side').show();
}else{
$('.hide_charge_side').hide();
};
}); });
//中介费 类型切换 多收 正常 //中介费 类型切换 多收 正常
$("#agency_fees_type_text").change(function() { $("#agency_fees_type_text").change(function() {
...@@ -1411,7 +1421,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -1411,7 +1421,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
} }
//判断是否是 案场费 //判断是否是 案场费
if ($('#intoType').val() == 91){ if ($('#intoType').val() == 91){
params.type_ext = $('#agency_fees_type_text').val() params.type_ext = $('#agency_fees_type_text').val();
params.be_charged_party = $('#charge_side').val();//收款详情 中介费 新增收取方
}; };
//判断是否是 案场费 中介费 //判断是否是 案场费 中介费
if ($('#intoType').val() == 92 || $('#intoType').val() == 91){ if ($('#intoType').val() == 92 || $('#intoType').val() == 91){
...@@ -1694,13 +1706,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -1694,13 +1706,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc.find("#comit_time").text(data.create_time); doc.find("#comit_time").text(data.create_time);
doc.find("#open_time").text(data.open_time);//开业确定时间 doc.find("#open_time").text(data.open_time);//开业确定时间
doc.find("#store_name").text(data.reckon_in_store_name);//所属门店 doc.find("#store_name").text(data.reckon_in_store_name);//所属门店
doc.find("#charge_side").text(data.be_charged_party);//中介费 被收取方
//判断收款详情的类型 //判断收款详情的类型
if(data.type == 91){ if(data.type == 91){//中介费
$('.agency_fees_type_hide').show(); $('.agency_fees_type_hide').show();
}else{ }else{
$('.agency_fees_type_hide').hide(); $('.agency_fees_type_hide').hide();
}; };
if(data.type == 91 || data.type == 92){ if(data.type == 91 || data.type == 92){
$('.before_commission_hide').show(); $('.before_commission_hide').show();
}else{ }else{
......
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