bztang-admin/plugins/area-dividend/views/admin/change-pwd.blade.php

105 lines
5.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('layouts.base')
@section('content')
@section('title', '修改密码')
<div class="rightlist">
<form action="" method='post' class='form-horizontal'>
<div class='panel panel-default'>
<div class='panel-heading'>
<span>修改密码</span>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">区域代理</label>
<div class="col-sm-9 col-xs-12">
{{$real_name}}
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单管理权限(唯一)</label>
<div class="col-sm-9 col-xs-12">
<label class="radio-inline">
<input type="radio" name="order_manage" value="0"
@if(!$order_manage) checked="checked" @endif /> 关闭</label>
<label class="radio-inline">
<input type="radio" name="order_manage" value="1"
@if($order_manage == 1) checked="checked" @endif /> 开启</label>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">独立分红比例</label>
<div class="col-sm-9 col-xs-12">
<label class="radio-inline">
<input type="radio" name="has_ratio" value="0" @if(!$agency->has_ratio) checked="checked" @endif /> 关闭</label>
<label class="radio-inline">
<input type="radio" name="has_ratio" value="1" @if($agency->has_ratio == 1) checked="checked" @endif/> 开启</label>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">分红比例</label>
<div class="col-sm-6 col-xs-6">
<div class='input-group'>
<input type='text' name='ratio' class="form-control discounts_value" onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''"
value="{{$agency->ratio}}"/>
<div class='input-group-addon waytxt'>%</div>
</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">权重值奖励比例</label>
<div class="col-sm-6 col-xs-6">
<div class='input-group'>
<input type='text' name='weight_value_ratio' class="form-control discounts_value" onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''" value="{{$agency->weight_value_ratio}}"/>
<div class='input-group-addon waytxt'>%</div>
</div>
<div class="help-block">不填或者为0则无权重值奖励。该比例为订单商品奖励权重值的占比例(例如商品奖励600权重值这里填写30则该区域代理获得600*30%=180权重值)</div>
</div>
</div>
{{--招商专员插件--}}
@if(app('plugins')->isEnabled('invest-people'))
{!! \Yunshop\InvestPeople\services\InvestMemberView::areaDividend($agency->investor_uid) !!}
@endif
@if (!empty($username))
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">账号:</label>
<div class="col-sm-9 col-xs-12">
{{$username}}
</div>
</div>
@else
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">添加账号</label>
<div class="col-sm-9 col-xs-12">
<input type="text" name="wq[username]" placeholder="登录账号" class="form-control" value="" />
</div>
</div>
@endif
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">密码</label>
<div class="col-sm-9 col-xs-12">
<input type="text" name="wq[password]" class="form-control" value="" />
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">验证密码</label>
<div class="col-sm-9 col-xs-12">
<input type="text" name="wq[password_again]" class="form-control" value="" />
</div>
</div>
<div class="form-group"></div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
<div class="col-sm-9 col-xs-12">
<input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
<input type="button" name="back" onclick='history.back()' value="返回列表" class="btn btn-default" />
</div>
</div>
</div>
</form>
</div>
@endsection