yangc 7 жил өмнө
parent
commit
01635cbc6b

+ 6 - 6
src/main/webapp/resources/js/vendor/app.js

@@ -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', '获取登录信息失败');
 			})