fix add_sub_partner

master
luoyang 6 years ago
parent da31664b9b
commit d8703ad7fa

@ -2708,6 +2708,9 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
// alert("Please Locate Merchant Location!"); // alert("Please Locate Merchant Location!");
// return; // return;
// } // }
if ($scope.partner.client_pay_type==''){
alert('请选择商户支付场景')
}
$http.post('/sys/partners/' + clientMoniker + '/sub_clients', $scope.partner).then(function () { $http.post('/sys/partners/' + clientMoniker + '/sub_clients', $scope.partner).then(function () {
$scope.updateMerchantLocation(); $scope.updateMerchantLocation();
$scope.$close(); $scope.$close();

Loading…
Cancel
Save