Commit 0dac9c62 authored by agping's avatar agping

1

parent db38f994
......@@ -672,7 +672,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
});
//中介费类型 正常 多收 change
$(".fee-type-zhongjie,.commission-before-zhongjie,.commission-money").change(function() {
console.log(555)
if($('.fee-type-zhongjie').val()*1 == 0){//正常
var shouldMoney = (0.7*bargain.price_commission).toFixed(2)
var moreMoney = ($('.commission-money').val()*1 - shouldMoney + $('.commission-before-zhongjie').val()*1).toFixed(2)
......@@ -685,6 +684,10 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$('.fee-money-zhongjie').html(shouldMoney);//应收金额
$('.fee-more-zhongjie').html(moreMoney);//多收金额
};
//多收金额 小于0 置为0
if($('.fee-more-zhongjie').html()*1 < 0){
$('.fee-more-zhongjie').html(0);
}
});
//之前已收佣 change
......
......@@ -153,7 +153,6 @@ define(['doT', 'text!temp/video_check_list_template_tpl.html', 'css!style/home.c
e.preventDefault();
e.stopPropagation();
var _this = $(this);
_this.removeClass('btn-success').addClass('btn-warning');
var _id = _this.attr('data-id');
house.id=_id;
$('.detail-modal-header-tab>a:nth-of-type(1)').removeClass('btn-default').addClass('btn-info').siblings().removeClass('btn-info').addClass('btn-default');
......
......@@ -153,7 +153,7 @@
<script id="shop_video_list_tpl" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr class="text-left" style="width: 262px;float: left;">
<tr class="text-left" style="width: 272px;float: left;">
<td style="margin-right: 10px;">
<video src="[%= it[item]['video_path'] %]" controls="controls" preload="none" muted type="video/mp4" id="video-check" style="width: 260px;height: 476px;margin-right: 10px;" poster="[%= it[item]['video_image'] %]"></video>
<br />
......
......@@ -36,9 +36,9 @@
<script id="shop_video_list_tpl" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr class="text-left" style="width: 262px;float: left;">
<tr class="text-left" style="width: 272px;float: left;">
<td style="margin-right: 10px;">
<video src="[%= it[item]['video_path'] %]" controls="controls" preload="none" muted type="video/mp4" id="video-check" style="width: 260px;height: 476px;margin-right: 6px;" poster="[%= it[item]['video_image'] %]"></video>
<video src="[%= it[item]['video_path'] %]" controls="controls" preload="none" type="video/mp4" id="video-check" style="width: 260px;height: 476px;margin-right: 6px;" poster="[%= it[item]['video_image'] %]"></video>
<br />
上传人:[%= it[item]['upload_name'] %]
<br />
......
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