parent
8890cab76f
commit
92d10e7f64
@ -0,0 +1,284 @@
|
|||||||
|
<div class="content">
|
||||||
|
<form novalidate name="subForm">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading" > {{title}}</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group"
|
||||||
|
ng-class="{'has-error':subForm.merchantDisplayName.$invalid && subForm.merchant_storename.$dirty}">
|
||||||
|
<label class="control-label col-sm-4" for="merchantDisplayName_input">Merchant DisplayName</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input class="form-control" ng-model="subMerchantInfo.merchantDisplayName"
|
||||||
|
type="text" name="merchantDisplayName" id="merchantDisplayName_input" required maxlength="50">
|
||||||
|
<div ng-messages="subForm.merchantDisplayName.$error" ng-if="subForm.merchantDisplayName.$dirty">
|
||||||
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
||||||
|
<p class="small text-danger" ng-message="maxlength">Length is more than 50</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--<div class="form-group"-->
|
||||||
|
<!--ng-class="{'has-error':subForm.merchant_name.$invalid && subForm.merchant_name.$dirty}">-->
|
||||||
|
<!--<label class="control-label col-sm-4">* Payment Type</label>-->
|
||||||
|
<!--<div class="col-sm-8">-->
|
||||||
|
<!--<span class="checkbox-inline">-->
|
||||||
|
<!--<input type="checkbox" ng-model="subMerchantInfo.payment_type_online"> <p>Online Payment</p>-->
|
||||||
|
<!--</span>-->
|
||||||
|
<!--<span class="checkbox-inline">-->
|
||||||
|
|
||||||
|
<!--<input type="checkbox" ng-model="subMerchantInfo.business_type_offline"><p>Offline Payment</p>-->
|
||||||
|
|
||||||
|
<!--</span>-->
|
||||||
|
<!--<span class="checkbox-inline">-->
|
||||||
|
|
||||||
|
<!--<input type="checkbox" ng-model="subMerchantInfo.business_type_agreement"><p>Agreement Payment</p>-->
|
||||||
|
|
||||||
|
<!--</span>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<div class="form-group"
|
||||||
|
ng-class="{'has-error':partnerForm.alipay_category.$invalid && partnerForm.alipay_category.$dirty}">
|
||||||
|
<label class="control-label col-sm-4"
|
||||||
|
for="alipay_category">*Alipay Category</label>
|
||||||
|
<div class="col-sm-8" >
|
||||||
|
<input class="form-control" id="alipay_category" required
|
||||||
|
name="alipay_category" readonly
|
||||||
|
ng-model="subMerchantInfo.alipayindustry|partner_alipay_industry"
|
||||||
|
multi-level-select-popup="alipayMccCategory"
|
||||||
|
on-select="onAlipayMccSelect($selected)"
|
||||||
|
chose-one-level="false">
|
||||||
|
<div ng-messages="partnerForm.alipay_category.$error"
|
||||||
|
ng-if="partnerForm.alipay_category.$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.websites.$invalid && subForm.websites.$dirty}">
|
||||||
|
<label class="control-label col-sm-4" for="websites_input">* Web site</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input class="form-control" ng-model="subMerchantInfo.website"
|
||||||
|
type="text" name="websites" id="websites_input" required maxlength="1000">
|
||||||
|
<div ng-messages="subForm.websites.$error" ng-if="subForm.websites.$dirty">
|
||||||
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
||||||
|
<p class="small text-danger" ng-message="maxlength">Length is more than 1000</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group" ng-if="subMerchantInfo.online"
|
||||||
|
ng-class="{'has-error':subForm.websiteType.$invalid && subForm.websiteType.$dirty}">
|
||||||
|
<label class="control-label col-sm-4">* WebsiteType</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="radio-inline">
|
||||||
|
<input type="radio" name="websiteType" value="WEB" ng-model="subMerchantInfo.websiteType"/>
|
||||||
|
<label>Web</label>
|
||||||
|
</div>
|
||||||
|
<div class="radio-inline">
|
||||||
|
<input type="radio" name="websiteType" value="APP" ng-model="subMerchantInfo.websiteType"/>
|
||||||
|
<label>App</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group"
|
||||||
|
ng-class="{'has-error':subForm.legalName.$invalid && subForm.legalName.$dirty}">
|
||||||
|
<label class="control-label col-sm-4" for="legalName_input">* Legal Name</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input class="form-control" ng-model="subMerchantInfo.legalName"
|
||||||
|
type="text" name="legalName" id="legalName_input" required maxlength="256">
|
||||||
|
<div ng-messages="subForm.legalName.$error" ng-if="subForm.legalName.$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.registrationType.$invalid && subForm.registrationType.$dirty}">
|
||||||
|
<label class="control-label col-sm-4">* Registration Type</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="radio-inline">
|
||||||
|
<input type="radio" name="registrationType" value="US_FEDERAL_EIN" ng-model="subMerchantInfo.registrationType"/>
|
||||||
|
<label> (Employer Identification Number) EIN of US merchant.</label>
|
||||||
|
</div>
|
||||||
|
<div class="radio-inline">
|
||||||
|
<input type="radio" name="registrationType" value="ENTERPRISE_REGISTRATION_NO" ng-model="subMerchantInfo.registrationType"/>
|
||||||
|
<label>Merchant registration ID.</label>
|
||||||
|
</div>
|
||||||
|
<div class="radio-inline">
|
||||||
|
<input type="radio" name="registrationType" value="INDEPENDENT_CONTRACTOR_LICENSE_NO" ng-model="subMerchantInfo.registrationType"/>
|
||||||
|
<label>The license number of ride-share driver or taxi driver.</label>
|
||||||
|
</div>
|
||||||
|
<div class="radio-inline">
|
||||||
|
<input type="radio" name="registrationType" value="OTHER_IDENTIFICATION_NO" ng-model="subMerchantInfo.registrationType"/>
|
||||||
|
<label>Other registration type. </label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group"
|
||||||
|
ng-class="{'has-error':subForm.registrationNo.$invalid && subForm.registrationNo.$dirty}">
|
||||||
|
<label class="control-label col-sm-4" for="registrationNo_input">* Registration No</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input class="form-control" ng-model="subMerchantInfo.registrationNo"
|
||||||
|
type="text" name="registrationNo" id="registrationNo_input" required maxlength="64">
|
||||||
|
<div ng-messages="subForm.registrationNo.$error" ng-if="subForm.registrationNo.$dirty">
|
||||||
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
||||||
|
<p class="small text-danger" ng-message="maxlength">Length is more than 64</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group"
|
||||||
|
ng-class="{'has-error':subForm.registrationAddress.$invalid && subForm.registrationAddress.$dirty}">
|
||||||
|
<label class="control-label col-sm-4" for="registrationAddress_input">* Registration Address</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input class="form-control" ng-model="subMerchantInfo.registrationAddress"
|
||||||
|
type="text" name="registrationAddress" id="registrationAddress_input" required maxlength="256">
|
||||||
|
<div ng-messages="subForm.registrationAddress.$error" ng-if="subForm.registrationAddress.$dirty">
|
||||||
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
||||||
|
<p class="small text-danger" ng-message="maxlength">Length is more than 64</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"
|
||||||
|
for="businessType_select">* Business Type</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<select class="form-control" ng-model="subMerchantInfo.businessType"
|
||||||
|
id="businessType_select"
|
||||||
|
name="businessType" required>
|
||||||
|
<option value="">Please Choose</option>
|
||||||
|
<option value="ENTERPRISE" >ENTERPRISE</option>
|
||||||
|
<option value="INDIVIDUAL">INDIVIDUAL</option>
|
||||||
|
</select>
|
||||||
|
<div ng-messages="subForm.businessType.$error" ng-if="subForm.businessType.$dirty">
|
||||||
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--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>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input class="form-control" ng-model="subMerchantInfo.shareholderName"
|
||||||
|
type="text" name="shareholderName" id="shareholderName_input" required 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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</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>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input class="form-control" ng-model="subMerchantInfo.shareholderId"
|
||||||
|
type="text" name="shareholderId" id="shareholderId_input" required 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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group" ng-if="subMerchantInfo.businessType == 'ENTERPRISE'"
|
||||||
|
ng-class="{'has-error':subForm.representativeName.$invalid && subForm.representativeName.$dirty}">
|
||||||
|
<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">
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group" ng-if="subMerchantInfo.businessType == 'ENTERPRISE'"
|
||||||
|
ng-class="{'has-error':subForm.representativeId.$invalid && subForm.representativeId.$dirty}">
|
||||||
|
<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">
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group margin-bottom margin-top">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ng-click="saveAlipayApply(subForm)">Submit
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
Loading…
Reference in new issue