fix 收银系统选择其他提示

master
luoyang 5 years ago
parent 43cb33a26c
commit c5b5353c1e

@ -369,7 +369,7 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
return; return;
} }
if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) {
if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0 && $scope.partner.client_pay_desc.join(',').indexOf('20399') < 0) {
alert("请检查线下支付是否已选择收银系统类型"); alert("请检查线下支付是否已选择收银系统类型");
return; return;
} }
@ -380,7 +380,7 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
return; return;
} }
if ($scope.partner.client_pay_desc.indexOf('203') >= 0) { if ($scope.partner.client_pay_desc.indexOf('203') >= 0) {
if ($scope.partner.client_pay_desc.indexOf('2030') < 0) { if ($scope.partner.client_pay_desc.indexOf('2030') < 0 && $scope.partner.client_pay_desc.join(',').indexOf('20399') < 0) {
alert("请检查线下支付是否已选择收银系统类型"); alert("请检查线下支付是否已选择收银系统类型");
return; return;
} }

@ -702,7 +702,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
} }
} }
if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) {
if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0 && $scope.partner.client_pay_desc.join(',').indexOf('20399') < 0) {
alert("请检查线下支付是否已选择收银系统类型"); alert("请检查线下支付是否已选择收银系统类型");
return; return;
} }
@ -1546,7 +1546,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
} }
} }
if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) {
if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0 && $scope.partner.client_pay_desc.join(',').indexOf('20399') < 0) {
alert("请检查线下支付是否已选择收银系统类型"); alert("请检查线下支付是否已选择收银系统类型");
return; return;
} }
@ -3215,7 +3215,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
} }
} }
if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) {
if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0 && $scope.partner.client_pay_desc.join(',').indexOf('20399') < 0) {
alert("请检查线下支付是否已选择收银系统类型"); alert("请检查线下支付是否已选择收银系统类型");
return; return;
} }

@ -283,7 +283,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload', 'uiBoo
} }
} }
if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) {
if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0 && $scope.partner.client_pay_desc.join(',').indexOf('20399') < 0) {
alert("请检查线下支付是否已选择收银系统类型"); alert("请检查线下支付是否已选择收银系统类型");
return; return;
} }
@ -567,7 +567,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload', 'uiBoo
} }
} }
if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('203') >= 0) {
if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0) { if ($scope.partner.client_pay_desc.join(',').indexOf('2030') < 0 && $scope.partner.client_pay_desc.join(',').indexOf('20399') < 0) {
alert("请检查线下支付是否已选择收银系统类型"); alert("请检查线下支付是否已选择收银系统类型");
return; return;
} }

Loading…
Cancel
Save