diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js index c7652834b..575637bcf 100644 --- a/src/main/ui/static/payment/partner/partner-manage.js +++ b/src/main/ui/static/payment/partner/partner-manage.js @@ -3209,12 +3209,11 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }); return; } - + var option = []; angular.forEach(form, function (item, key) { if(item !=null) { if(item.$name !=null) { - var name = item.$name; - merchantInfo.name = item.$modelValue; + merchantInfo[key] = item.$modelValue; console.log("++++" + item.$name + "++++" + item.$modelValue); } } diff --git a/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html b/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html index d898d0af8..90806d504 100644 --- a/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html +++ b/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html @@ -12,7 +12,7 @@
Required Field
Length is more than 50
@@ -47,10 +47,10 @@Required Field
Required Field
Length is more than 50