fix merchant_application.js

master
luoyang 5 years ago
parent 09a9488055
commit bfeeb11ad9

@ -489,6 +489,14 @@
alert('请选择商户支付方式') alert('请选择商户支付方式')
return; return;
} }
if (!$scope.partner.client_pay_type instanceof Array) {
$scope.partner.client_pay_type = $scope.partner.client_pay_type.split(',');
}
if (!$scope.partner.client_pay_desc instanceof Array) {
$scope.partner.client_pay_desc = $scope.partner.client_pay_desc.split(',');
}
if ($scope.partner.client_pay_type.indexOf('1') >= 0) { if ($scope.partner.client_pay_type.indexOf('1') >= 0) {
if ($scope.partner.client_pay_desc.join(',').indexOf('10') < 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('10') < 0) {
alert("请检查线上支付场景是否已选择支付方式"); alert("请检查线上支付场景是否已选择支付方式");

Loading…
Cancel
Save