Commit c8b82720 authored by agping's avatar agping

收款记录

parent 46b8a62b
...@@ -1331,11 +1331,11 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -1331,11 +1331,11 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
getValueFunction : function(data){ getValueFunction : function(data){
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存 var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
if(user_info_obj.site_id == 10001){ if(data.site_id == 10001){//根据收款详情的 site_id判断
$('.shanghai').show(); $('.shanghai').show();
$('.hangzhou').hide(); $('.hangzhou').hide();
$('.shenzheng').hide(); $('.shenzheng').hide();
}else if(user_info_obj.site_id == 10002){ }else if(data.site_id == 10002){
$('.shanghai').hide(); $('.shanghai').hide();
$('.hangzhou').show(); $('.hangzhou').show();
$('.shenzheng').hide(); $('.shenzheng').hide();
......
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