455 lines
20 KiB
HTML
Executable File
455 lines
20 KiB
HTML
Executable File
{extend name="base" /}
|
||
{block name="css"}
|
||
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/webuploader.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}
|
||
</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'>
|
||
<tr>
|
||
<th width='150'>新增类型<font color='red'>*</font>:</th>
|
||
<td class='layui-form'>
|
||
<label>
|
||
<input type='radio' class='ipt' name='isNew' id='isNew1' value='1' onclick='javascript:WST.showHide(1,".newUserTr1");WST.showHide(0,"#newUserTr0")' checked title='新账号'>
|
||
</label>
|
||
<label>
|
||
<input type='radio' class='ipt' name='isNew' value='0' onclick='javascript:WST.showHide(0,".newUserTr1");WST.showHide(1,"#newUserTr0")' title='已有账号'>
|
||
</label>
|
||
</td>
|
||
</tr>
|
||
<tr id='newUserTr0' style='display:none'>
|
||
<th width='150' valign="top">请输入用户账号<font color='red'>*</font>:</th>
|
||
<td>
|
||
<input type="text" id='keyName' name='keyName' class='ipt' placeholder='请输入用户账号/手机'/>
|
||
<input type='button' value='查询' class='btn btn-primary' onclick='javascript:getUserByKey()'>
|
||
<div id='keyNameBox' style='height:30px;line-height:30px'></div>
|
||
<input type='hidden' class='ipt' id='shopUserId' value='0'/>
|
||
</td>
|
||
</tr>
|
||
<tr class='newUserTr1'>
|
||
<th width='150'>登录账号<font color='red'>*</font>:</th>
|
||
<td><input type="text" id='loginName' name='loginName' class='ipt' value=" " maxLength='20' data-rule="登录账号: required(#isNew1:checked);length[6~20];remote(post:{:url('admin/users/checkLoginKey')})" onkeyup="javascript:WST.isChinese(this,1)"/></td>
|
||
</tr>
|
||
<tr class='newUserTr1'>
|
||
<th>登录密码<font color='red'>*</font>:</th>
|
||
<td><input type="password" id='loginPwd' class='ipt' maxLength='20' value='88888888' data-rule="登录密码: required(#isNew1:checked);length[6~20];" data-target="#msg_loginPwd"/>
|
||
<span class='msg-box' id='msg_loginPwd'>(默认为88888888)</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th width='150'>店铺编号<font color='red'>*</font>:</th>
|
||
<td><input type="text" id='shopSn' name='shopSn' class='ipt' value="{$object['shopSn']}" maxLength='20' data-rule="店铺编号:ignoreBlank;length[1~20];remote(post:{:url('admin/shops/checkShopSn')})" data-target="#msg_shopSn"/><span class='msg-box' id='msg_shopSn'>(为空则自动生成'S000000001'类型号码)</span></td>
|
||
</tr>
|
||
<tr>
|
||
<th width='150'>店铺名称<font color='red'>*</font>:</th>
|
||
<td><input type="text" id='shopName' class='ipt' maxLength='20' data-rule="店铺名称: required;"/></td>
|
||
</tr>
|
||
<tr>
|
||
<th width='150'>公司名称<font color='red'>*</font>:</th>
|
||
<td><input type="text" id='shopCompany' class='ipt' maxLength='100' data-rule="公司名称: required;"/></td>
|
||
</tr>
|
||
<tr>
|
||
<th>公司所在地<font color='red'>*</font>:</th>
|
||
<td>
|
||
<select id="area_0" class='j-areas' level="0" onchange="WST.ITAreas({id:'area_0',val:this.value,isRequire:true,className:'j-areas'});">
|
||
<option value="">-请选择-</option>
|
||
{foreach $areaList as $v}
|
||
<option value="{$v['areaId']}">{$v['areaName']}</option>
|
||
{/foreach}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>公司详细地址<font color='red'>*</font>:</th>
|
||
<td>
|
||
<input type='text' id='shopAddress' class='ipt' style='width:550px' data-rule='公司详细地址:required;' />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>公司电话<font color='red'>*</font>:</th>
|
||
<td>
|
||
<input type='text' id='shopTel' class='ipt' data-rule='公司电话:required;' />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>公司紧急联系人<font color='red'>*</font>:</th>
|
||
<td>
|
||
<input type='text' id='shopkeeper' class='ipt' data-rule='公司紧急联系人:required;' />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>公司紧急联系人手机<font color='red'>*</font>:</th>
|
||
<td>
|
||
<input type='text' id='telephone' class='ipt' data-rule='公司紧急联系人手机:required;mobile' />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>经营类目<font color='red'>*</font>:</th>
|
||
<td>
|
||
{volist name="goodsCatList" id="vo"}
|
||
<label class='goodsCat'>
|
||
<input type='checkbox' class='ipt' name='goodsCatIds' value='{$vo["catId"]}' {if $i == 1}data-rule="经营类目:checked"{/if}/>{$vo["catName"]}
|
||
</label>
|
||
{/volist}
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>认证类型:</th>
|
||
<td>
|
||
{volist name="accredList" id="vo"}
|
||
<label class='accreds'>
|
||
<input type='checkbox' class='ipt' name='accredIds' value='{$vo["accredId"]}'/>{$vo["accredName"]}
|
||
</label>
|
||
{/volist}
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>店铺图标<font color='red'>*</font>:</th>
|
||
<td>
|
||
<div id='shopImgPicker'>上传店铺图标</div><span id='uploadMsg'></span><span class='msg-box' id='msg_shopImg'></span>
|
||
<img id='preview' width='150' height='150' src="__IMGURL__/{:WSTConf('CONF.shopLogo')}"/>
|
||
<input type="hidden" id='shopImg' class='ipt' value="{$object['shopImg']}" data-rule="店铺图标: required;" data-target='#msg_shopImg'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>客服QQ:</th>
|
||
<td><input type="text" id='shopQQ' class='ipt' maxLength='200'/><span style='color:gray;'>做为客服接收临时消息的QQ,需开通<a target="_blank" href="http://shang.qq.com/v3/index.html">QQ推广功能</a> -> '首页'-> '推广工具'-> '立即免费开通'</span></td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<th>阿里旺旺:</th>
|
||
<td><input type="text" id='shopWangWang' class='ipt' maxLength='200'/></td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th>是否提供开发票<font color='red'>*</font>:</th>
|
||
<td class='layui-form'>
|
||
<label>
|
||
<input type='radio' class='ipt' name='isInvoice' id='isInvoice1' value='1' onclick='javascript:WST.showHide(1,"#trInvoice")' title='是'>
|
||
</label>
|
||
<label>
|
||
<input type='radio' class='ipt' name='isInvoice' value='0' onclick='javascript:WST.showHide(0,"#trInvoice")' checked title='否'>
|
||
</label>
|
||
</td>
|
||
</tr>
|
||
<tr id='trInvoice' style='display:none'>
|
||
<th>发票说明<font color='red'>*</font>:</th>
|
||
<td><input type="text" id='invoiceRemarks' class='ipt' style='width:500px;' maxLength='100' data-rule="发票说明:required(#isInvoice1:checked)"/></td>
|
||
</tr>
|
||
<tr>
|
||
<th>营业状态<font color='red'>*</font>:</th>
|
||
<td class='layui-form'>
|
||
<label>
|
||
<input type='radio' class='ipt' name='shopAtive' value='1' checked title='营业中'>
|
||
</label>
|
||
<label>
|
||
<input type='radio' class='ipt' name='shopAtive' value='0' title='休息中'>
|
||
</label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>默认运费(元)<font color='red'>*</font>:</th>
|
||
<td><input type="text" id='freight' class='ipt' maxLength='8' data-rule="默认运费: required;" onkeypress='return WST.isNumberdoteKey(event);' value='0' onkeyup="javascript:WST.isChinese(this,1)"/></td>
|
||
</tr>
|
||
<tr>
|
||
<th>服务时间<font color='red'>*</font>:</th>
|
||
<td>
|
||
<select class='ipt' id='serviceStartTime'></select>
|
||
至
|
||
<select class='ipt' id='serviceEndTime'></select>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</fieldset>
|
||
<fieldset class="layui-elem-field layui-field-title">
|
||
<legend>入驻商联系人信息</legend>
|
||
<table class='wst-form wst-box-top'>
|
||
<tr>
|
||
<th width='150'>联系人姓名:</th>
|
||
<td>
|
||
<input type='text' id='applyLinkMan' class='ipt'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>联系人手机:</th>
|
||
<td>
|
||
<input type='text' class='ipt' data-rule="mobile" id='applyLinkTel'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>联系人电子邮箱:</th>
|
||
<td>
|
||
<input type='text' name='applyLinkEmail' data-rule="email" class='ipt' id='applyLinkEmail'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>对接商城招商人员:</th>
|
||
<td class='layui-form'>
|
||
<label>
|
||
<input type='radio' name='isInvestment' class='ipt' id='isInvestment1' value='1' onclick='javascript:WST.showHide(1,"#investmentStaffTr")' title='有'/>
|
||
</label>
|
||
<label>
|
||
<input type='radio' name='isInvestment' class='ipt' id='isInvestment0' value='0' onclick='javascript:WST.showHide(0,"#investmentStaffTr")' title='无'/>
|
||
</label>
|
||
</td>
|
||
</tr>
|
||
<tr id='investmentStaffTr' style='display:none'>
|
||
<th>姓名<font color='red'>*</font>:</th>
|
||
<td>
|
||
<input type='text' name='investmentStaff' id='investmentStaff' class='ipt' data-rule="商城招商人员姓名:required(#isInvestment1:checked)"/>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</fieldset>
|
||
<fieldset class="layui-elem-field layui-field-title">
|
||
<legend>公司信息</legend>
|
||
<table class='wst-form wst-box-top'>
|
||
<tr>
|
||
<th width='150'>执照类型:</th>
|
||
<td>
|
||
<select id='businessLicenceType' class='ipt'>
|
||
{volist name=":WSTDatas('LICENSE_TYPE')" id='vo'}
|
||
<option value='{$vo["dataVal"]}'>{$vo["dataName"]}</option>
|
||
{/volist}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th valign="top">营业执照注册号:</th>
|
||
<td><input type='text' id='businessLicence' class='ipt'/><br/><span style='color:gray;'>请按照营业执照上登记的完整名称填写</span></td>
|
||
</tr>
|
||
<tr>
|
||
<th valign="top">法定代表人姓名:</th>
|
||
<td>
|
||
<input type='text' id='legalPersonName' class='ipt'/>
|
||
<br/><span style='color:gray;'>请按照营业执照上登记的法人填写</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>营业执照所在地:</th>
|
||
<td>
|
||
<select id="carea_0" class='j-careas' level="0" onchange="WST.ITAreas({id:'carea_0',val:this.value,isRequire:false,className:'j-careas'});">
|
||
<option value="">-请选择-</option>
|
||
{foreach $areaList as $v}
|
||
<option value="{$v['areaId']}">{$v['areaName']}</option>
|
||
{/foreach}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>营业执照详细地址:</th>
|
||
<td>
|
||
<input type='text' id='licenseAddress' class='ipt' style='width:550px'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>成立日期:</th>
|
||
<td>
|
||
<input type='text' id='establishmentDate' readonly class='ipt laydate-icon'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>营业期限:</th>
|
||
<td>
|
||
<input type='text' id='businessStartDate' readonly class='ipt laydate-icon' /> -
|
||
<input type='text' id='businessEndDate' readonly class='ipt laydate-icon' />
|
||
<label><input type='checkbox' name='isLongbusinessDate' id='isLongbusinessDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#businessEndDate")' value='1'/>长期</label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>注册资本(万元):</th>
|
||
<td>
|
||
<input type='text' id='registeredCapital' class='ipt' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberKey(event)" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>经营范围:</th>
|
||
<td>
|
||
<textarea id='empiricalRange' class='ipt' style='width:550px;height:150px;'></textarea>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>法人代表证件类型:</th>
|
||
<td>
|
||
<select id='legalCertificateType' class='ipt'>
|
||
{volist name=":WSTDatas('LEGAL_LICENSE')" id='vo'}
|
||
<option value='{$vo["dataVal"]}'>{$vo["dataName"]}</option>
|
||
{/volist}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>法定代表人证件号:</th>
|
||
<td>
|
||
<input type='text' id='legalCertificate' class='ipt'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>有效期:</th>
|
||
<td>
|
||
<input type='text' id='legalCertificateStartDate' readonly class='ipt laydate-icon' /> -
|
||
<input type='text' id='legalCertificateEndDate' readonly class='ipt laydate-icon' />
|
||
<label><input type='checkbox' name='isLonglegalCertificateDate' id='isLonglegalCertificateDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#legalCertificateEndDate")' value='1'/>长期</label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>法人证件电子版:</th>
|
||
<td>
|
||
<input type='hidden' id='legalCertificateImg' class='ipt'/>
|
||
<div id='legalCertificateImgPicker'>请上传法人证件电子版</div>
|
||
<span id='legalCertificateImgMsg'></span>
|
||
<img id='legalCertificateImgPreview' src='' style='display:none' width='150'>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>营业执照电子版:</th>
|
||
<td>
|
||
<input type='hidden' id='businessLicenceImg' class='ipt'/>
|
||
<div id='businessLicenceImgPicker'>请上传营业执照电子版</div>
|
||
<span id='businessLicenceImgMsg'></span>
|
||
<img id='businessLicenceImgPreview' src='' style='display:none' width='150'>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>银行开户许可证电子版:</th>
|
||
<td>
|
||
<input type='hidden' id='bankAccountPermitImg' class='ipt' />
|
||
<div id='bankAccountPermitImgPicker'>请上传银行开户许可证电子版</div>
|
||
<span id='bankAccountPermitImgMsg'></span>
|
||
<img id='bankAccountPermitImgPreview' src='' style='display:none' width='150'>
|
||
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</fieldset>
|
||
<fieldset class="layui-elem-field layui-field-title">
|
||
<legend>商标注册证</legend>
|
||
<table class='wst-form wst-box-top'>
|
||
<tr>
|
||
<th>组织机构代码:</th>
|
||
<td>
|
||
<input type='text' id='organizationCode' class='ipt'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>商标注册证有效期:</th>
|
||
<td>
|
||
<input type='text' id='organizationCodeStartDate' readonly class='ipt laydate-icon' /> -
|
||
<input type='text' id='organizationCodeEndDate' readonly class='ipt laydate-icon'/>
|
||
<label><input type='checkbox' name='isLongOrganizationCodeDate' id='isLongOrganizationCodeDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#organizationCodeEndDate")' value='1'/>长期</label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th valign="top">商标注册证电子版:</th>
|
||
<td>
|
||
<span style='color:gray;'>复印件需加盖公司红章扫描上传,三证合一的此处请上传营业执照电子版</span><br/>
|
||
<input type='hidden' id='organizationCodeImg' class='ipt'/>
|
||
<div id='organizationCodeImgPicker'>请上传商标注册证电子版</div>
|
||
<span id='organizationCodeImgMsg'></span>
|
||
<img id='organizationCodeImgPreview' src='' style='display:none' width='150'>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</fieldset>
|
||
<fieldset class="layui-elem-field layui-field-title">
|
||
<legend>税务信息</legend>
|
||
<table class='wst-form wst-box-top'>
|
||
<tr>
|
||
<th width='150'>纳税人类型:</th>
|
||
<td>
|
||
<select id='taxpayerType' class='ipt'>
|
||
{volist name=":WSTDatas('TAXPAYER_TYPE')" id='vo'}
|
||
<option value='{$vo["dataVal"]}'>{$vo["dataName"]}</option>
|
||
{/volist}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th valign="top">纳税人识别号:</th>
|
||
<td><input type='text' id='taxpayerNo' class='ipt'/><br/><span style='color:gray;'>三证合一的请填写统一社会信用代码</span></td>
|
||
</tr>
|
||
<tr>
|
||
<th valign="top">税务登记证电子版:</th>
|
||
<td>
|
||
<span style='color:gray;'>请同时上传国税、地税的税务登记证,两者缺一不可,复印件加盖公司红章,如贵司所在地区已推行“三证合一”;<br/>此处请上传营业执照副本电子版。【最多只能上传三张图片】</span><br/>
|
||
<input type='hidden' id='taxRegistrationCertificateImg' class='ipt' />
|
||
<div id='taxRegistrationCertificateImgPicker'>请上传商标注册证电子版</div>
|
||
<span id='taxRegistrationCertificateImgMsg'></span>
|
||
<div id='taxRegistrationCertificateImgBox'></div>
|
||
<span class='msg-box' id='msg_taxRegistrationCertificateImg'></span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th valign="top">一般纳税人资格证电子版:</th>
|
||
<td>
|
||
<span style='color:gray;'>三证合一地区请上传税务局网站上一般纳税人截图,复印件需加盖公司红章。</span><br/>
|
||
<input type='hidden' id='taxpayerQualificationImg' class='ipt'/>
|
||
<div id='taxpayerQualificationImgPicker'>请上传法人证件电子版</div>
|
||
<span id='taxpayerQualificationImgMsg'></span>
|
||
<img id='taxpayerQualificationImgPreview' src='' style='display:none' width='150'>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</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>
|
||
<input type='text' id='bankUserName' class='ipt' maxlength='50' data-rule='银行开户名:required;'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>对公结算银行账号<font color='red'>*</font>:</th>
|
||
<td>
|
||
<input type='text' id='bankNo' class='ipt' maxlength='20' data-rule='对公结算银行账号:required;'/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>开户银行名称<font color='red'>*</font>:</th>
|
||
<td>
|
||
<select id='bankId' id='bankId' class='ipt' data-rule='对公结算银行账号:required;'>
|
||
{foreach $bankList as $v}
|
||
<option value="{$v['bankId']}">{$v['bankName']}</option>
|
||
{/foreach}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>开户银行支行所在地<font color='red'>*</font>:</th>
|
||
<td>
|
||
<select id="barea_0" class='j-bareas' level="0" onchange="WST.ITAreas({id:'barea_0',val:this.value,isRequire:true,className:'j-bareas'});">
|
||
<option value="">-请选择-</option>
|
||
{foreach $areaList as $v}
|
||
<option value="{$v['areaId']}">{$v['areaName']}</option>
|
||
{/foreach}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan='2' align='center'>
|
||
<button type="button" class='btn btn-primary btn-mright b' onclick='javascript:add()'><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>
|
||
$(function(){initEdit({serviceStartTime:'{:date("H:i",strtotime($object["serviceStartTime"]))}',serviceEndTime:'{:date("H:i",strtotime($object["serviceEndTime"]))}',areaId:'{$object["areaId"]}',areaIdPath:'',bankAreaId:'',bankAreaIdPath:'',isEdit:false});})
|
||
</script>
|
||
{/block}
|
||
{block name="js"}
|
||
<script type='text/javascript' src='__STATIC__/plugins/webuploader/webuploader.js?v={$v}'></script>
|
||
<script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script>
|
||
{/block} |