fix 自助申请

master
luoyang 6 years ago
parent 3d530fe3a4
commit 31f645c5f1

@ -342,7 +342,7 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
return; return;
} }
if ($scope.partner.client_pay_type.indexOf('1') >= 0 && $scope.partner.client_pay_type.indexOf('2') >= 0) { if ($scope.partner.client_pay_type.indexOf('1') >= 0 && $scope.partner.client_pay_type.indexOf('2') >= 0) {
if (!$scope.partner.client_pay_desc instanceof Array) { if (!($scope.partner.client_pay_desc instanceof Array)) {
$scope.partner.client_pay_desc = $scope.partner.client_pay_desc.split(','); $scope.partner.client_pay_desc = $scope.partner.client_pay_desc.split(',');
} }
var fristDesc = $scope.partner.client_pay_desc[0]; var fristDesc = $scope.partner.client_pay_desc[0];

Loading…
Cancel
Save