|
|
@@ -709,12 +709,12 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
|
|
|
$state.go('vendor_store_maintain');
|
|
|
}
|
|
|
}
|
|
|
- // 是否pcb
|
|
|
- // StoreInfo.isPcb({enuu: $rootScope.userInfo.enterprise.uu}, function (res) {
|
|
|
- // $rootScope.isPcbStore = res.data == 1;
|
|
|
- // }, function (error) {
|
|
|
- // });
|
|
|
- $rootScope.isPcbStore = false;
|
|
|
+ 是否pcb
|
|
|
+ StoreInfo.isPcb({enuu: $rootScope.userInfo.enterprise.uu}, function (res) {
|
|
|
+ $rootScope.isPcbStore = res.data == 1;
|
|
|
+ }, function (error) {
|
|
|
+ });
|
|
|
+ // $rootScope.isPcbStore = false;
|
|
|
}).error(function (error) {
|
|
|
toaster.pop('error', '获取登录信息失败');
|
|
|
})
|