【RoyalPay】商户未填写法人信息导致基本信息加载失败

master
liuxinxin 5 years ago
parent 219ebcaf94
commit 6cde144933

@ -85,7 +85,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload', 'uiBoo
$scope.partner.sameAsAddress = false; $scope.partner.sameAsAddress = false;
$scope.partner.partner_type = $scope.partner.company_website ? 'website' : 'photo'; $scope.partner.partner_type = $scope.partner.company_website ? 'website' : 'photo';
if ($scope.partner.representativeInfo.phone) { if ($scope.partner.representativeInfo && $scope.partner.representativeInfo.phone) {
$scope.partner.representativeInfo.phone = $scope.partner.representativeInfo.phone.substring(1, $scope.partner.contact_phone.length); $scope.partner.representativeInfo.phone = $scope.partner.representativeInfo.phone.substring(1, $scope.partner.contact_phone.length);
} }
$scope.getMerchantLocation = function () { $scope.getMerchantLocation = function () {

Loading…
Cancel
Save