<?php /*a:1:{s:78:"D:\phpstudy_pro\WWW\www.ceshi.com\application\admin\view\users\edit_users.html";i:1642571926;}*/ ?>
<form class="layui-form layui-card" action="<?php echo request()->url(); ?>" data-auto="true" method="post" autocomplete="off"><div class="layui-card-body"><div class="layui-form-item"><label class="layui-form-label">所属代理</label><div class="layui-input-block"><select name="agent_id" class="layui-select" id="selectList"><option value="0">平台</option><?php foreach($agent_list as $v): ?><option value="<?php echo htmlentities($v['id']); ?>"<?php if($v['id']==$info['agent_id']): ?> selected<?php endif; ?>><?php echo htmlentities($v['username']); ?></option><?php endforeach; ?></select></div></div><div class="layui-form-item"><label class="layui-form-label label-required">二级代理</label><div class="layui-input-block"><input name="agent_service_id" placeholder="二级代理" value="<?php echo htmlentities($info['agent_service_id']); ?>" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">用户名称</label><div class="layui-input-block"><input name="user_name" required placeholder="请输入用户名称" value="<?php echo htmlentities($info['username']); ?>" class="layui-input"><input type="hidden" name="_csrf_" value="<?php echo systoken('edit_users'); ?>"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">手机号码</label><div class="layui-input-block"><input name="tel" required placeholder="请输入手机号码" value="<?php echo htmlentities($info['tel']); ?>" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">账号余额</label><div class="layui-input-block"><input type="number" min="0" required placeholder="请输入账号余额" name="balance" value="<?php echo htmlentities($info['balance']); ?>" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">冻结金额</label><div class="layui-input-block"><input type="number" min="0" required placeholder="冻结金额" name="freeze_balance" value="<?php echo htmlentities($info['freeze_balance']); ?>" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">会员等级</label><div class="layui-input-block"><select name="level"><?php foreach($level as $key=>$vo): ?><option value="<?php echo htmlentities($vo['level']); ?>" <?php echo $info['level']==$vo['level'] ? 'selected': ''; ?> ><?php echo htmlentities($vo['name']); ?></option><?php endforeach; ?></select></div></div><div class="layui-form-item"><label class="layui-form-label label-required">叠加组</label><div class="layui-input-block"><select name="group_id"><option value="0">不加入</option><?php foreach($groupList as $key=>$vo): ?><option value="<?php echo htmlentities($vo['id']); ?>" <?php echo $info['group_id']==$vo['id'] ? 'selected': ''; ?> ><?php echo htmlentities($vo['title']); ?></option><?php endforeach; ?></select></div></div><div class="layui-form-item"><label class="layui-form-label label-required">交易状态</label><div class="layui-input-block"><select name="deal_status"><option value="1" <?php echo $info['deal_status']==1 ? 'selected': ''; ?> >正常</option><option value="3" <?php echo $info['deal_status']==3 ? 'selected': ''; ?> >冻结</option></select><!--<input name="freeze_balance" type="number" min="0" required placeholder="冻结金额" value="<?php echo htmlentities($info['freeze_balance']); ?>" class="layui-input">--></div></div><div class="layui-form-item"><label class="layui-form-label">登录密码</label><div class="layui-input-block"><input name="pwd" placeholder="留空不修改密码" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label">交易密码</label><div class="layui-input-block"><input name="pwd2" placeholder="留空不修改交易密码" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label">级别任务数</label><div class="layui-input-block"><input name="converNumber" value="<?php echo htmlentities($converNumber); ?>" readonly class="layui-input"><p class="help-block">当前任务做到第几轮</p></div></div><div class="layui-form-item"<?php if($info['id']): ?> style="display: none"<?php endif; ?>><label class="layui-form-label">上级ID</label><div class="layui-input-block"><input name="parent_id" placeholder="请输入上级ID" value="<?php echo htmlentities($info['parent_id']); ?>" class="layui-input"></div></div></div><input name="id" type="hidden" value="<?php echo htmlentities($info['id']); ?>"><div class="hr-line-dashed"></div><div class="layui-form-item text-center"><button class="layui-btn" type='submit'>提交</button><button class="layui-btn layui-btn-danger" type='button' data-close>取消</button></div><script>window.form.render();</script></form>
