luoyang 6 years ago
parent e026399f05
commit a289abd2fa

@ -74,6 +74,8 @@ public class ClientRegisterInfo {
private String merchant_introduction; private String merchant_introduction;
private String merchant_tag; private String merchant_tag;
private String merchant_video_url; private String merchant_video_url;
@JSONField(name = "store_name")
private String storeName;
public JSONObject insertObject() { public JSONObject insertObject() {
JSONObject res = (JSONObject) JSON.toJSON(this); JSONObject res = (JSONObject) JSON.toJSON(this);
@ -376,4 +378,12 @@ public class ClientRegisterInfo {
public void setHfindustry(String hfindustry) { public void setHfindustry(String hfindustry) {
this.hfindustry = hfindustry; this.hfindustry = hfindustry;
} }
public void setStoreName(String storeName) {
this.storeName = storeName;
}
public String getStoreName() {
return storeName;
}
} }

@ -107,26 +107,17 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" <div class="form-group">
ng-class="{'has-error':partnerForm.store_name.$invalid && partnerForm.store_name.$dirty}">
<label class="control-label col-sm-2" for="store-name-input">Store <label class="control-label col-sm-2" for="store-name-input">Store
Name</label> Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.store_name" <input class="form-control" ng-model="partner.store_name"
type="text" type="text"
name="short_name" id="store-name-input" required name="short_name" id="store-name-input"
maxlength="15"> maxlength="15">
<p class="small text-info">store name for WeChat payment display <p class="small text-info">store name for WeChat payment display
and partner and partner
name</p> name</p>
<div ng-messages="partnerForm.store_name.$error"
ng-if="partnerForm.store_name.$dirty">
<p class="small text-danger" ng-message="required">Required
Field</p>
<p class="small text-danger" ng-message="maxlength">Less
Than 15
Characters(including symbols and spaces)</p>
</div>
</div> </div>
</div> </div>
<div class="form-group" <div class="form-group"

@ -86,21 +86,14 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" <div class="form-group">
ng-class="{'has-error':partnerForm.store_name.$invalid && partnerForm.store_name.$dirty}">
<label class="control-label col-sm-2" for="store-name-input">Store Name</label> <label class="control-label col-sm-2" for="store-name-input">Store Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.store_name" type="text" <input class="form-control" ng-model="partner.store_name" type="text"
name="short_name" name="store_name"
id="store-name-input" required maxlength="15"> id="store-name-input" maxlength="15">
<p class="small text-info">store name for WeChat payment display and partner <p class="small text-info">store name for WeChat payment display and partner
name</p> name</p>
<div ng-messages="partnerForm.store_name.$error"
ng-if="partnerForm.store_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 15
Characters(including symbols and spaces)</p>
</div>
</div> </div>
</div> </div>
@ -153,24 +146,18 @@
</div> </div>
</div> </div>
</div> </div>
</div> <div class="form-group">
<div class="form-group"
ng-class="{'has-error':partnerForm.store_name.$invalid && partnerForm.store_name.$dirty}">
<label class="control-label col-sm-2" for="store-name-input">Store Name</label> <label class="control-label col-sm-2" for="store-name-input">Store Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.store_name" type="text" <input class="form-control" ng-model="partner.store_name" type="text"
name="short_name" name="store_name"
id="store-name-input" required maxlength="15"> id="store-name-input" maxlength="15">
<p class="small text-info">store name for WeChat payment display and partner <p class="small text-info">store name for WeChat payment display and partner
name</p> name</p>
<div ng-messages="partnerForm.store_name.$error"
ng-if="partnerForm.store_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 15
Characters(including symbols and spaces)</p>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" <div class="form-group"
ng-class="{'has-error':partnerForm.business_structure.$invalid && partnerForm.business_structure.$dirty}"> ng-class="{'has-error':partnerForm.business_structure.$invalid && partnerForm.business_structure.$dirty}">
<label class="control-label col-sm-2" for="business-structure-input">Business Structure</label> <label class="control-label col-sm-2" for="business-structure-input">Business Structure</label>

Loading…
Cancel
Save