|
|
|
@ -151,6 +151,57 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 店铺名称 -->
|
|
|
|
|
<div class="form-group" ng-if="!subMerchantInfo.online"
|
|
|
|
|
ng-class="{'has-error':subForm.storeName.$invalid && subForm.storeName.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="storeName_input">* Store Name</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.storeName"
|
|
|
|
|
type="text" name="storeName" id="storeName_input" required maxlength="256">
|
|
|
|
|
<div ng-messages="subForm.storeName.$error" ng-if="subForm.storeName.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 256</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 店铺MCC -->
|
|
|
|
|
<div class="form-group" ng-if="!subMerchantInfo.online"
|
|
|
|
|
ng-class="{'has-error':partnerForm.storeMCC.$invalid && partnerForm.storeMCC.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4"
|
|
|
|
|
for="storeMCC">*Store MCC</label>
|
|
|
|
|
<div class="col-sm-8" >
|
|
|
|
|
<input class="form-control" id="storeMCC" required
|
|
|
|
|
name="storeMCC" readonly
|
|
|
|
|
ng-model="subMerchantInfo.storeMCC|partner_alipay_industry"
|
|
|
|
|
multi-level-select-popup="alipayMccCategory"
|
|
|
|
|
on-select="onAlipayStoreMccSelect($selected)"
|
|
|
|
|
chose-one-level="false">
|
|
|
|
|
<div ng-messages="partnerForm.storeMCC.$error"
|
|
|
|
|
ng-if="partnerForm.storeMCC.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required
|
|
|
|
|
Field</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 商店地址-->
|
|
|
|
|
<div class="form-group" ng-if="!subMerchantInfo.online"
|
|
|
|
|
ng-class="{'has-error':subForm.storeAddress.$invalid && subForm.storeAddress.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="storeAddress_input">* Store Address</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.storeAddress"
|
|
|
|
|
type="text" name="storeAddress" id="storeAddress_input" maxlength="256" required>
|
|
|
|
|
<div ng-messages="subForm.storeAddress.$error" ng-if="subForm.storeAddress.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 256</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':subForm.businessType.$invalid && subForm.businessType.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4"
|
|
|
|
@ -171,10 +222,10 @@
|
|
|
|
|
<!--ng-if="subMerchantInfo.businessType == 'ENTERPRISE'"-->
|
|
|
|
|
<div class="form-group" ng-if="subMerchantInfo.businessType == 'ENTERPRISE'"
|
|
|
|
|
ng-class="{'has-error':subForm.shareholderName.$invalid && subForm.shareholderName.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="shareholderName_input">* Shareholder Name</label>
|
|
|
|
|
<label class="control-label col-sm-4" for="shareholderName_input">Shareholder Name</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.shareholderName"
|
|
|
|
|
type="text" name="shareholderName" id="shareholderName_input" required maxlength="128">
|
|
|
|
|
type="text" name="shareholderName" id="shareholderName_input" maxlength="128">
|
|
|
|
|
<div ng-messages="subForm.shareholderName.$error" ng-if="subForm.shareholderName.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 128</p>
|
|
|
|
@ -183,10 +234,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-if="subMerchantInfo.businessType == 'ENTERPRISE'"
|
|
|
|
|
ng-class="{'has-error':subForm.shareholderId.$invalid && subForm.shareholderId.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="shareholderId_input">* Shareholder Id</label>
|
|
|
|
|
<label class="control-label col-sm-4" for="shareholderId_input">Shareholder Id</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.shareholderId"
|
|
|
|
|
type="text" name="shareholderId" id="shareholderId_input" required maxlength="128">
|
|
|
|
|
type="text" name="shareholderId" id="shareholderId_input" maxlength="128">
|
|
|
|
|
<div ng-messages="subForm.shareholderId.$error" ng-if="subForm.shareholderId.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 128</p>
|
|
|
|
@ -195,10 +246,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-if="subMerchantInfo.businessType == 'INDIVIDUAL'"
|
|
|
|
|
ng-class="{'has-error':subForm.representativeName.$invalid && subForm.representativeName.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="representativeName_input">* Representative Name</label>
|
|
|
|
|
<label class="control-label col-sm-4" for="representativeName_input">Representative Name</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.representativeName"
|
|
|
|
|
type="text" name="representativeName" id="representativeName_input" required maxlength="128">
|
|
|
|
|
type="text" name="representativeName" id="representativeName_input" maxlength="128">
|
|
|
|
|
<div ng-messages="subForm.representativeName.$error" ng-if="subForm.representativeName.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 128</p>
|
|
|
|
@ -207,10 +258,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-if="subMerchantInfo.businessType == 'INDIVIDUAL'"
|
|
|
|
|
ng-class="{'has-error':subForm.representativeId.$invalid && subForm.representativeId.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="representativeId_input">* Representative Id</label>
|
|
|
|
|
<label class="control-label col-sm-4" for="representativeId_input">Representative Id</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.representativeId"
|
|
|
|
|
type="text" name="representativeId" id="representativeId_input" required maxlength="128">
|
|
|
|
|
type="text" name="representativeId" id="representativeId_input" maxlength="128">
|
|
|
|
|
<div ng-messages="subForm.representativeId.$error" ng-if="subForm.representativeId.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 128</p>
|
|
|
|
@ -219,56 +270,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 店铺名称 -->
|
|
|
|
|
<div class="form-group" ng-if="!subMerchantInfo.online"
|
|
|
|
|
ng-class="{'has-error':subForm.storeName.$invalid && subForm.storeName.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="storeName_input">* Store Name</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.storeName"
|
|
|
|
|
type="text" name="storeName" id="storeName_input" required maxlength="256">
|
|
|
|
|
<div ng-messages="subForm.storeName.$error" ng-if="subForm.storeName.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 256</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 店铺MCC -->
|
|
|
|
|
<div class="form-group" ng-if="!subMerchantInfo.online"
|
|
|
|
|
ng-class="{'has-error':partnerForm.storeMCC.$invalid && partnerForm.storeMCC.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4"
|
|
|
|
|
for="storeMCC">*Store MCC</label>
|
|
|
|
|
<div class="col-sm-8" >
|
|
|
|
|
<input class="form-control" id="storeMCC" required
|
|
|
|
|
name="storeMCC" readonly
|
|
|
|
|
ng-model="subMerchantInfo.storeMCC|partner_alipay_industry"
|
|
|
|
|
multi-level-select-popup="alipayMccCategory"
|
|
|
|
|
on-select="onAlipayStoreMccSelect($selected)"
|
|
|
|
|
chose-one-level="false">
|
|
|
|
|
<div ng-messages="partnerForm.storeMCC.$error"
|
|
|
|
|
ng-if="partnerForm.storeMCC.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required
|
|
|
|
|
Field</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 商店地址-->
|
|
|
|
|
<div class="form-group" ng-if="!subMerchantInfo.online"
|
|
|
|
|
ng-class="{'has-error':subForm.storeAddress.$invalid && subForm.storeAddress.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="storeAddress_input">* Store Address</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.storeAddress"
|
|
|
|
|
type="text" name="storeAddress" id="storeAddress_input" maxlength="256" required>
|
|
|
|
|
<div ng-messages="subForm.storeAddress.$error" ng-if="subForm.storeAddress.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 256</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|