From 94a481be3fa449ae10c45a4c631433a68b3ac8f4 Mon Sep 17 00:00:00 2001
From: dalong306 <304592994@qq.com>
Date: Tue, 12 Jan 2021 18:58:11 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=AD=90=E5=95=86=E6=88=B7?=
=?UTF-8?q?=E5=8F=B7=E5=8D=87=E7=BA=A7=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ui/static/payment/partner/partner-manage.js | 11 ++++++++---
.../partner/templates/sub_merchant_id_apply.html | 13 ++++++++-----
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js
index c613fa0fb..a934153a5 100644
--- a/src/main/ui/static/payment/partner/partner-manage.js
+++ b/src/main/ui/static/payment/partner/partner-manage.js
@@ -5689,8 +5689,13 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
// $scope.hideMerchantInfo = function () {
// $scope.showMoreMerchantInfo = !$scope.showMoreMerchantInfo;
// };
- $scope.updateSubMerchantId = function (merchant_app_id) {
- $uibModal.open({
+ $scope.updateSubMerchantId = function (sub_merchant_id) {
+ angular.forEach($scope.subMerchantInfos, function (each) {
+ if(sub_merchant_id==each.sub_merchant_id){
+ $scope.merchant_app_id=each.merchant_app_id;
+ }
+ });
+ $uibModal.open({
templateUrl: '/static/payment/partner/templates/update_apply_wx_sub_merchant_id.html',
controller: 'updateApplyWxSubMerchantIdCtrl',
resolve: {
@@ -5699,7 +5704,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
return $http.get('/sys/partners/' + $scope.partner.client_moniker + '/get_merchant_ids');
}],
subMerchantInfo: ['$http', '$stateParams', function ($http) {
- return $http.get('/sys/partners/' + $scope.partner.client_moniker + '/get_merchant_ids/' + merchant_app_id);
+ return $http.get('/sys/partners/' + $scope.partner.client_moniker + '/get_merchant_ids/' + $scope.merchant_app_id);
}]
}
}).result.then(function () {
diff --git a/src/main/ui/static/payment/partner/templates/sub_merchant_id_apply.html b/src/main/ui/static/payment/partner/templates/sub_merchant_id_apply.html
index 7ae05c24b..f4d7af204 100644
--- a/src/main/ui/static/payment/partner/templates/sub_merchant_id_apply.html
+++ b/src/main/ui/static/payment/partner/templates/sub_merchant_id_apply.html
@@ -93,9 +93,12 @@
ng-click="queryWechatSubMerchantIdStatus()">
Result
-
-
-
+
+
@@ -138,8 +141,8 @@
Use
Detail
- Modify
+
+