Commit cba0e00d authored by agping's avatar agping

收意向金 置空

parent 098278c6
......@@ -108,6 +108,16 @@
height: 35px;
width: 80px;
}
.result-du{
text-align: center;
width: 150px;
float: left;
margin-right: 10px;
}
.result-du img{
width: 150px;
height: 150px;
}
/*上传图片相关*/
</style>
......@@ -251,7 +261,7 @@
</h4>
</div>
<div class="modal-body">
<table width="100%">
<table width="100%">
<tr>
<td>
<span class="span-width-90">入账金额:</span>
......
......@@ -172,12 +172,11 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
_doc.on('click', '.tab-intention', function(e){
e.preventDefault();
e.stopPropagation();
var _this = $(this);
document.getElementById("form_search").reset();
record.orderID = $(this).attr('data-id');
record.orderNO = $(this).attr('data-orderNo');
record.reportID = $(this).attr('data-reportID');
record.getNum();
record.resetInput();
});
//保存意向金 保管金
_doc.on('click', '#save_intention', function(e){
......@@ -413,6 +412,22 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
}
});
},
resetInput: function(fn) {
$(".booked-type").val('');
$('.intention-pay-type').val('');
$(".intention-money").val('');
$("input[name=area_demand]").val('');
$(".shop-num").val('');//商铺号
$(".yetai").val('');//业态
$(".beizhu").val('');
$(".intention-name").val('');
$(".intention-num").val('');
$('#booked-date').val('');
$('#zhuanding').val('');
$('#container_body_img_area_du').html('');
record.getNum();
},
//调用部门 和 门店的接口
getDistrict: function(fn) {
$.ajax({
......
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