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