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',
getValueFunction : function(data){
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();
$('.hangzhou').hide();
$('.shenzheng').hide();
}else if(user_info_obj.site_id == 10002){
}else if(data.site_id == 10002){
$('.shanghai').hide();
$('.hangzhou').show();
$('.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