|
|
@ -784,6 +784,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
if (!$scope.partner) {
|
|
|
|
if (!$scope.partner) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!$state.is('partners.detail')){
|
|
|
|
|
|
|
|
$scope.init.wechat_compliance = false;
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!$scope.init.wechat_compliance) {
|
|
|
|
if (!$scope.init.wechat_compliance) {
|
|
|
|
$scope.init.wechat_compliance = true;
|
|
|
|
$scope.init.wechat_compliance = true;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -802,6 +806,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
if (!$scope.partner) {
|
|
|
|
if (!$scope.partner) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!$state.is('partners.detail')){
|
|
|
|
|
|
|
|
$scope.init.local_merchant = false;
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!$scope.init.local_merchant) {
|
|
|
|
if (!$scope.init.local_merchant) {
|
|
|
|
$scope.init.local_merchant = true;
|
|
|
|
$scope.init.local_merchant = true;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|