{extend name="base" /} {block name="css"} <link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/webuploader.css?v={$v}" /> <link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/batchupload.css?v={$v}" /> <link href="__STATIC__/plugins/validator/jquery.validator.css?v={$v}" rel="stylesheet"> {/block} {block name="main"} <style> .goodsCat{display:inline-block;width:150px} .accreds{display:inline-block;width:150px} .apply-img{text-align: center;} .apply-img img{max-width: 50%} </style> <form id='editFrom' autocomplete='off'> <input type='hidden' id='shopId' class='ipt' value="{$object['shopId']}"/> <fieldset class="layui-elem-field layui-field-title"> <legend>基础信息</legend> <table class='wst-form wst-box-top'> <input type='hidden' id='userId' class='ipt' value="{$object['userId']}"/> <tr> <th width='150'>申请会员:</th> <td height='23'>{$object['user']['loginName']}</td> </tr> <tr> <th width='150'>实名名称:</th> <td height='23'>{$object['user']['trueName']}</td> </tr> <tr> <th width='150'>申请时间:</th> <td height='23'>{$object['applyTime']}</td> </tr> <tr> <th width='150'>店铺名称<font color='red'>*</font>:</th> <td><input type="text" id='shopName' class='ipt' maxLength='20' data-rule="店铺名称: required;" value="{$object['shopName']}"/></td> </tr> <tr> <th width='150'>直营人姓名<font color='red'>*</font>:</th> <td><input type="text" id='userName' class='ipt' maxLength='100' data-rule="直营人姓名: required;" value="{$object['userName']}"/></td> </tr> <tr> <th width='150'>联系电话</th> <td><input type="text" id='phone' class='ipt' maxLength='100' data-rule="联系电话: required;" value="{$object['phone']}"/></td> </tr> <tr> <th>店铺所在地<font color='red'>*</font>:</th> <td height='23'>{$object['area']}</td> </td> </tr> <tr> <th>店铺详细地址<font color='red'>*</font>:</th> <td> <input type='text' id='shopAddress' class='ipt' style='width:550px' data-rule='店铺详细地址:required;' value="{$object['shopAddress']}"/> </td> </tr> <tr> <th>开户行<font color='red'>*</font>:</th> <td> <input type='text' id='bankName' class='ipt' data-rule='开户行:required;' value="{$object['bankName']}"/> </td> </tr> <tr> <th>开户名<font color='red'>*</font>:</th> <td> <input type='text' id='accountName' class='ipt' data-rule='开户名:required;' value="{$object['accountName']}"/> </td> </tr> <tr> <th>银行卡号<font color='red'>*</font>:</th> <td> <input type='text' id='bankNo' class='ipt' data-rule='银行卡号:required;' value="{$object['bankNo']}"/> </td> </tr> </table> </fieldset> <fieldset class="layui-elem-field layui-field-title apply-img"> <legend><b>照片信息</b></legend> <fieldset class="layui-elem-field"> <legend>身份证正面</legend> <div class="layui-field-box"> <img id='idCardFrontImg' src='__IMGURL__/{$object['idCardFrontImg']}'> </div> </fieldset> <fieldset class="layui-elem-field"> <legend>身份证反面</legend> <div class="layui-field-box"> <img id='idCardBackImg' src='__IMGURL__/{$object['idCardBackImg']}'> </div> </fieldset> <fieldset class="layui-elem-field"> <legend>直营人委托书</legend> <div class="layui-field-box"> <img id='commissionImg' src='__IMGURL__/{$object['commissionImg']}'> </div> </fieldset> <fieldset class="layui-elem-field"> <legend>手持身份证和营业执照</legend> <div class="layui-field-box"> <img id='businessLicenceImg' src='__IMGURL__/{$object['businessLicenceImg']}'> </div> </fieldset> <fieldset class="layui-elem-field"> <legend>手持确认书照:</legend> <div class="layui-field-box"> <img id='confirmationImg' src='__IMGURL__/{$object['confirmationImg']}'> </div> </fieldset> </fieldset> <fieldset class="layui-elem-field layui-field-title"> <legend>申请状态</legend> <table class='wst-form wst-box-top'> <tr> <th width='150'>处理结果<font color='red'>*</font>:</th> <td class='layui-form'> <label> <input type='radio' class='ipt' name='status' id='status2' value='1' {if $object['status']==1}checked{/if} onclick='javascript:WST.showHide(1,".deposit");WST.showHide(0,"#trApplyDesc")' data-rule="处理结果:checked" title='通过'> </label> <label> <input type='radio' class='ipt' name='status' id='status-1' value='2' {if $object['status']==2}checked{/if} onclick='javascript:WST.showHide(1,"#trApplyDesc");WST.showHide(0,".deposit")' title='不通过'> </label> </td> </tr> <tr id='trApplyDesc' style='display:none'> <th>不通过原因<font color='red'>*</font>:</th> <td><textarea id='applyDesc' class='ipt' style='width:500px;height:100px;' maxLength='100' data-rule="不通过原因:required(#status-1:checked);">{$object['applyDesc']}</textarea></td> </tr> <tr> <td colspan='2' align='center'> <button type="button" class='btn btn-primary btn-mright' onclick='javascript:apply()'><i class="fa fa-check"></i>保存</button> <button type="button" class='btn' onclick="javascript:history.go(-1)"><i class="fa fa-angle-double-left" ></i>返回</button> </td> </tr> </table> </fieldset> </form> <script type='text/javascript' src='__STATIC__/plugins/webuploader/webuploader.js?v={$v}'></script> <script type='text/javascript' src='__STATIC__/plugins/webuploader/batchupload.js?v={$v}'></script> <script type="text/javascript" src="__STATIC__/plugins/validator/jquery.validator.min.js?v={$v}"></script> <script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script> {/block} {block name="js"} <script type='text/javascript' src='__STATIC__/plugins/webuploader/webuploader.js?v={$v}'></script> <script type="text/javascript" src="__STATIC__/plugins/validator/jquery.validator.min.js?v={$v}"></script> <script src="__STATIC__/plugins/layer/laydate.js"></script> <script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script> {/block}