Commit e179c9d0 authored by duxinyuan's avatar duxinyuan

com

parent 39bc3644
......@@ -390,12 +390,12 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$(".intoIdArea").html('');
$('.intoIdArea').hide();
$('#shop_addr_change').text($(obj).attr("data-addr"));
$('#shop_id_change_shop').text($(obj).attr("data-house_number"));
$('#shop_id_change').text($(obj).attr("data-house_number"));
that.houseNmuber = $(obj).attr("data-house_number");
that.order_id = $(obj).attr("data-id") ;
// $('#shop_id_change_shop').text($(obj).attr("data-house_number")?$(obj).attr("data-house_number"):'');
$('#shop_id_change').text($(obj).attr("data-house_id"));
that.houseNmuber = $(obj).attr("data-house_number") != "undefined" ? $(obj).attr("data-house_number"):'';
that.order_id = $(obj).attr("data-order_id") ;
that.order_no = $(obj).attr("data-order_no") ;
that.report_id = $(obj).attr("data-report_id");
that.report_id = $(obj).attr("data-id");
that.agent_id = $(obj).attr("data-agent_id");
that.agent_name = $(obj).attr("data-agent_name");
},
......@@ -403,7 +403,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
//将li里的值 赋给input(分佣方姓名)
reportIdBuild: function(obj) {//新增客户 input赋值
var that = receiv ;
that.report_id_a = $(obj).attr("data-id");
// that.report_id_a = $(obj).attr("data-id");
$("#report_id_change").val($(obj).attr("data-id"));
$(".reportArea").html('');
$('.reportArea').hide();
......@@ -478,8 +478,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if(data.code == 200) {
var user_ul = "";
$.each(data.data, function(i, item) {
user_ul += '<li class="intoIdBuild" data-house_number="'+item.house_id+'"data-order_id="'+item.order_id+'" data-addr="'+item.house_address+'" data-id="' + item.report_id
+'" data-agent_id="' + item.report_agent_id +'" data-agent_name="' + item.report_agent_name +'" data-order_no="' + item.order_no
user_ul += '<li class="intoIdBuild" data-house_number="'+item.house_number+'"data-order_id="'+item.order_id+'" data-addr="'+item.house_address+'" data-id="' + item.report_id
+'" data-house_id="' + item.house_id +'" data-agent_id="' + item.report_agent_id +'" data-agent_name="' + item.report_agent_name +'" data-order_no="' + item.order_no
+ '">' + item.house_address + ',商铺ID:+' + item.house_id + ',带看ID' + item.report_id+',客户编号' + item.user_id+'</li>';
});
$('.intoIdArea').show();
......
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