<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='shopSn' name='shopSn' class='ipt' value="{$object['shopSn']}" maxLength='20' data-rule="店铺编号:{if $object['shopId']>0}required;length[1~20];{else /}ignoreBlank;{/if}remote(post:{:url('admin/shops/checkShopSn',array('shopId'=>$object['shopId']))})" data-target="#msg_shopSn"/><span class='msg-box' id='msg_shopSn'>{if $object['shopId']==0}(为空则自动生成'S000000001'类型号码){/if}</span></td> </tr> <tr> <th width='150'>店铺名称<font color='red'>*</font>:</th> <td><input type="text" id='shopName' class='ipt' value="{$object['shopName']}" 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='20' value="{$object['shopCompany']}" 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;' value="{$object['shopAddress']}"/> </td> </tr> <tr> <th>公司电话<font color='red'>*</font>:</th> <td> <input type='text' id='shopTel' class='ipt' data-rule='公司电话:required;' value="{$object['shopTel']}"/> </td> </tr> <tr> <th>公司紧急联系人<font color='red'>*</font>:</th> <td> <input type='text' id='shopkeeper' class='ipt' data-rule='公司紧急联系人:required;' value="{$object['shopkeeper']}"/> </td> </tr> <tr> <th>公司紧急联系人手机<font color='red'>*</font>:</th> <td> <input type='text' id='telephone' class='ipt' data-rule='公司紧急联系人手机:required;mobile' value="{$object['telephone']}"/> </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} {if array_key_exists($vo['catId'],$object['catshops'])}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"]}' {if array_key_exists($vo['accredId'],$object['accreds'])}checked{/if}/>{$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> {if $object["shopImg"]!=''} <img id='preview' width='150' height='150' src='__ROOT__/{$object["shopImg"]}'/> {else} <img id='preview' width='150' height='150' src="__ROOT__/{:WSTConf('CONF.shopLogo')}"/> {/if} <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' value="{$object['shopQQ']}" 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' value="{$object['shopWangWang']}" 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' {if $object['isInvoice']==1}checked{/if} onclick='javascript:WST.showHide(1,"#trInvoice")' title='是'> </label> <label> <input type='radio' class='ipt' name='isInvoice' value='0' {if $object['isInvoice']==0}checked{/if} onclick='javascript:WST.showHide(0,"#trInvoice")' title='否'> </label> </td> </tr> <tr id='trInvoice' {if $object['isInvoice']==0}style='display:none'{/if}> <th>发票说明<font color='red'>*</font>:</th> <td><input type="text" id='invoiceRemarks' class='ipt' value="{$object['invoiceRemarks']}" 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' {if $object['shopAtive']==1}checked{/if} title='营业中'> </label> <label> <input type='radio' class='ipt' name='shopAtive' value='0' {if $object['shopAtive']==0}checked{/if} title='休息中'> </label> </td> </tr> <tr> <th>默认运费:</th> <td><input type="text" id='freight' class='ipt' value="{$object['freight']}" maxLength='8' data-rule="默认运费: required;" onkeypress='return WST.isNumberdoteKey(event);' 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' value="{$object['applyLinkMan']}"/> </td> </tr> <tr> <th>联系人手机:</th> <td> <input type='text' class='ipt' id='applyLinkTel' data-rule="mobile" value="{$object['applyLinkTel']}"/> </td> </tr> <tr> <th>联系人电子邮箱:</th> <td> <input type='text' name='applyLinkEmail' class='ipt' data-rule="email" id='applyLinkEmail' value="{$object['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")' {if $object['isInvestment']==1}checked{/if} title='有'/> </label> <label> <input type='radio' name='isInvestment' class='ipt' id='isInvestment0' value='0' onclick='javascript:WST.showHide(0,"#investmentStaffTr")' {if $object['isInvestment']==0}checked{/if} title='无'/> </label> </td> </tr> <tr id='investmentStaffTr' {if $object['isInvestment']==0}style='display:none'{/if}> <th>姓名<font color='red'>*</font>:</th> <td> <input type='text' name='investmentStaff' id='investmentStaff' class='ipt' data-rule="商城招商人员姓名:required(#isInvestment1:checked)" value="{$object['investmentStaff']}"/> </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 class='layui-form'> <label> <input type='radio' class='ipt' name='shopStatus' id='shopStatus-1' value='-1' {if $object['shopStatus']==-1}checked{/if} onclick='javascript:WST.showHide(1,"#trStatusDesc")' title='停止'> </label> <label> <input type='radio' class='ipt' name='shopStatus' value='1' {if $object['shopStatus']==1}checked{/if} onclick='javascript:WST.showHide(0,"#trStatusDesc")' title='正常'> </label> </td> </tr> <tr id='trStatusDesc' {if $object['shopStatus']==1}style='display:none'{/if}> <th>停止原因<font color='red'>*</font>:</th> <td><textarea id='statusDesc' class='ipt' style='width:500px;height:100px;' maxLength='100' data-rule="停止原因:required(#shopStatus-1:checked);">{$object['statusDesc']}</textarea></td> </tr> <tr> <td colspan='2' align='center'> <button type="button" class='btn btn-primary btn-mright' onclick='javascript:save()'><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>