Commit 128db26a authored by xishifeng's avatar xishifeng

修改

parent 62949d8c
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
<script type="text/javascript" src="/app/js/jquery-1122-min.js"></script> <script type="text/javascript" src="/app/js/jquery-1122-min.js"></script>
<script src="/app/js/common.js?new42" charset="utf-8"></script> <script src="/app/js/common.js?new42" charset="utf-8"></script>
<script src="/app/js/customerinfo_details_new.js?new66"></script> <script src="/app/js/customerinfo_details_new.js?new67"></script>
</body> </body>
......
...@@ -207,10 +207,23 @@ function loadMain(){ ...@@ -207,10 +207,23 @@ function loadMain(){
}; };
$('#add_city_type_area').html('<span class="flex-center">{0}</span><span class="flex-center">{1}</span>'.stringFormatObj({ $('#add_city_type_area').html('<span class="flex-center">{0}</span><span class="flex-center">{1}</span>'.stringFormatObj({
'0': data['data']['user_info']['city'], '0': dealSiteName(data['data']['user_info']['site_name']),
'1': landlordType(data['data']['user_info']['user_label']) '1': landlordType(data['data']['user_info']['user_label'])
})); }));
//处理返回的站点名字
function dealSiteName(arr){
if(arr){
if(Array.isArray(arr)){
return arr.join(',');
}else{
return arr;
}
}else{
return '';
}
};
if(data['data']['user_info']['agent_id'] == _userId || localStorage.getItem('userlevel') != '10'){ if(data['data']['user_info']['agent_id'] == _userId || localStorage.getItem('userlevel') != '10'){
......
...@@ -233,7 +233,7 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct ...@@ -233,7 +233,7 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
'trade_type': _this.trade_type,//成交类型 'trade_type': _this.trade_type,//成交类型
'price': _this.price,//成交价格 'price': _this.price,//成交价格
'commission': _this.commission,//佣金 'commission': _this.commission,//佣金
'estimated_receipt_date': new Date(_this.estimated_receipt_date).getTime()//预计收款时间 'estimated_receipt_date': (new Date(_this.estimated_receipt_date).getTime())/1000//预计收款时间
}; };
var _subLiObj = $('.fenyong-li'); var _subLiObj = $('.fenyong-li');
......
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