-
昨日开户数(历史开户数)
+
昨日开户数(当月开户数)
diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js
index 53c85d1e3..4ccf01a20 100644
--- a/src/main/ui/static/payment/partner/partner-manage.js
+++ b/src/main/ui/static/payment/partner/partner-manage.js
@@ -1588,26 +1588,16 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/query/alipay_gms_json').then(function (resp) {
$scope.alipay_gms_json = resp.data;
commonDialog.confirm({
- title: 'Warning',
- content: '是否使用该商户的现有信息进件?',
- json:$scope.alipay_gms_json
+ title: 'Warning',
+ content: '是否使用该商户的现有信息进件?',
+ json: $scope.alipay_gms_json
}).then(function () {
- if ($scope.partner.business_structure === "Company") {
- $http.post('/sys/partners/' + $scope.partner.client_moniker + '/register/alipay_gms', {representative_id: ""}).then(function () {
+ $http.post('/sys/partners/' + $scope.partner.client_moniker + '/register/alipay_gms').then(function () {
commonDialog.alert({title: 'Success', content: 'Alipay进件成功', type: 'success'});
}, function (resp) {
commonDialog.alert({title: 'Error', content: "进件失败:" + resp.data.message, type: 'error'});
})
- } else {
- commonDialog.inputText({title: '请输入商户身份证或护照号码'}).then(function (text) {
- $http.post('/sys/partners/' + $scope.partner.client_moniker + '/register/alipay_gms', {representative_id: text}).then(function () {
- commonDialog.alert({title: 'Success', content: '提示:Alipay进件成功', type: 'success'});
- }, function (resp) {
- commonDialog.alert({title: 'Error', content: "进件失败:" + resp.data.message, type: 'error'});
- })
- });
- }
- })
+ });
})
};
$scope.queryAlipayGms = function () {
@@ -1625,14 +1615,11 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
content: '是否使用该商户的现有信息进件?',
json:$scope.alipayOnline_gms_json
}).then(function () {
- commonDialog.inputText({title: '请输入商户身份证或护照号码'}).then(function (text) {
- $http.post('/sys/partners/' + $scope.partner.client_moniker + '/register/alipayOnline_gms', {representative_id: text}).then(function () {
- commonDialog.alert({title: 'Success', content: '提示:AlipayOnline进件成功', type: 'success'});
- }, function (resp) {
- commonDialog.alert({title: 'Error', content: "进件失败:" + resp.data.message, type: 'error'});
- })
+ $http.post('/sys/partners/' + $scope.partner.client_moniker + '/register/alipayOnline_gms').then(function () {
+ commonDialog.alert({title: 'Success', content: '提示:AlipayOnline进件成功', type: 'success'});
+ }, function (resp) {
+ commonDialog.alert({title: 'Error', content: "进件失败:" + resp.data.message, type: 'error'});
});
-
})
});
};
@@ -2404,13 +2391,12 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}]);
app.controller('surchargeAccountDetailCtrl', ['$scope', '$http', 'balance', 'partner', 'transactions', 'commonDialog', function ($scope, $http, balance, partner, transactions, commonDialog) {
$scope.surcharge = angular.copy(balance);
- $scope.transactions = angular.copy(transactions.data);
+ $scope.surchargeDetailData = angular.copy(transactions.data);
$scope.partner = angular.copy(partner);
$scope.canAddDetail = false;
$scope.params = {};
$scope.getBalance = function () {
-
if ($scope.partner.surcharge_mode != undefined && $scope.partner.surcharge_mode == "distributed") {
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/surcharge_account').then(function (resp) {
$scope.surcharge = resp.data;
@@ -2421,7 +2407,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
$scope.getTransactions = function () {
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/account/transactions').then(function (resp) {
- $scope.transactions = resp.data;
+ $scope.surchargeDetailData = resp.data;
});
}
diff --git a/src/main/ui/static/payment/partner/templates/client_partner_detail.html b/src/main/ui/static/payment/partner/templates/client_partner_detail.html
index 0e1ccad1a..6ebd7bb0e 100644
--- a/src/main/ui/static/payment/partner/templates/client_partner_detail.html
+++ b/src/main/ui/static/payment/partner/templates/client_partner_detail.html
@@ -315,7 +315,7 @@