Commit c8ca56dd authored by agping's avatar agping

收款详情修改

parent e9f84010
<script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=2019066688' charset='utf-8'></script>
<script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=20190666888' charset='utf-8'></script>
......@@ -1095,17 +1095,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if ($('#chengjiaobaogaoId').html()){//收款详情 成交报告id
params.bargain_id = $('#chengjiaobaogaoId').html();
};
if ( $('#intoType').text() == '意向金' || $('#intoType').text() == '保管金') {
if ( $('#intoType').val() == 10 || $('#intoType').val() == 30) {
if ( $('#shoutiao').val()){
params.receipt_number = $('#shoutiao').val()
}
}
//判断是否是 案场费
if ($('#intoType').text() == '中介费'){
if ($('#intoType').val() == 91){
params.type_ext = $('#agency_fees_type_text').val()
};
//判断是否是 案场费 中介费
if ($('#intoType').text() == '案场费' || $('#intoType').text() == '中介费'){
if ($('#intoType').val() == 92 || $('#intoType').val() == 91){
if ($('#before_commission_text').val()){
params.received_money = $('#before_commission_text').val();
}
......@@ -1384,10 +1384,11 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
} else if ( data.type == 91 ) {//中介费
$('.intention-gold-liu').hide();
$('.agency-fees-liu').show();
if ( doc.find('#agency_fees_type').val() == 1 ){
if ( data.type_ext == 1 ){
persent = 0 ;
receiv.receivedMoneyLiu = receiv.receivedMoneyLiu * 0;
}
};
$('.zhzd').hide();
} else if ( data.type == 92 ) {//案场费
$('.intention-gold-liu').hide();
......
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