|
|
|
@ -253,69 +253,6 @@
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<div class="form-group" ng-if="!partner.parent_client_id || ('00110'|withRole)"
|
|
|
|
|
ng-class="{'has-error':partnerForm.partner_type.$invalid && partnerForm.partner_type.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="partner-type-select">* Photo/Website</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select class="form-control" ng-model="partner.partner_type"
|
|
|
|
|
id="partner-type-select"
|
|
|
|
|
name="partner_type">
|
|
|
|
|
<option value="">Please Choose</option>
|
|
|
|
|
<option value="photo">Photo</option>
|
|
|
|
|
<option value="companyWebsite">Website</option>
|
|
|
|
|
</select>
|
|
|
|
|
<p class="small text-info">If the partner is a offline shop then a photo of shop is
|
|
|
|
|
required while an online store shall choose company website</p>
|
|
|
|
|
<p class="small text-info">
|
|
|
|
|
只要有可能产生线下交易(商户静态码、POS),就必须上传照片,否则支付宝会禁止交易</p>
|
|
|
|
|
<div ng-messages="partnerForm.partner_type.$error"
|
|
|
|
|
ng-if="partnerForm.partner_type.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="partner.partner_type == 'photo' && (!partner.parent_client_id || ('00110'|withRole))">
|
|
|
|
|
<label class="control-label col-sm-2">* Shop Photo</label>
|
|
|
|
|
<div class="col-sm-5">
|
|
|
|
|
<div class="form-control-static"><em>1:</em>
|
|
|
|
|
<button class="btn btn-primary" type="button"
|
|
|
|
|
ngf-select="uploadShopPhoto($file)" accept="image/*">
|
|
|
|
|
<i class="fa fa-upload"></i> Upload Shop Photo1
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<uib-progressbar value="shopPhotoProgress.value"
|
|
|
|
|
ng-if="shopPhotoProgress"></uib-progressbar>
|
|
|
|
|
<img ng-src="{{partner.company_photo}}" ng-if="partner.company_photo" class="thumbnail img-size col-sm-9">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-5">
|
|
|
|
|
<div class="form-control-static"><em>2:</em>
|
|
|
|
|
<button class="btn btn-primary" type="button"
|
|
|
|
|
ngf-select="uploadStorePhoto($file)" accept="image/*">
|
|
|
|
|
<i class="fa fa-upload"></i> Upload Shop Photo2
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<uib-progressbar value="storePhotoProgress.value"
|
|
|
|
|
ng-if="storePhotoProgress"></uib-progressbar>
|
|
|
|
|
<img ng-src="{{partner.store_photo}}" ng-if="partner.store_photo" class="thumbnail img-size col-sm-9">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="partner.partner_type == 'companyWebsite' && (!partner.parent_client_id || ('00110'|withRole))"
|
|
|
|
|
ng-class="{'has-error':partnerForm.company_website.$invalid && partnerForm.company_website.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="company_website-input">* Website</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input type="text" name="company_website" class="form-control"
|
|
|
|
|
ng-model="partner.company_website"
|
|
|
|
|
id="company_website-input" required maxlength="200">
|
|
|
|
|
<div ng-messages="partnerForm.company_website.$error"
|
|
|
|
|
ng-if="partnerForm.company_website.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Less Than 200
|
|
|
|
|
Characters(including symbols and spaces)</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':partnerForm.company_phone.$invalid && partnerForm.company_phone.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="service-phone-input">* Service Phone</label>
|
|
|
|
@ -366,39 +303,120 @@
|
|
|
|
|
<div class="panel-heading">Merchant Payment Scenario</div>
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<div class="form-horizontal">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':partnerForm.client_pay_type.$invalid && partnerForm.client_pay_type.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="client-pay-type-select">*
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-2">*
|
|
|
|
|
Merchant Payment Scenario Type</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select class="form-control" ng-model="partner.client_pay_type"
|
|
|
|
|
id="client-pay-type-select"
|
|
|
|
|
name="client_pay_type">
|
|
|
|
|
<option value="">Please Choose</option>
|
|
|
|
|
<option value="all">All</option>
|
|
|
|
|
<option value="online">线上</option>
|
|
|
|
|
<option value="offline">线下</option>
|
|
|
|
|
</select>
|
|
|
|
|
<div ng-messages="partnerForm.client_pay_type.$error"
|
|
|
|
|
ng-if="partnerForm.client_pay_type.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required
|
|
|
|
|
Field</p>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_type.indexOf('1')>=0}"
|
|
|
|
|
ng-click="toggleClientPayType('1')">
|
|
|
|
|
<i class="fa fa-mixcloud"></i>
|
|
|
|
|
线上</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_type.indexOf('2')>=0}"
|
|
|
|
|
ng-click="toggleClientPayType('2')">
|
|
|
|
|
<i class="fa fa-shopping-basket"></i>
|
|
|
|
|
线下</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':partnerForm.client_pay_desc.$invalid && partnerForm.client_pay_desc.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="client-pay-desc-input">*
|
|
|
|
|
Merchant Payment Scenario Description</label>
|
|
|
|
|
ng-if="partner.client_pay_type.indexOf('1')>=0">
|
|
|
|
|
<label class="control-label col-sm-2">
|
|
|
|
|
*Online Scene Of Merchants</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea class="form-control" required
|
|
|
|
|
ng-model="partner.client_pay_desc"
|
|
|
|
|
name="client_pay_desc" id="client-pay-desc-input"
|
|
|
|
|
maxlength="200"></textarea>
|
|
|
|
|
<p class="small text-info">
|
|
|
|
|
<i class="fa fa-info"></i> 例如:线下场景:门店(立牌、POS)、收银系统(选择品牌名称【ipos、银豹、aupos、其他】)、无门店</p>
|
|
|
|
|
<div ng-messages="partnerForm.client_pay_desc.$error"
|
|
|
|
|
ng-if="partnerForm.client_pay_desc.$dirty">
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('1')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('1')">
|
|
|
|
|
<i class="fa fa-desktop"></i>
|
|
|
|
|
PC网站</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('2')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('2')">
|
|
|
|
|
<i class="fa fa-mobile-phone"></i>
|
|
|
|
|
手机端网站</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('3')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('3')">
|
|
|
|
|
<i class="fa fa-mobile-phone"></i>
|
|
|
|
|
APP</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('4')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('4')">
|
|
|
|
|
<i class="fa fa-wechat"></i>
|
|
|
|
|
微信内、支付宝内网站</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('5')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('5')">
|
|
|
|
|
<i class="fa fa-wechat"></i>
|
|
|
|
|
小程序</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div ng-if="partner.client_pay_type.indexOf('2')>=0">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':partnerForm.client_offline.$invalid && partnerForm.client_offline.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2">*Offline Scene Of Merchants</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('6')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('6')">
|
|
|
|
|
<i class="fa fa-qrcode"></i>
|
|
|
|
|
二维码立牌</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('7')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('7')">
|
|
|
|
|
<i class="fa fa-user"></i>
|
|
|
|
|
RoyalPay POS</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('8')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('8')">
|
|
|
|
|
<i class="fa fa-laptop"></i>
|
|
|
|
|
收银系统</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('9')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('9')">
|
|
|
|
|
<i class="fa fa-shopping-cart"></i>
|
|
|
|
|
无人售货机</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div ng-if="partner.client_pay_desc.indexOf('8')>=0">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':partnerForm.client_offline.$invalid && partnerForm.client_offline.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2">* POS</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('10')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('10')">
|
|
|
|
|
<i class="fa fa-laptop"></i>
|
|
|
|
|
ipos</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('11')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('11')">
|
|
|
|
|
<i class="fa fa-laptop"></i>
|
|
|
|
|
pospal</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('12')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('12')">
|
|
|
|
|
<i class="fa fa-laptop"></i>
|
|
|
|
|
aupos</button>
|
|
|
|
|
<button class="btn btn-default"
|
|
|
|
|
ng-class="{active:partner.client_pay_desc.indexOf('13')>=0}"
|
|
|
|
|
ng-click="toggleClientPayDesc('13')">
|
|
|
|
|
<i class="fa fa-laptop"></i>
|
|
|
|
|
其他</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-if="partner.client_pay_type.indexOf('1')>=0"
|
|
|
|
|
ng-class="{'has-error':partnerForm.company_website.$invalid && partnerForm.company_website.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="company_website-input">*
|
|
|
|
|
Website</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input type="text" name="company_website" class="form-control"
|
|
|
|
|
ng-model="partner.company_website"
|
|
|
|
|
id="company_website-input" required maxlength="200">
|
|
|
|
|
<div ng-messages="partnerForm.company_website.$error"
|
|
|
|
|
ng-if="partnerForm.company_website.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required
|
|
|
|
|
Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Less
|
|
|
|
@ -407,63 +425,33 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--<div ng-if="partner.client_pay_type=='online' || partner.client_pay_type=='all'">-->
|
|
|
|
|
<!--<div class="form-group">-->
|
|
|
|
|
<!--<label class="control-label col-sm-2">-->
|
|
|
|
|
<!--Website</label>-->
|
|
|
|
|
<!--<div class="col-sm-8">-->
|
|
|
|
|
<!--<input type="text" class="form-control"-->
|
|
|
|
|
<!--ng-model="partner.online_website">-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div class="form-group">-->
|
|
|
|
|
<!--<label class="control-label col-sm-2">-->
|
|
|
|
|
<!--公众号名称</label>-->
|
|
|
|
|
<!--<div class="col-sm-8">-->
|
|
|
|
|
<!--<input type="text" class="form-control"-->
|
|
|
|
|
<!--ng-model="partner.online_public_account">-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div class="form-group">-->
|
|
|
|
|
<!--<label class="control-label col-sm-2">-->
|
|
|
|
|
<!--Mini Program Name</label>-->
|
|
|
|
|
<!--<div class="col-sm-8">-->
|
|
|
|
|
<!--<input type="text" class="form-control"-->
|
|
|
|
|
<!--ng-model="partner.online_mini_program">-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div class="form-group">-->
|
|
|
|
|
<!--<label class="control-label col-sm-2">-->
|
|
|
|
|
<!--APP Name</label>-->
|
|
|
|
|
<!--<div class="col-sm-8">-->
|
|
|
|
|
<!--<input type="text" class="form-control"-->
|
|
|
|
|
<!--ng-model="partner.online_app">-->
|
|
|
|
|
<!--<p class="small text-info">-->
|
|
|
|
|
<!--<i class="fa fa-info"></i> 线上支付场景至少选择填一项</p>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div ng-if="partner.client_pay_type=='offline' || partner.client_pay_type=='all'">-->
|
|
|
|
|
<!--<div class="form-group"-->
|
|
|
|
|
<!--ng-class="{'has-error':partnerForm.client_offline.$invalid && partnerForm.client_offline.$dirty}">-->
|
|
|
|
|
<!--<label class="control-label col-sm-2"-->
|
|
|
|
|
<!--for="client-offline-desc">*Offline Scene Of Merchants</label>-->
|
|
|
|
|
<!--<div class="col-sm-8">-->
|
|
|
|
|
<!--<input class="form-control" id="client-offline-desc" required-->
|
|
|
|
|
<!--name="client_offline" readonly-->
|
|
|
|
|
<!--ng-model="partner.client_offline_desc | partner_offline_desc"-->
|
|
|
|
|
<!--multi-level-select-popup="client_offline_select"-->
|
|
|
|
|
<!--on-select="onOfflineDescSelect($selected)">-->
|
|
|
|
|
<!--<div ng-messages="partnerForm.client_offline.$error"-->
|
|
|
|
|
<!--ng-if="partnerForm.client_offline.$dirty">-->
|
|
|
|
|
<!--<p class="small text-danger" ng-message="required">Required-->
|
|
|
|
|
<!--Field</p>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="partner.client_pay_type.indexOf('2')>=0">
|
|
|
|
|
<label class="control-label col-sm-2">* Shop Photo</label>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<div class="form-control-static"><em>1:</em>
|
|
|
|
|
<button class="btn btn-primary" type="button"
|
|
|
|
|
ngf-select="uploadShopPhoto($file)" accept="image/*">
|
|
|
|
|
<i class="fa fa-upload"></i> Upload Shop Photo1
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<uib-progressbar value="shopPhotoProgress.value"
|
|
|
|
|
ng-if="shopPhotoProgress"></uib-progressbar>
|
|
|
|
|
<img ng-src="{{partner.company_photo}}" ng-if="partner.company_photo"
|
|
|
|
|
class="thumbnail img-size col-sm-9">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<div class="form-control-static"><em>2:</em>
|
|
|
|
|
<button class="btn btn-primary" type="button"
|
|
|
|
|
ngf-select="uploadStorePhoto($file)" accept="image/*">
|
|
|
|
|
<i class="fa fa-upload"></i> Upload Shop Photo2
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<uib-progressbar value="storePhotoProgress.value"
|
|
|
|
|
ng-if="storePhotoProgress"></uib-progressbar>
|
|
|
|
|
<img ng-src="{{partner.store_photo}}" ng-if="partner.store_photo"
|
|
|
|
|
class="thumbnail img-size col-sm-9">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|