|
|
|
@ -175,26 +175,26 @@
|
|
|
|
|
<div id="fullpage" class="fullpage-wrapper">
|
|
|
|
|
<div class='progress' style="height: 0px">
|
|
|
|
|
<div class='progress_inner'>
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(1):before':!disabledArray[0],'dis_before':!disabledArray[0]}">
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(1):before':chooseArray[0],'dis_before':chooseArray[0]}">
|
|
|
|
|
<label for='step-1'>Account Information</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(2):before':!disabledArray[1],'dis_before':!disabledArray[1]}">
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(2):before':chooseArray[1],'dis_before':chooseArray[1]}">
|
|
|
|
|
<label for='step-2'>Company Information</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(3):before':!disabledArray[2],'dis_before':!disabledArray[2]}">
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(3):before':chooseArray[2],'dis_before':chooseArray[2]}">
|
|
|
|
|
<label for='step-3'>Bank Account</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(4):before':!disabledArray[3],'dis_before':!disabledArray[3]}">
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(4):before':chooseArray[3],'dis_before':chooseArray[3]}">
|
|
|
|
|
<label for='step-4'>Clean Days</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(5):before':!disabledArray[4],'dis_before':!disabledArray[4]}">
|
|
|
|
|
<div class='progress_inner__step' ng-class="{'body .dis_before:nth-child(5):before':chooseArray[4],'dis_before':chooseArray[4]}">
|
|
|
|
|
<label for='step-5'>Success</label>
|
|
|
|
|
</div>
|
|
|
|
|
<input checked='checked' id='step-1' name='step' type='radio' ng-disabled = "!disabledArray[0]" ng-checked="chooseArray[0]" ng-click="changeChoose(0);">
|
|
|
|
|
<input id='step-2' name='step' type='radio' ng-disabled = "!disabledArray[1]" ng-checked="chooseArray[1]" ng-click="changeChoose(1);">
|
|
|
|
|
<input id='step-3' name='step' type='radio' ng-disabled = "!disabledArray[2]" ng-checked="chooseArray[2]" ng-click="changeChoose(2);">
|
|
|
|
|
<input id='step-4' name='step' type='radio' ng-disabled = "!disabledArray[3]" ng-checked="chooseArray[3]" ng-click="changeChoose(3);">
|
|
|
|
|
<input id='step-5' name='step' type='radio' ng-disabled = "!disabledArray[4]" ng-checked="chooseArray[4]" ng-click="changeChoose(4);">
|
|
|
|
|
<input checked='checked' id='step-1' name='step' type='radio' ng-disabled = "!chooseArray[0]" ng-checked="chooseArray[0]" >
|
|
|
|
|
<input id='step-2' name='step' type='radio' ng-disabled = "!chooseArray[1]" ng-checked="chooseArray[1]">
|
|
|
|
|
<input id='step-3' name='step' type='radio' ng-disabled = "!chooseArray[2]" ng-checked="chooseArray[2]">
|
|
|
|
|
<input id='step-4' name='step' type='radio' ng-disabled = "!chooseArray[3]" ng-checked="chooseArray[3]" >
|
|
|
|
|
<input id='step-5' name='step' type='radio' ng-disabled = "!chooseArray[4]" ng-checked="chooseArray[4]">
|
|
|
|
|
<div class='progress_inner__bar'></div>
|
|
|
|
|
<div class='progress_inner__bar--set'></div>
|
|
|
|
|
<div class='progress_inner__tabs'>
|
|
|
|
@ -241,19 +241,17 @@
|
|
|
|
|
<p class="login-box-msg">Easy Business,Easy Payment</p>
|
|
|
|
|
<form novalidate name="accountForm" action="" method="post" ng-show="chooseArray[0]">
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':accountForm.short_name.$invalid && accountForm.short_name.$dirty}">
|
|
|
|
|
<input type="text" class="form-control" ng-model="partner.short_name" name="short_name"
|
|
|
|
|
placeholder="Account Name" required maxlength="80">
|
|
|
|
|
<span ng-messages="accountForm.short_name.$error" ng-if="accountForm.short_name.$dirty"
|
|
|
|
|
ng-message="required">
|
|
|
|
|
</span>
|
|
|
|
|
ng-class="{'has-error':accountForm.username.$invalid && accountForm.username.$dirty}">
|
|
|
|
|
<input type="text" class="form-control" ng-model="partner.username" name="username"
|
|
|
|
|
placeholder="Account Name" required maxlength="80" ng-mousedown="name_exist = false">
|
|
|
|
|
<div style="text-align: left" ng-if="name_exist">
|
|
|
|
|
<p class="small text-danger">用户名已存在</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':accountForm.contact_person.$invalid && accountForm.contact_person.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="partner.contact_person" placeholder="Your Name"
|
|
|
|
|
required maxlength="50" name="contact_person">
|
|
|
|
|
<span ng-messages="accountForm.contact_person.$error"
|
|
|
|
|
ng-if="accountForm.contact_person.$dirty" ng-message="required">Required Field</span>
|
|
|
|
|
required maxlength="50" name="contact_person" ng-focus="checkUserName(partner.username)">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
@ -261,39 +259,35 @@
|
|
|
|
|
<input class="form-control" ng-model="partner.contact_email" placeholder="Work Email"
|
|
|
|
|
required
|
|
|
|
|
maxlength="50" name="contact_email">
|
|
|
|
|
<span ng-messages="accountForm.contact_email.$error"
|
|
|
|
|
ng-if="accountForm.contact_email.$dirty" ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':accountForm.password.$invalid && accountForm.password.$dirty}">
|
|
|
|
|
<input type="password" class="form-control" ng-model="partner.password" placeholder="Password" required
|
|
|
|
|
maxlength="50" name="password">
|
|
|
|
|
<span ng-messages="accountForm.password.$error"
|
|
|
|
|
ng-if="accountForm.password.$dirty" ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
minlength="6" maxlength="12" name="password">
|
|
|
|
|
<div style="text-align: left">
|
|
|
|
|
<p style="text-align: left" class="small text-info">6~12个字符,区分大小写</p>
|
|
|
|
|
</div></div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':(accountForm.rePassword.$invalid && accountForm.rePassword.$dirty) ||partner.rePassword != partner.password}">
|
|
|
|
|
<input type="password" class="form-control" ng-model="partner.rePassword" placeholder="Confirm Password"
|
|
|
|
|
required
|
|
|
|
|
maxlength="50" name="rePassword">
|
|
|
|
|
<span ng-messages="accountForm.rePassword.$error"
|
|
|
|
|
ng-if="accountForm.rePassword.$dirty" ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="form-group col-xs-12"
|
|
|
|
|
ng-class="{'has-error':accountForm.contact_phone.$invalid && accountForm.contact_phone.$dirty}">
|
|
|
|
|
<input type="text" name="contact_phone" required ng-model="partner.contact_phone"
|
|
|
|
|
class="form-control" style="width: 80%;display: inline" id="verifyCode"
|
|
|
|
|
placeholder="Your Phone">
|
|
|
|
|
<button type="button" class="btn btn-success" style="width:20%;display:inline;height: 34px;float: right;border-radius: 0px"
|
|
|
|
|
title="发送验证码" ng-click="sendVerificationCode()"
|
|
|
|
|
ng-bind="description" ng-disabled="canClick"></button>
|
|
|
|
|
<div style="margin-left: 40%" ng-messages="accountForm.contact_phone.$error"
|
|
|
|
|
ng-if="accountForm.contact_phone.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<span class="input-group-addon">+61</span>
|
|
|
|
|
<input type="text" name="contact_phone" required ng-model="partner.contact_phone"
|
|
|
|
|
class="form-control" style="width: 80%;display: inline"
|
|
|
|
|
placeholder="Your Phone">
|
|
|
|
|
<button type="button" class="btn btn-success" style="width:20%;display:inline;height: 34px;float: right;border-radius: 0px"
|
|
|
|
|
title="发送验证码" ng-click="sendVerificationCode(partner.contact_phone)"
|
|
|
|
|
ng-bind="description" ng-disabled="canClick"></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -301,14 +295,12 @@
|
|
|
|
|
ng-class="{'has-error':accountForm.code.$invalid && accountForm.code.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="partner.code" placeholder="Code"
|
|
|
|
|
required maxlength="50" name="code">
|
|
|
|
|
<span ng-messages="accountForm.code.$error"
|
|
|
|
|
ng-if="accountForm.code.$dirty" ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12 margin-bottom">
|
|
|
|
|
<button type="button" class="btn btn-success btn-block btn-flat"
|
|
|
|
|
ng-click="save(accountForm,1)" ng-disabled="accountForm.$invalid">Next
|
|
|
|
|
ng-click="saveApplyInfo(accountForm,1)">Next
|
|
|
|
|
</button>
|
|
|
|
|
<div>
|
|
|
|
|
<p ng-if="resError" style="padding: 6px 12px;font-size: 14px;"
|
|
|
|
@ -322,39 +314,32 @@
|
|
|
|
|
ng-class="{'has-error':companyForm.company_name.$invalid && companyForm.company_name.$dirty}">
|
|
|
|
|
<input type="text" class="form-control" ng-model="partner.company_name" name="company_name"
|
|
|
|
|
placeholder="Company Name" required maxlength="80">
|
|
|
|
|
<span ng-messages="companyForm.company_name.$error" ng-if="companyForm.company_name.$dirty"
|
|
|
|
|
ng-message="required">
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.abn.$invalid && companyForm.abn.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="partner.abn" placeholder="ABN"
|
|
|
|
|
required maxlength="50" name="abn">
|
|
|
|
|
<span ng-messages="partnerForm.abn.$error"
|
|
|
|
|
ng-if="partnerForm.abn.$dirty" ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.short_name.$invalid && companyForm.short_name.$dirty}">
|
|
|
|
|
<input type="text" class="form-control" ng-model="partner.short_name" name="short_name"
|
|
|
|
|
placeholder="Merchant Name" required maxlength="80">
|
|
|
|
|
<span ng-messages="partnerForm.short_name.$error" ng-if="partnerForm.short_name.$dirty"
|
|
|
|
|
ng-message="required">
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.company_phone.$invalid && companyForm.company_phone.$dirty}">
|
|
|
|
|
<input type="text" class="form-control" ng-model="partner.company_phone" name="company_phone"
|
|
|
|
|
placeholder="Company phone" required maxlength="80">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.address.$invalid && companyForm.address.$dirty}">
|
|
|
|
|
<textarea class="form-control" ng-model="partner.address" placeholder="Address"
|
|
|
|
|
name="address" required maxlength="100"></textarea>
|
|
|
|
|
<span ng-messages="partnerForm.address.$error" ng-if="partnerForm.address.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.suburb.$invalid && companyForm.suburb.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="partner.suburb" placeholder="Suburb" required
|
|
|
|
|
maxlength="50" name="suburb">
|
|
|
|
|
<span ng-messages="partnerForm.suburb.$error" ng-if="partnerForm.suburb.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.state.$invalid && companyForm.state.$dirty}">
|
|
|
|
@ -364,15 +349,11 @@
|
|
|
|
|
ng-options="state.value as state.label for state in states">
|
|
|
|
|
<option value="">State</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span ng-messages="companyForm.state.$error" ng-if="companyForm.state.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.postcode.$invalid && companyForm.postcode.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="partner.postcode" placeholder="Postcode" required
|
|
|
|
|
maxlength="50" name="postcode">
|
|
|
|
|
<span ng-messages="companyForm.postcode.$error" ng-if="companyForm.postcode.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':companyForm.industry.$invalid && companyForm.industry.$dirty}">
|
|
|
|
@ -382,14 +363,12 @@
|
|
|
|
|
ng-options="industry.value as industry.label for industry in industries">
|
|
|
|
|
<option value="">Industry</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span ng-messages="companyForm.industry.$error" ng-if="companyForm.industry.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12 margin-bottom">
|
|
|
|
|
<button type="button" class="btn btn-success btn-block btn-flat"
|
|
|
|
|
ng-click="validateForm(companyForm,2)" ng-disabled="companyForm.$invalid">Next
|
|
|
|
|
ng-click="saveApplyInfo(companyForm,2)">Next
|
|
|
|
|
</button>
|
|
|
|
|
<div>
|
|
|
|
|
<p ng-if="resError" style="padding: 6px 12px;font-size: 14px;"
|
|
|
|
@ -401,83 +380,67 @@
|
|
|
|
|
<form novalidate name="bankForm" action="" method="post" ng-show="chooseArray[2]">
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.account_no.$invalid && bankForm.account_no.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.account_no" placeholder="Account No"
|
|
|
|
|
<input class="form-control" ng-model="partner.bank_no" placeholder="Account No"
|
|
|
|
|
required
|
|
|
|
|
name="account_no">
|
|
|
|
|
<span ng-messages="bankForm.account_no.$error" ng-if="bankForm.account_no.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.account_name.$invalid && bankForm.account_name.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.account_name" placeholder="Account Name"
|
|
|
|
|
<input class="form-control" ng-model="partner.bank_name" placeholder="Account Name"
|
|
|
|
|
required name="account_name">
|
|
|
|
|
<span ng-messages="bankForm.account_name.$error" ng-if="bankForm.account_name.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.bsb_no.$invalid && bankForm.bsb_no.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.bsb_no" placeholder="BSB No" required
|
|
|
|
|
name="bsb_no">
|
|
|
|
|
<span ng-messages="bankForm.bsb_no.$error" ng-if="bankForm.bsb_no.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="form-group col-xs-12"
|
|
|
|
|
ng-class="{'has-error':bankForm.bsb_no.$invalid && bankForm.bsb_no.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="partner.bsb_no" placeholder="BSB No" required
|
|
|
|
|
name="bsb_no" style="width: 80%;display: inline">
|
|
|
|
|
<button type="button" class="btn btn-success" style="width:20%;display:inline;height: 34px;float: right;border-radius: 0px"
|
|
|
|
|
title="Search" ng-click="searchBankInfo(partner.bsb_no)">Search</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.bank.$invalid && bankForm.bank.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.bank" placeholder="Bank" required
|
|
|
|
|
name="bank">
|
|
|
|
|
<span ng-messages="bankForm.bank.$error" ng-if="bankForm.bank.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.city.$invalid && bankForm.city.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.city" placeholder="City" required
|
|
|
|
|
name="city">
|
|
|
|
|
<span ng-messages="bankForm.city.$error" ng-if="bankForm.city.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.address.$invalid && bankForm.address.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.address" placeholder="Address" required
|
|
|
|
|
name="address">
|
|
|
|
|
<span ng-messages="bankForm.address.$error" ng-if="bankForm.address.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.system.$invalid && bankForm.system.$dirty}">
|
|
|
|
|
ng-class="{'has-error':bankForm.system.$invalid && bankForm.bank_system.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.system" placeholder="System" required
|
|
|
|
|
name="system">
|
|
|
|
|
<span ng-messages="bankForm.bank.$error" ng-if="bankForm.bank.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.postcode.$invalid && bankForm.postcode.$dirty}">
|
|
|
|
|
ng-class="{'has-error':bankForm.postcode.$invalid && bankForm.bank_postcode.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.postcode" placeholder="Postcode" required
|
|
|
|
|
name="postcode">
|
|
|
|
|
<span ng-messages="bankForm.postcode.$error" ng-if="bankForm.postcode.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.state.$invalid && bankForm.state.$dirty}">
|
|
|
|
|
ng-class="{'has-error':bankForm.state.$invalid && bankForm.bank_state.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.state" placeholder="State" required
|
|
|
|
|
name="state">
|
|
|
|
|
<span ng-messages="bankForm.state.$error" ng-if="bankForm.state.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':bankForm.branch.$invalid && bankForm.branch.$dirty}">
|
|
|
|
|
<input class="form-control" ng-model="bankaccount.branch" placeholder="Branch" required
|
|
|
|
|
name="branch">
|
|
|
|
|
<span ng-messages="bankForm.branch.$error" ng-if="bankForm.branch.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12 margin-bottom">
|
|
|
|
|
<button type="button" class="btn btn-success btn-block btn-flat"
|
|
|
|
|
ng-click="validateForm(bankForm,3)" ng-disabled="bankForm.$invalid">Next
|
|
|
|
|
ng-click="saveApplyInfo(bankForm,3)">Next
|
|
|
|
|
</button>
|
|
|
|
|
<div>
|
|
|
|
|
<p ng-if="resError" style="padding: 6px 12px;font-size: 14px;"
|
|
|
|
@ -489,16 +452,14 @@
|
|
|
|
|
<form novalidate name="cleanForm" action="" method="post" ng-show="chooseArray[3]">
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':cleanForm.clean_days.$invalid && cleanForm.clean_days.$dirty}">
|
|
|
|
|
<select class="form-control" ng-model="rate.clean_days" id="citySelect"
|
|
|
|
|
ng-change="changeDays()" name="clean_days">
|
|
|
|
|
<select class="form-control" ng-model="partner.clean_days" id="citySelect"
|
|
|
|
|
ng-change="changeDays(partner.clean_days)" name="clean_days">
|
|
|
|
|
<option value="">Clean Days</option>
|
|
|
|
|
<option value="1">T+1</option>
|
|
|
|
|
<option value="2">T+2</option>
|
|
|
|
|
<option value="3">T+3</option>
|
|
|
|
|
</select>
|
|
|
|
|
<div>{{rateConfig}}</div>
|
|
|
|
|
<span ng-messages="cleanForm.clean_days.$error" ng-if="cleanForm.clean_days.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
@ -509,9 +470,6 @@
|
|
|
|
|
min="0.6" max="2.2" step="0.1" id="wechat_rate_value_input" required>
|
|
|
|
|
<div class="input-group-addon">%</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span ng-messages="cleanForm.wechat_rate_value.$error"
|
|
|
|
|
ng-if="cleanForm.wechat_rate_value.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
@ -522,9 +480,6 @@
|
|
|
|
|
min="0.6" max="2.2" step="0.1" id="alipay_rate_value_input" required>
|
|
|
|
|
<div class="input-group-addon">%</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span ng-messages="cleanForm.alipay_rate_value.$error"
|
|
|
|
|
ng-if="cleanForm.alipay_rate_value.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
@ -536,9 +491,6 @@
|
|
|
|
|
min="0.6" max="2.2" step="0.1" id="alipayonline_rate_value_input" required>
|
|
|
|
|
<div class="input-group-addon">%</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span ng-messages="cleanForm.alipayonline_rate_value.$error"
|
|
|
|
|
ng-if="cleanForm.alipayonline_rate_value.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':cleanForm.bestpay_rate_value.$invalid && cleanForm.bestpay_rate_value.$dirty}">
|
|
|
|
@ -548,9 +500,6 @@
|
|
|
|
|
min="0.6" max="2.2" step="0.1" id="bestpay_rate_value_input" required>
|
|
|
|
|
<div class="input-group-addon">%</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span ng-messages="cleanForm.bestpay_rate_value.$error"
|
|
|
|
|
ng-if="cleanForm.bestpay_rate_value.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback"
|
|
|
|
|
ng-class="{'has-error':cleanForm.jd_rate_value.$invalid && cleanForm.jd_rate_value.$dirty}">
|
|
|
|
@ -560,19 +509,16 @@
|
|
|
|
|
min="0.6" max="2.2" step="0.1" id="jd_rate_value_input" required>
|
|
|
|
|
<div class="input-group-addon">%</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span ng-messages="cleanForm.jd_rate_value.$error"
|
|
|
|
|
ng-if="cleanForm.jd_rate_value.$dirty"
|
|
|
|
|
ng-message="required">Required Field</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group has-feedback">
|
|
|
|
|
<div class="checkbox agree_left agree-text">
|
|
|
|
|
<label><input type="checkbox" ng-model="rate.agree">Agree to Terms & Conditions</label>
|
|
|
|
|
<label><input type="checkbox" ng-model="partner.agree" value="1">Agree to Terms & Conditions</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12 margin-bottom">
|
|
|
|
|
<button type="button" class="btn btn-success btn-block btn-flat"
|
|
|
|
|
ng-click="save(cleanForm,4)" ng-disabled="!rate.agree && cleanForm.$invalid" >Submit
|
|
|
|
|
ng-click="saveApplyInfo(cleanForm,4)" ng-disabled="!partner.agree" >Submit
|
|
|
|
|
</button>
|
|
|
|
|
<div>
|
|
|
|
|
<p ng-if="resError" style="padding: 6px 12px;font-size: 14px;"
|
|
|
|
@ -819,7 +765,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12 margin-bottom2">
|
|
|
|
|
<button type="button" id="login-btn7" class="btn btn-success btn-block btn-flat">
|
|
|
|
|
<button type="button" id="login-btn7" class="btn btn-success btn-block btn-flat"
|
|
|
|
|
onclick="window.location.href='/login.html'">
|
|
|
|
|
{{seconds}}秒后,将跳转登录页, 或点击直接跳转登录页
|
|
|
|
|
</button>
|
|
|
|
|
<div>
|
|
|
|
|