Commit 99496dde authored by duxinyuan's avatar duxinyuan

修改housenumber

parent 873abb77
......@@ -216,7 +216,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$('.baoguanjin').show();
}
that.yetai = "" ;
that.changeType(order_id);
// that.changeType(order_id);
});
//操作----删除
......@@ -479,15 +479,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$('#shop_addr_change').text($(obj).attr("data-addr"));
// $('#shop_id_change_shop').text($(obj).attr("data-house_number")?$(obj).attr("data-house_number"):'');
$('#shop_id_change').text($(obj).attr("data-house_id"));
$('#shop_id_change_shop').val(that.houseNumber_new);
// $('#shop_id_change_shop').val(that.houseNumber_new);
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-id");
that.agent_id = $(obj).attr("data-agent_id");
that.agent_name = $(obj).attr("data-agent_name");
that.changeType(that.order_id);
},
//将li里的值 赋给input(分佣方姓名)
reportIdBuild: function(obj) {//新增客户 input赋值
var that = receiv ;
......@@ -1139,9 +1139,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
getShopId : function(id){
var that = receiv;
$.get('/index/getBeForNum',{'order_id':id},function(data){
// $('#shop_id_change').text(data.data.house_number);
//$('#shop_id_change').text(data.data.house_number);
if(data.code == 200) {
that.houseNumber_new = data.data.house_number;
$('#shop_id_change_shop').val(data.data.house_number);
that.yetai = data.data.industry_type;
} else {
alert(data.msg);
......
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