Commit 7021bd58 authored by duxinyuan's avatar duxinyuan

1

parent f8de367d
...@@ -477,15 +477,15 @@ ...@@ -477,15 +477,15 @@
<div class="col-xs-12 rep"> <div class="col-xs-12 rep">
<div class="form-group"> <div class="form-group">
<strong><span class="col-xs-2 ld-Marheight">成交报告ID:</span></strong> <strong><span class="col-xs-2 ld-Marheight">成交报告ID:</span></strong>
<div class="col-xs-9" style="padding:0px 10px 0px 5px;"><input class="form-control" type="text" value="" id="report_id_change" /> <div class="col-xs-9" style="padding:0px 10px 0px 5px;"><input class="form-control" type="text" value="" id="report_id_change" data-status="200"/>
<ul class="reportArea" style="display:none"></ul></div> <ul class="reportArea" style="display:none" data-status="100" ></ul></div>
</div> </div>
</div> </div>
<div class="col-xs-12"> <div class="col-xs-12" >
<div class="form-group"> <div class="form-group">
<strong><span class="col-xs-2 ld-Marheight">调整后带看ID:</span></strong> <strong><span class="col-xs-2 ld-Marheight">调整后带看ID:</span></strong>
<div class="col-xs-9" style="padding:0px 10px 0px 5px;"><input class="form-control" type="text" value="" id="into_id_change" /> <div class="col-xs-9" style="padding:0px 10px 0px 5px;"><input class="form-control" type="text" value="" id="into_id_change" data-status="100" />
<ul class="intoIdArea" style="display:none"></ul></div> <ul class="intoIdArea" style="display:none" data-status="100"></ul></div>
<!--<div class="col-xs-6"><input class="form-control" type="text" value="" id="into_id_change" readonly="true"/></div>--> <!--<div class="col-xs-6"><input class="form-control" type="text" value="" id="into_id_change" readonly="true"/></div>-->
<!--<span id="into_id_change" class="col-xs-6 ld-Marheight"></span>--> <!--<span id="into_id_change" class="col-xs-6 ld-Marheight"></span>-->
</div> </div>
......
...@@ -32,6 +32,24 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -32,6 +32,24 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
event: function() { event: function() {
var that = receiv; var that = receiv;
var _doc = $(document); var _doc = $(document);
$(document).bind("click",function(e){
//id为menu的是菜单,id为open的是打开菜单的按钮
console.log("12312321321");
console.log(e);
if( e.target.dataset.status == 100 ){
$('.reportArea').hide();
$('#report_id_change').val("");
} else if( e.target.dataset.status == 200 ){
$('.intoIdArea').hide();
$('#into_id_change').val("");
} else {
$('.intoIdArea').hide();
$('.reportArea').hide();
}
})
$('.pic-con2').show(); $('.pic-con2').show();
$('.pic-con1').hide(); $('.pic-con1').hide();
$('.tit_con').unbind('click').bind('click',function(e){ $('.tit_con').unbind('click').bind('click',function(e){
...@@ -244,10 +262,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -244,10 +262,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
}); });
//调整 //调整
$("#modal-linetime").on("shown.bs.modal", function(event){ $("#modal-linetime").on("shown.bs.modal", function(event){
//初始化...
//initMoadalData //initMoadalData
that.change_show_hide($('#change_type option:selected').text()); that.change_show_hide($('#change_type option:selected').text());
});
$('#saveChangeBtn').unbind('click').bind('click',function(e){ $('#saveChangeBtn').unbind('click').bind('click',function(e){
that.saveChange(); that.saveChange();
...@@ -308,9 +325,6 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -308,9 +325,6 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
}); });
});
//点击li 列表消失 //点击li 列表消失
$(document).delegate(".addphone", "click", function() { //list消失新增客户 点击li事件 获取id ul消失 $(document).delegate(".addphone", "click", function() { //list消失新增客户 点击li事件 获取id ul消失
that.addphone(this); that.addphone(this);
......
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