Commit d1bd59b9 authored by agping's avatar agping

调整 被收取方

parent 809d9f03
...@@ -551,6 +551,19 @@ ...@@ -551,6 +551,19 @@
</div> </div>
</div> </div>
</div> </div>
<!--中介费类型 显示 被收取方-->
<div class="col-xs-6" id="agency_fees_type_div">
<div class="form-group">
<strong><span class="col-xs-4 ld-Marheight">被收取方:</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" id="before_commission_div"> <div class="col-xs-6" id="before_commission_div">
<div class="form-group"> <div class="form-group">
<strong><span class="col-xs-4 ld-Marheight">之前已收佣(元):</span></strong> <strong><span class="col-xs-4 ld-Marheight">之前已收佣(元):</span></strong>
......
...@@ -631,7 +631,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -631,7 +631,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$("#modal-back").on("hidden.bs.modal", function(event){ $("#modal-back").on("hidden.bs.modal", function(event){
$('#before_commission').val("0");//调整页面 之前已收佣 0 $('#before_commission').val("0");//调整页面 之前已收佣 0
$('#agency_fees_type').val("0");//调整页面 中介费 0 $('#agency_fees_type').val("0");//调整页面 中介费 0
$('#charge_side').val("");//调整页面 中介费 被收取方 空
$('#change_price').val("0"); $('#change_price').val("0");
$('#report_id_change').val(""); $('#report_id_change').val("");
$('#into_id_change').val(""); $('#into_id_change').val("");
...@@ -1264,6 +1264,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -1264,6 +1264,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
}; };
if($('#change_type').val() == 91){ if($('#change_type').val() == 91){
params.type_ext=$('#agency_fees_type').val(); params.type_ext=$('#agency_fees_type').val();
params.be_charged_party=$('#charge_side').val();
} }
//拼接jsonArray to jsonObject //拼接jsonArray to jsonObject
if ($('#change_price').val()){//调整金额 if ($('#change_price').val()){//调整金额
......
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