From 2272e5146b65e7b8299a781c7b28410f6c6c251c Mon Sep 17 00:00:00 2001 From: luoyang Date: Fri, 11 Jan 2019 15:42:42 +0800 Subject: [PATCH] add store_name --- .../partner/templates/add_partner.html | 28 +++++++++++++++++-- .../templates/apply_rpay_sub_merchant_id.html | 25 +++++++++++++---- .../templates/apply_wx_sub_merchant_id.html | 10 +++---- .../partner/templates/partner_edit.html | 22 +++++++++++++-- 4 files changed, 69 insertions(+), 16 deletions(-) diff --git a/src/main/ui/static/payment/partner/templates/add_partner.html b/src/main/ui/static/payment/partner/templates/add_partner.html index 89a606210..f604935cf 100644 --- a/src/main/ui/static/payment/partner/templates/add_partner.html +++ b/src/main/ui/static/payment/partner/templates/add_partner.html @@ -77,16 +77,16 @@ + maxlength="50">

short name for WeChat payment display and partner name

+ ng-if="partnerForm.short_name.$dirty">

Required Field

Less - Than 15 + Than 50 Characters(including symbols and spaces)

@@ -107,6 +107,28 @@ +
+ +
+ +

store name for WeChat payment display + and partner + name

+
+

Required + Field

+

Less + Than 15 + Characters(including symbols and spaces)

+
+
+
+ + + + + + + + + + + + +
- + ng-class="{'has-error':subForm.merchant_storename.$invalid && subForm.merchant_storename.$dirty}"> +
- -
+ +

Required Field

-

Length is more than 15

+

Length is more than 50

diff --git a/src/main/ui/static/payment/partner/templates/apply_wx_sub_merchant_id.html b/src/main/ui/static/payment/partner/templates/apply_wx_sub_merchant_id.html index 58b227e73..66a9105bc 100644 --- a/src/main/ui/static/payment/partner/templates/apply_wx_sub_merchant_id.html +++ b/src/main/ui/static/payment/partner/templates/apply_wx_sub_merchant_id.html @@ -39,12 +39,12 @@
- + ng-class="{'has-error':subForm.merchant_storename.$invalid && subForm.merchant_storename.$dirty}"> +
- -
+ +

Required Field

Length is more than 50

diff --git a/src/main/ui/static/payment/partner/templates/partner_edit.html b/src/main/ui/static/payment/partner/templates/partner_edit.html index 3c21c5fe7..8acf92830 100644 --- a/src/main/ui/static/payment/partner/templates/partner_edit.html +++ b/src/main/ui/static/payment/partner/templates/partner_edit.html @@ -62,13 +62,13 @@
+ id="short-name-input" required maxlength="50">

short name for WeChat payment display and partner name

Required Field

-

Less Than 15 +

Less Than 50 Characters(including symbols and spaces)

@@ -86,6 +86,24 @@
+
+ +
+ +

short name for WeChat payment display and partner + name

+
+

Required Field

+

Less Than 15 + Characters(including symbols and spaces)

+
+
+
+