Commit 873abb77 authored by duxinyuan's avatar duxinyuan

带看id

parent 3b85ab27
......@@ -23,6 +23,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
totalCount : 0 ,
receipt_number :'' ,
agent_id_phone : '',
houseNumber_new : '' ,
init: function() {
//初始化dot
$(document.body).append(template);
......@@ -478,7 +479,7 @@ 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.house_number);
$('#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") ;
......@@ -1140,6 +1141,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$.get('/index/getBeForNum',{'order_id':id},function(data){
// $('#shop_id_change').text(data.data.house_number);
if(data.code == 200) {
that.houseNumber_new = 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