You've already forked qlg.tsgz.moe
							
							Init Repo
This commit is contained in:
		
							
								
								
									
										455
									
								
								hyhproject/admin/view/shops/add.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										455
									
								
								hyhproject/admin/view/shops/add.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,455 @@
 | 
			
		||||
{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}
 | 
			
		||||
							
								
								
									
										152
									
								
								hyhproject/admin/view/shops/apply_edit.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										152
									
								
								hyhproject/admin/view/shops/apply_edit.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,152 @@
 | 
			
		||||
{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}
 | 
			
		||||
							
								
								
									
										625
									
								
								hyhproject/admin/view/shops/apply_edit2.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										625
									
								
								hyhproject/admin/view/shops/apply_edit2.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,625 @@
 | 
			
		||||
{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}
 | 
			
		||||
</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'>申请会员:</th>
 | 
			
		||||
     <td height='23'>{$object['loginName']}</td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
     <th width='150'>申请时间:</th>
 | 
			
		||||
     <td height='23'>{$object['applyTime']}</td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
       <th width='150'>店铺编号:</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','shopId='.$object['shopId'])})" 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;" value="{$object['shopName']}"/></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
       <th width='150'>公司名称<font color='red'>*</font>:</th>
 | 
			
		||||
       <td><input type="text" id='shopCompany' class='ipt' maxLength='100' data-rule="公司名称: required;" value="{$object['shopCompany']}"/></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' onclick="divShow()" 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  >
 | 
			
		||||
          <input type='hidden' id='shopLicense' class='ipt' value='{$shoplicense["shopLicense"]}'/>
 | 
			
		||||
          <div id='shopLicenseImgPicker'>请上传食品许可证电子版</div>
 | 
			
		||||
          <span id='shopLicenseImgMsg'></span>
 | 
			
		||||
          <a id='shopLicenseImgPreview_a' href='__IMGURL__/{$shoplicense["shopLicense"]}' target='_blank'>
 | 
			
		||||
          <img id='shopLicenseImgPreview' src='__IMGURL__/{$shoplicense["shopLicense"]}' {if $shoplicense['shopLicense']==''} style='display:none'{/if} width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </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__/{$object['shopImg']}"/>
 | 
			
		||||
       <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' value="{$object['shopQQ']}"/></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
       <th>阿里旺旺:</th>
 | 
			
		||||
       <td><input type="text" id='shopWangWang' class='ipt' maxLength='200' value="{$object['shopWangWang']}"/></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")' {if $object['isInvoice']==1}checked{/if} title='是'>
 | 
			
		||||
          </label>
 | 
			
		||||
          <label>
 | 
			
		||||
             <input type='radio' class='ipt' name='isInvoice' value='0' onclick='javascript:WST.showHide(0,"#trInvoice")' {if $object['isInvoice']==0}checked{/if} 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' style='width:500px;' maxLength='100' data-rule="发票说明:required(#isInvoice1:checked)" value="{$object['invoiceRemarks']}"/></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' maxLength='8' data-rule="默认运费: required;" onkeypress='return WST.isNumberdoteKey(event);' onkeyup="javascript:WST.isChinese(this,1)" value="{$object['freight']}"/></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'>执照类型:</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' value="{$object['businessLicence']}"/><br/><span style='color:gray;'>请按照营业执照上登记的完整名称填写</span></td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">法定代表人姓名:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='legalPersonName' class='ipt' value="{$object['legalPersonName']}"/>
 | 
			
		||||
          <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' value="{$object['licenseAddress']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
 -->
 | 
			
		||||
 <!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>成立日期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='establishmentDate' readonly class='ipt laydate-icon' value="{$object['establishmentDate']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
<!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>营业期限:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='businessStartDate' readonly class='ipt laydate-icon' value="{$object['businessStartDate']}"/> -
 | 
			
		||||
          <input type='text' id='businessEndDate' readonly class='ipt laydate-icon' value="{$object['businessEndDate']}" {if $object['isLongbusinessDate']==1}style='display:none'{/if}/> 
 | 
			
		||||
          <label><input type='checkbox' name='isLongbusinessDate' id='isLongbusinessDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#businessEndDate")' value='1' {if $object['isLongbusinessDate']==1}checked{/if}/>长期</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)" value="{$object['registeredCapital']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
<!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>经营范围:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
             <textarea id='empiricalRange' class='ipt' style='width:550px;height:150px;'>{$object['empiricalRange']}</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' value="{$object['legalCertificate']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>有效期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='legalCertificateStartDate' readonly class='ipt laydate-icon' value="{$object['legalCertificateStartDate']}"/> - 
 | 
			
		||||
          <input type='text' id='legalCertificateEndDate' readonly class='ipt laydate-icon' value="{$object['legalCertificateEndDate']}" {if $object['isLonglegalCertificateDate']==1}style='display:none'{/if}/>   
 | 
			
		||||
          <label><input type='checkbox' name='isLonglegalCertificateDate' id='isLonglegalCertificateDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#legalCertificateEndDate")' value='1' {if $object['isLonglegalCertificateDate']==1}checked{/if}/>长期</label>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>法人证件电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='legalCertificateImg' class='ipt' value='{$object['legalCertificateImg']}'/>
 | 
			
		||||
          <div id='legalCertificateImgPicker'>请上传法人证件电子版</div>
 | 
			
		||||
          <span id='legalCertificateImgMsg'></span>
 | 
			
		||||
          <a id='legalCertificateImgPreview_a' href='__IMGURL__/{$object['legalCertificateImg']}' target='_blank'>
 | 
			
		||||
          <img id='legalCertificateImgPreview' src='__IMGURL__/{$object['legalCertificateImg']}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>营业执照电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='businessLicenceImg' class='ipt' value='{$object['businessLicenceImg']}'/>
 | 
			
		||||
          <div id='businessLicenceImgPicker'>请上传营业执照电子版</div>
 | 
			
		||||
          <span id='businessLicenceImgMsg'></span>
 | 
			
		||||
          <a id='businessLicenceImgPreview_a' href='__IMGURL__/{$object['businessLicenceImg']}' target='_blank'>
 | 
			
		||||
          <img id='businessLicenceImgPreview' src='__IMGURL__/{$object['businessLicenceImg']}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>银行开户许可证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='bankAccountPermitImg' class='ipt' value='{$object['bankAccountPermitImg']}'/>
 | 
			
		||||
          <div id='bankAccountPermitImgPicker'>请上传银行开户许可证电子版</div>
 | 
			
		||||
          <span id='bankAccountPermitImgMsg'></span>
 | 
			
		||||
          <a id='bankAccountPermitImgPreview_a' href='__IMGURL__/{$object['bankAccountPermitImg']}' target='_blank'>
 | 
			
		||||
          <img id='bankAccountPermitImgPreview' src='__IMGURL__/{$object['bankAccountPermitImg']}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th width='120' align='right'>补充材料<font color='red'>*</font>:</th>
 | 
			
		||||
        <td>
 | 
			
		||||
            <div id="batchUpload" class="ipt wst-batchupload" style="border:1px solid #ccc;width: 700px" >
 | 
			
		||||
                <div style="border-bottom:1px solid #dadada;padding-left:10px; "> 其它相关资料请上传到补充材料(格式为 gif, jpg, jpeg, png) </div>
 | 
			
		||||
                <div class="queueList filled">
 | 
			
		||||
                    <div id="dndArea" class="ipt placeholder {if !empty($object['auxiliary'])}element-invisible{/if}">
 | 
			
		||||
                        <div id="filePicker"></div>
 | 
			
		||||
                        <p>或将照片拖到这里,单次最多可选5张,每张最大不超过5M</p>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <ul class="filelist" >
 | 
			
		||||
                        {volist name="$object['auxiliary']" id="vo"}
 | 
			
		||||
                        <li  class="state-complete" style="border: 1px solid #ddd;height:213px;">
 | 
			
		||||
                            <p class="title"></p>
 | 
			
		||||
                            <p class="imgWrap">
 | 
			
		||||
                                <img src="__IMGURL__/{$vo.auxiliaryImg}">
 | 
			
		||||
                            </p>
 | 
			
		||||
                            <input type="hidden" v="{$vo.auxiliaryImg}" iv="{$vo.auxiliaryImg}" class="ipt j-gallery-img">
 | 
			
		||||
                            <span class="btn-del">删除</span>
 | 
			
		||||
                        </li>
 | 
			
		||||
                        {/volist}
 | 
			
		||||
                    </ul>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="statusBar">
 | 
			
		||||
                    <div class="progress" style="display: none;">
 | 
			
		||||
                        <span class="text">0%</span>
 | 
			
		||||
                        <span class="percentage" style="width: 0%;"></span>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <div class="info"></div>
 | 
			
		||||
                    <div class="btns">
 | 
			
		||||
                        <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div style='clear:both;'></div>
 | 
			
		||||
        </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='organizationCode' class='ipt' value="{$object['organizationCode']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>商标注册证有效期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='organizationCodeStartDate' readonly class='ipt laydate-icon' value="{$object['organizationCodeStartDate']}"/> - 
 | 
			
		||||
          <input type='text' id='organizationCodeEndDate' readonly class='ipt laydate-icon' value="{$object['organizationCodeEndDate']}" {if $object['isLongOrganizationCodeDate']==1}style='display:none'{/if}/>   
 | 
			
		||||
          <label><input type='checkbox' name='isLongOrganizationCodeDate' id='isLongOrganizationCodeDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#organizationCodeEndDate")' value='1' {if $object['isLongOrganizationCodeDate']==1}checked{/if}/>长期</label>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr> 
 | 
			
		||||
  </table>
 | 
			
		||||
</fieldset> -->
 | 
			
		||||
<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
<legend>商标注册证</legend>
 | 
			
		||||
<table class='wst-form wst-box-top'>  
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">商标注册证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <span style='color:gray;'>请上传商标注册证或品牌授权证</span><br/>
 | 
			
		||||
          <input type='hidden' id='organizationCodeImg' class='ipt' value='{$object['organizationCodeImg']}'/>
 | 
			
		||||
          <div id='organizationCodeImgPicker'>请上传商标注册证或品牌授权证</div>
 | 
			
		||||
          <span id='organizationCodeImgMsg'></span>
 | 
			
		||||
          <a id='organizationCodeImgPreview_a' href='__IMGURL__/{$object['organizationCodeImg']}' target='_blank'>
 | 
			
		||||
          <img id='organizationCodeImgPreview' src='__IMGURL__/{$object['organizationCodeImg']}' 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"]}'  {if $object['taxpayerType']==$vo["dataVal"]}selected{/if}>{$vo["dataName"]}</option>
 | 
			
		||||
             {/volist}
 | 
			
		||||
          </select>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">纳税人识别号:</th>
 | 
			
		||||
      <td><input type='text' id='taxpayerNo' class='ipt' value='{$object["taxpayerNo"]}'/><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' value='{$object["taxRegistrationCertificateImg"]}'/>
 | 
			
		||||
            <div id='taxRegistrationCertificateImgPicker'>请上传商标注册证电子版</div>
 | 
			
		||||
            <span id='taxRegistrationCertificateImgMsg'></span>
 | 
			
		||||
            <div id='taxRegistrationCertificateImgBox'></div>
 | 
			
		||||
            <span class='msg-box' id='msg_taxRegistrationCertificateImg'>
 | 
			
		||||
              {volist name="$object['taxRegistrationCertificateImgVO']" id='vo'}
 | 
			
		||||
              <div style="width:75px;float:left;margin-right:5px;">
 | 
			
		||||
                <a href='__IMGURL__/{$vo}' target='_blank'>
 | 
			
		||||
                <img class="step_pic" width="75" height="75" src="__IMGURL__/{$vo}" v="{$vo}">
 | 
			
		||||
                </a>
 | 
			
		||||
                <div style="position:relative;top:-80px;left:60px;cursor:pointer;" onclick='javascript:delVO(this)'>
 | 
			
		||||
                  <img src="__ROOT__/hyhproject/home/View/default/img/seller_icon_error.png">
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
              {/volist}
 | 
			
		||||
            </span>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">一般纳税人资格证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <span style='color:gray;'>三证合一地区请上传税务局网站上一般纳税人截图,复印件需加盖公司红章。</span><br/>
 | 
			
		||||
          <input type='hidden' id='taxpayerQualificationImg' class='ipt' value='{$object["taxpayerQualificationImg"]}'/>
 | 
			
		||||
          <div id='taxpayerQualificationImgPicker'>请上传法人证件电子版</div>
 | 
			
		||||
          <span id='taxpayerQualificationImgMsg'></span>
 | 
			
		||||
          <a id='taxpayerQualificationImgPreview_a' href='__IMGURL__/{$object["taxpayerQualificationImg"]}' target='_blank'>
 | 
			
		||||
          <img id='taxpayerQualificationImgPreview' src='__IMGURL__/{$object["taxpayerQualificationImg"]}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </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;' value='{$object["bankUserName"]}'/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>对公结算银行账号<font color='red'>*</font>:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
            <input type='text' id='bankNo' class='ipt' maxlength='20' data-rule='对公结算银行账号:required;' value='{$object["bankNo"]}'/>
 | 
			
		||||
      </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']}" {if $object['bankId']==$v['bankId']}selected{/if}>{$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>
 | 
			
		||||
-->
 | 
			
		||||
  </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='applyStatus' id='applyStatus2' value='2' {if $object['applyStatus']==2}checked{/if} onclick='javascript:WST.showHide(1,".deposit");WST.showHide(0,"#trApplyDesc")' data-rule="处理结果:checked" title='通过'>
 | 
			
		||||
          </label>
 | 
			
		||||
          <label>
 | 
			
		||||
             <input type='radio' class='ipt' name='applyStatus' id='applyStatus-1' value='-1' {if $object['applyStatus']==-1}checked{/if} onclick='javascript:WST.showHide(1,"#trApplyDesc");WST.showHide(0,".deposit")' title='不通过'>
 | 
			
		||||
          </label>
 | 
			
		||||
       </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
    <tr id='trDeposit' class="deposit" style='display:none'>
 | 
			
		||||
       <th>应缴保证金<font color='red'>*</font>:</th>
 | 
			
		||||
       <td>
 | 
			
		||||
          <input type='text' name='payDeposit' id='payDeposit' class='ipt' value="{$cashDeposit['payDeposit']}"/>
 | 
			
		||||
       </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
      <tr id='trPassDesc' class="deposit" style='display:none'>
 | 
			
		||||
       <th>实缴保证金<font color='red'>*</font>:</th>
 | 
			
		||||
       <td>
 | 
			
		||||
          <input type='text' name='cashDeposit' id='cashDeposit' class='ipt' value="{$cashDeposit['cashDeposit']}"/>
 | 
			
		||||
       </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(#applyStatus-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>
 | 
			
		||||
<script type="text/javascript">
 | 
			
		||||
    $(function(){
 | 
			
		||||
        /********** 轮播广告图片上传 **********/
 | 
			
		||||
        var uploader = batchUpload({uploadPicker:'#batchUpload',uploadServer:WST.U('home/index/uploadPic'),formData:{dir:'shops'},uploadSuccess:function(file,response){
 | 
			
		||||
            var json = WST.toAdminJson(response);
 | 
			
		||||
            if(json.status==1){
 | 
			
		||||
                $li = $('#'+file.id);
 | 
			
		||||
                $li.append('<input type="hidden"  value="'+json.savePath+json.name+'" class="a-ipt j-gallery-img" iv="'+json.savePath + json.thumb+'" v="' +json.savePath + json.name+'"/>');
 | 
			
		||||
                var delBtn = $('<span class="btn-del">删除</span>');
 | 
			
		||||
                $li.append(delBtn);
 | 
			
		||||
                $li.css('height','212px');
 | 
			
		||||
                $li.find('.success').remove();
 | 
			
		||||
                delBtn.on('click',function(){
 | 
			
		||||
 | 
			
		||||
                    delBatchUploadImg($(this),function(){
 | 
			
		||||
                        uploader.removeFile(file);
 | 
			
		||||
                        uploader.refresh();
 | 
			
		||||
                    });
 | 
			
		||||
                });
 | 
			
		||||
                $('.filelist li').css('border','1px solid #f7375c');
 | 
			
		||||
            }else{
 | 
			
		||||
                WST.msg(json.msg,{icon:2});
 | 
			
		||||
            }
 | 
			
		||||
        }});
 | 
			
		||||
// 删除广告图片
 | 
			
		||||
        $('.btn-del').click(function(){
 | 
			
		||||
            delBatchUploadImg($(this),function(){
 | 
			
		||||
                $(this).parent().remove();
 | 
			
		||||
            });
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
        function delBatchUploadImg(obj){
 | 
			
		||||
            var c = WST.confirm({content:'您确定要删除广告图片吗?',yes:function(){
 | 
			
		||||
                $(obj).parent().remove("li");
 | 
			
		||||
                layer.close(c);
 | 
			
		||||
            }});
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
function divShow(){
 | 
			
		||||
var checkboxText= new Array(); 
 | 
			
		||||
var checkboxValue= new Array();     
 | 
			
		||||
var checkboxStr=document.getElementsByName("goodsCatIds");
 | 
			
		||||
       for(var i=0; i<checkboxStr.length; i++){  
 | 
			
		||||
        if(checkboxStr[i].checked){  
 | 
			
		||||
            //alert(checkboxStr[i].value+","+checkboxStr[i].nextSibling.nodeValue);
 | 
			
		||||
            checkboxValue.push(checkboxStr[i].value);  
 | 
			
		||||
            checkboxText.push(checkboxStr[i].nextSibling.nodeValue.trim());  
 | 
			
		||||
         }  
 | 
			
		||||
        }  
 | 
			
		||||
var foot='393';
 | 
			
		||||
if(checkboxValue.indexOf(foot)!="-1"){
 | 
			
		||||
  document.getElementById("license").style.cssText = "display: table-row;vertical-align: inherit;border-color: inherit;";
 | 
			
		||||
  }else{
 | 
			
		||||
    document.getElementById("license").style.cssText = "display:none"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
<script>
 | 
			
		||||
$(function(){
 | 
			
		||||
  initEdit({serviceStartTime:'{:date("H:i",strtotime($object["serviceStartTime"]))}',serviceEndTime:'{:date("H:i",strtotime($object["serviceEndTime"]))}',areaId:'{$object["areaId"]}',areaIdPath:'{$object["areaIdPath"]}',bankAreaId:'{$object["bankAreaId"]}',bankAreaIdPath:'{$object["bankAreaIdPath"]}',businessAreaPath:'{$object["businessAreaPath"]}'});
 | 
			
		||||
  shopLicenseUpload ();
 | 
			
		||||
})
 | 
			
		||||
</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}
 | 
			
		||||
							
								
								
									
										93
									
								
								hyhproject/admin/view/shops/deposit.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										93
									
								
								hyhproject/admin/view/shops/deposit.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,93 @@
 | 
			
		||||
{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='topDeposit' autocomplete='off'>
 | 
			
		||||
<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
<table class='wst-form wst-box-top'>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>请输入店铺ID:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' name="shopId" id='shopId' class='ipt' onblur="upperName()" style='width:200px'/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>店铺名称:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' name="shopName" id='shopName' class='ipt' value="" style='width:200px' />
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
 | 
			
		||||
  <tr>
 | 
			
		||||
       <th>质保金管理<font color='red'>*</font>:</th>
 | 
			
		||||
       <td class='layui-form'>
 | 
			
		||||
          <label>
 | 
			
		||||
             <input type='radio' class='ipt' name='applyStatus' id='applyStatus' value='1' onclick='javascript:WST.showHide(1,"#trPassDesc");WST.showHide(0,"#trApplyDesc");WST.showHide(0,"#offCause")' title='充值'>
 | 
			
		||||
          </label>
 | 
			
		||||
          <label>
 | 
			
		||||
             <input type='radio' class='ipt' name='applyStatus' id='applyStatus' value='2' onclick='javascript:WST.showHide(1,"#trApplyDesc");WST.showHide(1,"#offCause");WST.showHide(0,"#trPassDesc")' title='扣除'>
 | 
			
		||||
          </label>
 | 
			
		||||
       </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
 | 
			
		||||
  <tr id='trPassDesc' style='display:none'>
 | 
			
		||||
    <th>充值保证金金额<font color='red'>*</font>:</th>
 | 
			
		||||
    <td>
 | 
			
		||||
      <input type='text' name='addDeposit' id='addDeposit' class='ipt' value=""/>
 | 
			
		||||
    </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr id='trApplyDesc' style='display:none'>
 | 
			
		||||
    <th>扣除质保金金额<font color='red'>*</font>:</th>
 | 
			
		||||
    <td>
 | 
			
		||||
      <input type='text' name='offDeposit' id='offDeposit' class='ipt' value=""/>
 | 
			
		||||
    </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr id='offCause' style='display:none'>
 | 
			
		||||
    <th>扣除质保金原因<font color='red'>*</font>:</th>
 | 
			
		||||
    <td>
 | 
			
		||||
      <textarea name="offCause" id='offCause' class='ipt' style='width:300px;height:100px;' maxLength='100' placeholder="格式如:您的店铺商品因出质量问题,现被扣除质保金,详情联系公司运营人员。电话:"></textarea>
 | 
			
		||||
 | 
			
		||||
      <!-- <input type='text' name='offCause' id='offCause' class='ipt' placeholder="如:您的店铺因未及时续约,现已被下架,详情联系公司运营人员。电话:010-60609086"/> -->
 | 
			
		||||
 | 
			
		||||
    </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
 | 
			
		||||
  <tr>
 | 
			
		||||
    <td colspan='2' align='center'>
 | 
			
		||||
        <input type="submit" value="提交" class='btn btn-blue' />
 | 
			
		||||
        <input type="button" onclick="javascript:history.go(-1)" class='btn' value="返回" />
 | 
			
		||||
    </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
</table>
 | 
			
		||||
</fieldset>
 | 
			
		||||
</form>
 | 
			
		||||
<script>
 | 
			
		||||
 | 
			
		||||
function upperName(){
 | 
			
		||||
  var shopId = document.getElementById('shopId').value;
 | 
			
		||||
  $.post(WST.U('admin/shops/upShopName'),{shopId:shopId},function(data){
 | 
			
		||||
    // alert(JSON.stringify(data));
 | 
			
		||||
    // $('#shopName').html(data['shopName']);
 | 
			
		||||
    $('#shopName').val(data['shopName']);
 | 
			
		||||
  }
 | 
			
		||||
  , "json")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
$(function() {
 | 
			
		||||
    editInit()
 | 
			
		||||
  });
 | 
			
		||||
    
 | 
			
		||||
</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}
 | 
			
		||||
							
								
								
									
										73
									
								
								hyhproject/admin/view/shops/detail.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										73
									
								
								hyhproject/admin/view/shops/detail.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,73 @@
 | 
			
		||||
{extend name="base" /}
 | 
			
		||||
{block name="css"}
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="__ADMIN__/js/mmgrid/mmGrid.css?v={$v}" />
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="js"}
 | 
			
		||||
<script src="__ADMIN__/js/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
<script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="main"}
 | 
			
		||||
<div class="wst-toolbar">
 | 
			
		||||
<input type="text" id="startDate" name="startDate" class="laydate-icon j-ipt" maxLength="20" value='' placeholder='开始日期'/>
 | 
			
		||||
至
 | 
			
		||||
<input type="text" id="endDate" name="endDate" class="laydate-icon j-ipt" maxLength="20" value='' placeholder='结束日期'/>
 | 
			
		||||
<select name="nonTime" id="nonTime" class="query j-ipt" >
 | 
			
		||||
	<option value="">请选择未登录天数</option>
 | 
			
		||||
	<option value="20">20天未登录</option>
 | 
			
		||||
	<option value="30">30天未登录</option>
 | 
			
		||||
	<option value="40">40天未登录</option>
 | 
			
		||||
	<option value="50">50天未登录</option>
 | 
			
		||||
</select>
 | 
			
		||||
   <button class="btn btn-primary" onclick='javascript:loadGrid(0)'><i class='fa fa-search'></i>查询</button>
 | 
			
		||||
   <button class="btn btn-primary btn-fixtop f-right" style="margin-left: 10px;" onclick='javascript:toExports()'><i class="fa fa-sign-in"></i>导出</button>
 | 
			
		||||
   <div style='clear:both'></div>
 | 
			
		||||
</div>
 | 
			
		||||
<div class='wst-grid'>
 | 
			
		||||
 <div id="mmg" class="mmg"></div>
 | 
			
		||||
 <div id="pg" style="text-align: right;"></div>
 | 
			
		||||
</div>
 | 
			
		||||
<script>
 | 
			
		||||
	$(function(){
 | 
			
		||||
    var laydate = layui.laydate;
 | 
			
		||||
    laydate.render({
 | 
			
		||||
        elem: '#startDate'
 | 
			
		||||
    });
 | 
			
		||||
    laydate.render({
 | 
			
		||||
        elem: '#endDate'
 | 
			
		||||
    });
 | 
			
		||||
})
 | 
			
		||||
function initDetailGrid(){
 | 
			
		||||
    var h = WST.pageHeight();
 | 
			
		||||
    var cols = [
 | 
			
		||||
            {title:'店铺名称', name:'shopName',width:100 },
 | 
			
		||||
            {title:'公司名称', name:'shopCompany',width:100 },
 | 
			
		||||
            {title:'注册时间', name:'applyTime',width:100 },
 | 
			
		||||
            {title:'联系人姓名', name:'shopkeeper',width:60 },
 | 
			
		||||
            {title:'联系人电话', name:'telephone',width:60 },
 | 
			
		||||
            {title:'未登录天数', name:'nonTime',width:30,align:'center' },
 | 
			
		||||
            {title:'登录频次', name:'loginNum',width:30,align:'center' },
 | 
			
		||||
            {title:'商品数量', name:'goodsNum',width:30,align:'center' },
 | 
			
		||||
            {title:'未付款订单', name:'nonpayOrder',width:10,align:'center' },
 | 
			
		||||
            {title:'交易成功', name:'successOrder',width:10,align:'center' },
 | 
			
		||||
            {title:'已取消订单', name:'cancelOrder',width:10,align:'center' },
 | 
			
		||||
            {title:'已发货订单', name:'deliveredOrder',width:30,align:'center' },
 | 
			
		||||
            ];
 | 
			
		||||
 
 | 
			
		||||
    mmg = $('.mmg').mmGrid({height: (h-85),indexCol: true, cols: cols,method:'POST',nowrap:true,
 | 
			
		||||
        url: WST.U('admin/shops/detailByPage'), fullWidthRows: true, autoLoad: true,
 | 
			
		||||
        plugins: [
 | 
			
		||||
            $('#pg').mmPaginator({})
 | 
			
		||||
        ]
 | 
			
		||||
    }); 
 | 
			
		||||
}
 | 
			
		||||
function toExports(){
 | 
			
		||||
	var params = {};
 | 
			
		||||
	params = WST.getParams('.j-ipt');
 | 
			
		||||
	var box = WST.confirm({content:"您确定要导出订单吗?",yes:function(){
 | 
			
		||||
		layer.close(box);
 | 
			
		||||
		location.href=WST.U('admin/shops/toExports',params);
 | 
			
		||||
    }});
 | 
			
		||||
}
 | 
			
		||||
$(function(){initDetailGrid();})
 | 
			
		||||
</script>
 | 
			
		||||
{/block}
 | 
			
		||||
							
								
								
									
										42
									
								
								hyhproject/admin/view/shops/edit.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										42
									
								
								hyhproject/admin/view/shops/edit.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
{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}
 | 
			
		||||
</style>
 | 
			
		||||
<div class="l-loading" style="display: block" id="wst-loading"></div>
 | 
			
		||||
<form id='editFrom' autocomplete='off'>
 | 
			
		||||
<input type='hidden' id='shopId' class='ipt' value="{$object['shopId']}"/>
 | 
			
		||||
<div class="layui-tab layui-tab-brief" lay-filter="msgTab">
 | 
			
		||||
	<ul class="layui-tab-title">
 | 
			
		||||
	  <li class="layui-this">店铺信息</li>
 | 
			
		||||
	  <li>公司信息</li>
 | 
			
		||||
	  <li>税务及银行信息</li>
 | 
			
		||||
	</ul>
 | 
			
		||||
	<div class="layui-tab-content" style="padding: 10px 0;">
 | 
			
		||||
	 	<div class="layui-tab-item layui-show">
 | 
			
		||||
        {include file='shops/edit0'/}
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="layui-tab-item">
 | 
			
		||||
	     {include file='shops/edit1'/}
 | 
			
		||||
	   </div>
 | 
			
		||||
	   <div class="layui-tab-item">
 | 
			
		||||
	     {include file='shops/edit2'/}
 | 
			
		||||
	   </div>
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
</form>
 | 
			
		||||
<script>
 | 
			
		||||
 | 
			
		||||
$(function(){initEdit({serviceStartTime:'{:date("H:i",strtotime($object["serviceStartTime"]))}',serviceEndTime:'{:date("H:i",strtotime($object["serviceEndTime"]))}',areaId:'{$object["areaId"]}',areaIdPath:'{$object["areaIdPath"]}',bankAreaId:'{$object["bankAreaId"]}',bankAreaIdPath:'{$object["bankAreaIdPath"]}',businessAreaPath:'{$object["businessAreaPath"]}',isEdit:true});})
 | 
			
		||||
</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}
 | 
			
		||||
							
								
								
									
										212
									
								
								hyhproject/admin/view/shops/edit0.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										212
									
								
								hyhproject/admin/view/shops/edit0.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,212 @@
 | 
			
		||||
<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='__IMGURL__/{$object["shopImg"]}'/>
 | 
			
		||||
       {else}
 | 
			
		||||
       <img id='preview' width='150' height='150' src="__IMGURL__/{: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>旺旺类型<font color='red'>*</font>:</th>
 | 
			
		||||
           <td>
 | 
			
		||||
            <label>
 | 
			
		||||
                <input type='radio' value='0' class="ipt" name='shopWangWangType'{if $object['shopWangWangType']==0}checked{/if}/>淘宝旺旺
 | 
			
		||||
              </label>
 | 
			
		||||
              <label>
 | 
			
		||||
                <input type='radio' value='1' class="ipt" name='shopWangWangType'{if $object['shopWangWangType']==1}checked{/if}/>阿里旺旺
 | 
			
		||||
              </label>
 | 
			
		||||
              
 | 
			
		||||
           </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>
 | 
			
		||||
							
								
								
									
										257
									
								
								hyhproject/admin/view/shops/edit1.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										257
									
								
								hyhproject/admin/view/shops/edit1.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,257 @@
 | 
			
		||||
<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"]}' {if $object['businessLicenceType']==$vo["dataVal"]}selected{/if}>{$vo["dataName"]}</option>
 | 
			
		||||
             {/volist}
 | 
			
		||||
          </select>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">营业执照注册号:</th>
 | 
			
		||||
      <td><input type='text' id='businessLicence' class='ipt' value="{$object['businessLicence']}"/><br/><span style='color:gray;'>请按照营业执照上登记的完整名称填写</span></td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">法定代表人姓名:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='legalPersonName' class='ipt' value="{$object['legalPersonName']}"/>
 | 
			
		||||
          <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' value="{$object['licenseAddress']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>成立日期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='establishmentDate' readonly class='ipt laydate-icon' value="{$object['establishmentDate']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>营业期限:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='businessStartDate' readonly class='ipt laydate-icon' value="{$object['businessStartDate']}"/> - 
 | 
			
		||||
          <input type='text' id='businessEndDate' {if $object['isLongbusinessDate']==1}style='display:none'{/if} readonly class='ipt laydate-icon' value="{$object['businessEndDate']}"/>   
 | 
			
		||||
          <label><input type='checkbox' name='isLongbusinessDate' id='isLongbusinessDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#businessEndDate")' value='1' {if $object['isLongbusinessDate']==1}checked{/if}/>长期</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)" value="{$object['registeredCapital']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>经营范围:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
             <textarea id='empiricalRange' class='ipt' style='width:550px;height:150px;'>{$object['empiricalRange']}</textarea>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>法人代表证件类型:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <select id='legalCertificateType' class='ipt'>
 | 
			
		||||
             {volist name=":WSTDatas('LEGAL_LICENSE')" id='vo'}
 | 
			
		||||
             <option value='{$vo["dataVal"]}' {if $object['legalCertificateType']==$vo['dataVal']}{/if}>{$vo["dataName"]}</option>
 | 
			
		||||
             {/volist}
 | 
			
		||||
          </select>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>法定代表人证件号:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='legalCertificate' class='ipt' value="{$object['legalCertificate']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>有效期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='legalCertificateStartDate' readonly class='ipt laydate-icon' value="{$object['legalCertificateStartDate']}"/> - 
 | 
			
		||||
          <input type='text' id='legalCertificateEndDate' readonly value="{$object['legalCertificateEndDate']}" {if $object['isLonglegalCertificateDate']==1}style='display:none'{/if} class='ipt laydate-icon' />   
 | 
			
		||||
          <label><input type='checkbox' name='isLonglegalCertificateDate' id='isLonglegalCertificateDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#legalCertificateEndDate")' value='1' {if $object['isLonglegalCertificateDate']==1}checked{/if}/>长期</label>
 | 
			
		||||
          
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>法人证件电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='legalCertificateImg' class='ipt' value='{$object['legalCertificateImg']}'/>
 | 
			
		||||
          <div id='legalCertificateImgPicker'>请上传法人证件电子版</div>
 | 
			
		||||
          <span id='legalCertificateImgMsg'></span>
 | 
			
		||||
          <a id='legalCertificateImgPreview_a' href='__IMGURL__/{$object['legalCertificateImg']}' target='_blank'>
 | 
			
		||||
          <img id='legalCertificateImgPreview' src='__IMGURL__/{$object["legalCertificateImg"]}' {if $object["legalCertificateImg"] ==''}style='display:none'{/if} width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>营业执照电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='businessLicenceImg' class='ipt' value='{$object['businessLicenceImg']}'/>
 | 
			
		||||
          <div id='businessLicenceImgPicker'>请上传营业执照电子版</div>
 | 
			
		||||
          <span id='businessLicenceImgMsg'></span>
 | 
			
		||||
          <a id='businessLicenceImgPreview_a' href='__IMGURL__/{$object['businessLicenceImg']}' target='_blank'>
 | 
			
		||||
          <img id='businessLicenceImgPreview' src='__IMGURL__/{$object['businessLicenceImg']}' {if $object['businessLicenceImg'] ==''}style='display:none'{/if} width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>银行开户许可证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='bankAccountPermitImg' class='ipt' value='{$object['bankAccountPermitImg']}'/>
 | 
			
		||||
          <div id='bankAccountPermitImgPicker'>请上传银行开户许可证电子版</div>
 | 
			
		||||
          <span id='bankAccountPermitImgMsg'></span>
 | 
			
		||||
          <a id='bankAccountPermitImgPreview_a' href='__IMGURL__/{$object['bankAccountPermitImg']}' target='_blank'>
 | 
			
		||||
          <img id='bankAccountPermitImgPreview' src='__IMGURL__/{$object['bankAccountPermitImg']}' {if $object['bankAccountPermitImg'] ==''}style='display:none'{/if} width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th width='120' align='right'>补充材料:</th>
 | 
			
		||||
        <td>
 | 
			
		||||
            <div id="batchUpload" class="ipt wst-batchupload" style="border:1px solid #ccc;width: 700px" >
 | 
			
		||||
                <div style="border-bottom:1px solid #dadada;padding-left:10px; "> 其它相关资料请上传到补充材料(格式为 gif, jpg, jpeg, png) </div>
 | 
			
		||||
                <div class="queueList filled">
 | 
			
		||||
                    <div id="dndArea" class="ipt placeholder {if !empty($object['auxiliary'])}element-invisible{/if}">
 | 
			
		||||
                        <div id="filePicker"></div>
 | 
			
		||||
                        <p>或将照片拖到这里,单次最多可选5张,每张最大不超过5M</p>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <ul class="filelist" >
 | 
			
		||||
                        {volist name="$object['auxiliary']" id="vo"}
 | 
			
		||||
                        <li  class="state-complete" style="border: 1px solid #ddd;height:213px;">
 | 
			
		||||
                            <p class="title"></p>
 | 
			
		||||
                            <p class="imgWrap">
 | 
			
		||||
                                <img src="__IMGURL__/{$vo.auxiliaryImg}">
 | 
			
		||||
                            </p>
 | 
			
		||||
                            <input type="hidden" v="{$vo.auxiliaryImg}" iv="{$vo.auxiliaryImg}" class="ipt j-gallery-img">
 | 
			
		||||
                            <span class="btn-del">删除</span>
 | 
			
		||||
                        </li>
 | 
			
		||||
                        {/volist}
 | 
			
		||||
                    </ul>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="statusBar">
 | 
			
		||||
                    <div class="progress" style="display: none;">
 | 
			
		||||
                        <span class="text">0%</span>
 | 
			
		||||
                        <span class="percentage" style="width: 0%;"></span>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <div class="info"></div>
 | 
			
		||||
                    <div class="btns">
 | 
			
		||||
                        <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div style='clear:both;'></div>
 | 
			
		||||
        </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='organizationCode' class='ipt' value="{$object['organizationCode']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>商标注册证有效期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='organizationCodeStartDate' readonly class='ipt laydate-icon' value="{$object['organizationCodeStartDate']}"/> - 
 | 
			
		||||
          <input type='text' id='organizationCodeEndDate' readonly value="{$object['organizationCodeEndDate']}" {if $object['isLongOrganizationCodeDate']==1}style='display:none'{/if} class='ipt laydate-icon'/>   
 | 
			
		||||
          <label><input type='checkbox' name='isLongOrganizationCodeDate' id='isLongOrganizationCodeDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#organizationCodeEndDate")' value='1' {if $object['isLongOrganizationCodeDate']==1}checked{/if}/>长期</label>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
</table>
 | 
			
		||||
</fieldset>
 | 
			
		||||
-->
 | 
			
		||||
<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
<legend>商标注册证</legend>
 | 
			
		||||
<table class='wst-form wst-box-top'>
 | 
			
		||||
  
 | 
			
		||||
  <tr>
 | 
			
		||||
     
 | 
			
		||||
      <td>
 | 
			
		||||
          
 | 
			
		||||
          <input type='hidden' id='organizationCodeImg' class='ipt' value='{$object['organizationCodeImg']}'/>
 | 
			
		||||
          <div id='organizationCodeImgPicker'>请上传商标注册证</div>
 | 
			
		||||
          <span id='organizationCodeImgMsg'></span>
 | 
			
		||||
          <a id='organizationCodeImgPreview_a' href='__IMGURL__/{$object['organizationCodeImg']}' target='_blank'>
 | 
			
		||||
          <img id='organizationCodeImgPreview' src='__IMGURL__/{$object['organizationCodeImg']}' {if $object['organizationCodeImg'] ==''}style='display:none'{/if} width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </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>
 | 
			
		||||
<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>
 | 
			
		||||
<script>
 | 
			
		||||
    $(function(){
 | 
			
		||||
        /********** 轮播广告图片上传 **********/
 | 
			
		||||
        var uploader = batchUpload({uploadPicker:'#batchUpload',uploadServer:WST.U('home/index/uploadPic'),formData:{dir:'shops'},uploadSuccess:function(file,response){
 | 
			
		||||
            var json = WST.toAdminJson(response);
 | 
			
		||||
            if(json.status==1){
 | 
			
		||||
                $li = $('#'+file.id);
 | 
			
		||||
                $li.append('<input type="hidden"  value="'+json.savePath+json.name+'" class="a-ipt j-gallery-img" iv="'+json.savePath + json.thumb+'" v="' +json.savePath + json.name+'"/>');
 | 
			
		||||
                var delBtn = $('<span class="btn-del">删除</span>');
 | 
			
		||||
                $li.append(delBtn);
 | 
			
		||||
                $li.css('height','212px');
 | 
			
		||||
                $li.find('.success').remove();
 | 
			
		||||
                delBtn.on('click',function(){
 | 
			
		||||
                    delBatchUploadImg($(this),function(){
 | 
			
		||||
                        uploader.removeFile(file);
 | 
			
		||||
                        uploader.refresh();
 | 
			
		||||
                    });
 | 
			
		||||
                });
 | 
			
		||||
                $('.filelist li').css('border','1px solid #f7375c');
 | 
			
		||||
            }else{
 | 
			
		||||
                WST.msg(json.msg,{icon:2});
 | 
			
		||||
            }
 | 
			
		||||
        }});
 | 
			
		||||
// 删除广告图片
 | 
			
		||||
        $('.btn-del').click(function(){
 | 
			
		||||
            delBatchUploadImg($(this),function(){
 | 
			
		||||
                $(this).parent().remove();
 | 
			
		||||
            });
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
        function delBatchUploadImg(obj){
 | 
			
		||||
            var c = WST.confirm({content:'您确定要删除广告图片吗?',yes:function(){
 | 
			
		||||
                $(obj).parent().remove("li");
 | 
			
		||||
                layer.close(c);
 | 
			
		||||
            }});
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										101
									
								
								hyhproject/admin/view/shops/edit2.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										101
									
								
								hyhproject/admin/view/shops/edit2.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,101 @@
 | 
			
		||||
<!--
 | 
			
		||||
<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"]}' {if $object['taxpayerType']==$vo["dataVal"]}selected{/if}>{$vo["dataName"]}</option>
 | 
			
		||||
             {/volist}
 | 
			
		||||
          </select>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">纳税人识别号:</th>
 | 
			
		||||
      <td><input type='text' id='taxpayerNo' class='ipt' value='{$object["taxpayerNo"]}'/><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' value='{$object["taxRegistrationCertificateImg"]}'/>
 | 
			
		||||
            <div id='taxRegistrationCertificateImgPicker'>请上传商标注册证电子版</div>
 | 
			
		||||
            <span id='taxRegistrationCertificateImgMsg'></span>
 | 
			
		||||
            <div id='taxRegistrationCertificateImgBox'></div>
 | 
			
		||||
            <span class='msg-box' id='msg_taxRegistrationCertificateImg'>
 | 
			
		||||
              {volist name="$object['taxRegistrationCertificateImgVO']" id='vo'}
 | 
			
		||||
              <div style="width:75px;float:left;margin-right:5px;">
 | 
			
		||||
                <a href='__IMGURL__/{$vo}' target='_blank'>
 | 
			
		||||
                <img class="step_pic" width="75" height="75" src="__IMGURL__/{$vo}" v="{$vo}">
 | 
			
		||||
                </a>
 | 
			
		||||
                <div style="position:relative;top:-80px;left:60px;cursor:pointer;" onclick='javascript:delVO(this)'>
 | 
			
		||||
                  <img src="__ROOT__/hyhproject/home/View/default/img/seller_icon_error.png">
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
              {/volist}
 | 
			
		||||
            </span>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">一般纳税人资格证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <span style='color:gray;'>三证合一地区请上传税务局网站上一般纳税人截图,复印件需加盖公司红章。</span><br/>
 | 
			
		||||
          <input type='hidden' id='taxpayerQualificationImg' class='ipt' value='{$object["taxpayerQualificationImg"]}'/>
 | 
			
		||||
          <div id='taxpayerQualificationImgPicker'>请上传法人证件电子版</div>
 | 
			
		||||
          <span id='taxpayerQualificationImgMsg'></span>
 | 
			
		||||
          <a id='taxpayerQualificationImgPreview_a' href='__IMGURL__/{$object["taxpayerQualificationImg"]}' target='_blank'>
 | 
			
		||||
          <img id='taxpayerQualificationImgPreview' src='__IMGURL__/{$object["taxpayerQualificationImg"]}' {if $object["taxpayerQualificationImg"]==''}style='display:none'{/if} width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </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' maxlength='50' class='ipt' data-rule='银行开户名:required;' value='{$object["bankUserName"]}'/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>对公结算银行账号<font color='red'>*</font>:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
            <input type='text' id='bankNo' class='ipt' maxlength='20'  data-rule='对公结算银行账号:required;' value='{$object["bankNo"]}'/>
 | 
			
		||||
      </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']}" {if $object['bankId']==$v['bankId']}selected{/if}>{$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' 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>
 | 
			
		||||
							
								
								
									
										625
									
								
								hyhproject/admin/view/shops/edit_apply.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										625
									
								
								hyhproject/admin/view/shops/edit_apply.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,625 @@
 | 
			
		||||
{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}
 | 
			
		||||
</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'>申请会员:</th>
 | 
			
		||||
     <td height='23'>{$object['loginName']}</td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
     <th width='150'>申请时间:</th>
 | 
			
		||||
     <td height='23'>{$object['applyTime']}</td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
       <th width='150'>店铺编号:</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','shopId='.$object['shopId'])})" 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;" value="{$object['shopName']}"/></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
       <th width='150'>公司名称<font color='red'>*</font>:</th>
 | 
			
		||||
       <td><input type="text" id='shopCompany' class='ipt' maxLength='100' data-rule="公司名称: required;" value="{$object['shopCompany']}"/></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' onclick="divShow()" 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  >
 | 
			
		||||
          <input type='hidden' id='shopLicense' class='ipt' value='{$shoplicense["shopLicense"]}'/>
 | 
			
		||||
          <div id='shopLicenseImgPicker'>请上传食品许可证电子版</div>
 | 
			
		||||
          <span id='shopLicenseImgMsg'></span>
 | 
			
		||||
          <a id='shopLicenseImgPreview_a' href='__IMGURL__/{$shoplicense["shopLicense"]}' target='_blank'>
 | 
			
		||||
          <img id='shopLicenseImgPreview' src='__IMGURL__/{$shoplicense["shopLicense"]}' {if $shoplicense['shopLicense']==''} style='display:none'{/if} width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </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__/{$object['shopImg']}"/>
 | 
			
		||||
       <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' value="{$object['shopQQ']}"/></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
       <th>阿里旺旺:</th>
 | 
			
		||||
       <td><input type="text" id='shopWangWang' class='ipt' maxLength='200' value="{$object['shopWangWang']}"/></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")' {if $object['isInvoice']==1}checked{/if} title='是'>
 | 
			
		||||
          </label>
 | 
			
		||||
          <label>
 | 
			
		||||
             <input type='radio' class='ipt' name='isInvoice' value='0' onclick='javascript:WST.showHide(0,"#trInvoice")' {if $object['isInvoice']==0}checked{/if} 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' style='width:500px;' maxLength='100' data-rule="发票说明:required(#isInvoice1:checked)" value="{$object['invoiceRemarks']}"/></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' maxLength='8' data-rule="默认运费: required;" onkeypress='return WST.isNumberdoteKey(event);' onkeyup="javascript:WST.isChinese(this,1)" value="{$object['freight']}"/></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'>执照类型:</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' value="{$object['businessLicence']}"/><br/><span style='color:gray;'>请按照营业执照上登记的完整名称填写</span></td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">法定代表人姓名:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='legalPersonName' class='ipt' value="{$object['legalPersonName']}"/>
 | 
			
		||||
          <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' value="{$object['licenseAddress']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
 -->
 | 
			
		||||
 <!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>成立日期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='establishmentDate' readonly class='ipt laydate-icon' value="{$object['establishmentDate']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
<!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>营业期限:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='businessStartDate' readonly class='ipt laydate-icon' value="{$object['businessStartDate']}"/> -
 | 
			
		||||
          <input type='text' id='businessEndDate' readonly class='ipt laydate-icon' value="{$object['businessEndDate']}" {if $object['isLongbusinessDate']==1}style='display:none'{/if}/> 
 | 
			
		||||
          <label><input type='checkbox' name='isLongbusinessDate' id='isLongbusinessDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#businessEndDate")' value='1' {if $object['isLongbusinessDate']==1}checked{/if}/>长期</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)" value="{$object['registeredCapital']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
<!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>经营范围:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
             <textarea id='empiricalRange' class='ipt' style='width:550px;height:150px;'>{$object['empiricalRange']}</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' value="{$object['legalCertificate']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <!--
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>有效期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='legalCertificateStartDate' readonly class='ipt laydate-icon' value="{$object['legalCertificateStartDate']}"/> - 
 | 
			
		||||
          <input type='text' id='legalCertificateEndDate' readonly class='ipt laydate-icon' value="{$object['legalCertificateEndDate']}" {if $object['isLonglegalCertificateDate']==1}style='display:none'{/if}/>   
 | 
			
		||||
          <label><input type='checkbox' name='isLonglegalCertificateDate' id='isLonglegalCertificateDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#legalCertificateEndDate")' value='1' {if $object['isLonglegalCertificateDate']==1}checked{/if}/>长期</label>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
-->
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>法人证件电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='legalCertificateImg' class='ipt' value='{$object['legalCertificateImg']}'/>
 | 
			
		||||
          <div id='legalCertificateImgPicker'>请上传法人证件电子版</div>
 | 
			
		||||
          <span id='legalCertificateImgMsg'></span>
 | 
			
		||||
          <a id='legalCertificateImgPreview_a' href='__IMGURL__/{$object['legalCertificateImg']}' target='_blank'>
 | 
			
		||||
          <img id='legalCertificateImgPreview' src='__IMGURL__/{$object['legalCertificateImg']}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>营业执照电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='businessLicenceImg' class='ipt' value='{$object['businessLicenceImg']}'/>
 | 
			
		||||
          <div id='businessLicenceImgPicker'>请上传营业执照电子版</div>
 | 
			
		||||
          <span id='businessLicenceImgMsg'></span>
 | 
			
		||||
          <a id='businessLicenceImgPreview_a' href='__IMGURL__/{$object['businessLicenceImg']}' target='_blank'>
 | 
			
		||||
          <img id='businessLicenceImgPreview' src='__IMGURL__/{$object['businessLicenceImg']}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>银行开户许可证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='hidden' id='bankAccountPermitImg' class='ipt' value='{$object['bankAccountPermitImg']}'/>
 | 
			
		||||
          <div id='bankAccountPermitImgPicker'>请上传银行开户许可证电子版</div>
 | 
			
		||||
          <span id='bankAccountPermitImgMsg'></span>
 | 
			
		||||
          <a id='bankAccountPermitImgPreview_a' href='__IMGURL__/{$object['bankAccountPermitImg']}' target='_blank'>
 | 
			
		||||
          <img id='bankAccountPermitImgPreview' src='__IMGURL__/{$object['bankAccountPermitImg']}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th width='120' align='right'>补充材料<font color='red'>*</font>:</th>
 | 
			
		||||
        <td>
 | 
			
		||||
            <div id="batchUpload" class="ipt wst-batchupload" style="border:1px solid #ccc;width: 700px" >
 | 
			
		||||
                <div style="border-bottom:1px solid #dadada;padding-left:10px; "> 其它相关资料请上传到补充材料(格式为 gif, jpg, jpeg, png) </div>
 | 
			
		||||
                <div class="queueList filled">
 | 
			
		||||
                    <div id="dndArea" class="ipt placeholder {if !empty($object['auxiliary'])}element-invisible{/if}">
 | 
			
		||||
                        <div id="filePicker"></div>
 | 
			
		||||
                        <p>或将照片拖到这里,单次最多可选5张,每张最大不超过5M</p>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <ul class="filelist" >
 | 
			
		||||
                        {volist name="$object['auxiliary']" id="vo"}
 | 
			
		||||
                        <li  class="state-complete" style="border: 1px solid #ddd;height:213px;">
 | 
			
		||||
                            <p class="title"></p>
 | 
			
		||||
                            <p class="imgWrap">
 | 
			
		||||
                                <img src="__IMGURL__/{$vo.auxiliaryImg}">
 | 
			
		||||
                            </p>
 | 
			
		||||
                            <input type="hidden" v="{$vo.auxiliaryImg}" iv="{$vo.auxiliaryImg}" class="ipt j-gallery-img">
 | 
			
		||||
                            <span class="btn-del">删除</span>
 | 
			
		||||
                        </li>
 | 
			
		||||
                        {/volist}
 | 
			
		||||
                    </ul>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="statusBar">
 | 
			
		||||
                    <div class="progress" style="display: none;">
 | 
			
		||||
                        <span class="text">0%</span>
 | 
			
		||||
                        <span class="percentage" style="width: 0%;"></span>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <div class="info"></div>
 | 
			
		||||
                    <div class="btns">
 | 
			
		||||
                        <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div style='clear:both;'></div>
 | 
			
		||||
        </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='organizationCode' class='ipt' value="{$object['organizationCode']}"/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>商标注册证有效期:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <input type='text' id='organizationCodeStartDate' readonly class='ipt laydate-icon' value="{$object['organizationCodeStartDate']}"/> - 
 | 
			
		||||
          <input type='text' id='organizationCodeEndDate' readonly class='ipt laydate-icon' value="{$object['organizationCodeEndDate']}" {if $object['isLongOrganizationCodeDate']==1}style='display:none'{/if}/>   
 | 
			
		||||
          <label><input type='checkbox' name='isLongOrganizationCodeDate' id='isLongOrganizationCodeDate' class='ipt' onclick='WST.showHide(this.checked?0:1,"#organizationCodeEndDate")' value='1' {if $object['isLongOrganizationCodeDate']==1}checked{/if}/>长期</label>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr> 
 | 
			
		||||
  </table>
 | 
			
		||||
</fieldset> -->
 | 
			
		||||
<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
<legend>商标注册证</legend>
 | 
			
		||||
<table class='wst-form wst-box-top'>  
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">商标注册证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <span style='color:gray;'>请上传商标注册证或品牌授权证</span><br/>
 | 
			
		||||
          <input type='hidden' id='organizationCodeImg' class='ipt' value='{$object['organizationCodeImg']}'/>
 | 
			
		||||
          <div id='organizationCodeImgPicker'>请上传商标注册证或品牌授权证</div>
 | 
			
		||||
          <span id='organizationCodeImgMsg'></span>
 | 
			
		||||
          <a id='organizationCodeImgPreview_a' href='__IMGURL__/{$object['organizationCodeImg']}' target='_blank'>
 | 
			
		||||
          <img id='organizationCodeImgPreview' src='__IMGURL__/{$object['organizationCodeImg']}' 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"]}'  {if $object['taxpayerType']==$vo["dataVal"]}selected{/if}>{$vo["dataName"]}</option>
 | 
			
		||||
             {/volist}
 | 
			
		||||
          </select>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">纳税人识别号:</th>
 | 
			
		||||
      <td><input type='text' id='taxpayerNo' class='ipt' value='{$object["taxpayerNo"]}'/><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' value='{$object["taxRegistrationCertificateImg"]}'/>
 | 
			
		||||
            <div id='taxRegistrationCertificateImgPicker'>请上传商标注册证电子版</div>
 | 
			
		||||
            <span id='taxRegistrationCertificateImgMsg'></span>
 | 
			
		||||
            <div id='taxRegistrationCertificateImgBox'></div>
 | 
			
		||||
            <span class='msg-box' id='msg_taxRegistrationCertificateImg'>
 | 
			
		||||
              {volist name="$object['taxRegistrationCertificateImgVO']" id='vo'}
 | 
			
		||||
              <div style="width:75px;float:left;margin-right:5px;">
 | 
			
		||||
                <a href='__IMGURL__/{$vo}' target='_blank'>
 | 
			
		||||
                <img class="step_pic" width="75" height="75" src="__IMGURL__/{$vo}" v="{$vo}">
 | 
			
		||||
                </a>
 | 
			
		||||
                <div style="position:relative;top:-80px;left:60px;cursor:pointer;" onclick='javascript:delVO(this)'>
 | 
			
		||||
                  <img src="__ROOT__/hyhproject/home/View/default/img/seller_icon_error.png">
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
              {/volist}
 | 
			
		||||
            </span>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th valign="top">一般纳税人资格证电子版:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
          <span style='color:gray;'>三证合一地区请上传税务局网站上一般纳税人截图,复印件需加盖公司红章。</span><br/>
 | 
			
		||||
          <input type='hidden' id='taxpayerQualificationImg' class='ipt' value='{$object["taxpayerQualificationImg"]}'/>
 | 
			
		||||
          <div id='taxpayerQualificationImgPicker'>请上传法人证件电子版</div>
 | 
			
		||||
          <span id='taxpayerQualificationImgMsg'></span>
 | 
			
		||||
          <a id='taxpayerQualificationImgPreview_a' href='__IMGURL__/{$object["taxpayerQualificationImg"]}' target='_blank'>
 | 
			
		||||
          <img id='taxpayerQualificationImgPreview' src='__IMGURL__/{$object["taxpayerQualificationImg"]}' width='150'>
 | 
			
		||||
          </a>
 | 
			
		||||
      </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;' value='{$object["bankUserName"]}'/>
 | 
			
		||||
      </td>
 | 
			
		||||
  </tr>
 | 
			
		||||
  <tr>
 | 
			
		||||
      <th>对公结算银行账号<font color='red'>*</font>:</th>
 | 
			
		||||
      <td>
 | 
			
		||||
            <input type='text' id='bankNo' class='ipt' maxlength='20' data-rule='对公结算银行账号:required;' value='{$object["bankNo"]}'/>
 | 
			
		||||
      </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']}" {if $object['bankId']==$v['bankId']}selected{/if}>{$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>
 | 
			
		||||
-->
 | 
			
		||||
  </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='applyStatus' id='applyStatus2' value='2' {if $object['applyStatus']==2}checked{/if} onclick='javascript:WST.showHide(1,".deposit");WST.showHide(0,"#trApplyDesc")' data-rule="处理结果:checked" title='通过'>
 | 
			
		||||
          </label>
 | 
			
		||||
          <label>
 | 
			
		||||
             <input type='radio' class='ipt' name='applyStatus' id='applyStatus-1' value='-1' {if $object['applyStatus']==-1}checked{/if} onclick='javascript:WST.showHide(1,"#trApplyDesc");WST.showHide(0,".deposit")' title='不通过'>
 | 
			
		||||
          </label>
 | 
			
		||||
       </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
    <tr id='trDeposit' class="deposit" style='display:none'>
 | 
			
		||||
       <th>应缴保证金<font color='red'>*</font>:</th>
 | 
			
		||||
       <td>
 | 
			
		||||
          <input type='text' name='payDeposit' id='payDeposit' class='ipt' value="{$cashDeposit['payDeposit']}"/>
 | 
			
		||||
       </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
      <tr id='trPassDesc' class="deposit" style='display:none'>
 | 
			
		||||
       <th>实缴保证金<font color='red'>*</font>:</th>
 | 
			
		||||
       <td>
 | 
			
		||||
          <input type='text' name='cashDeposit' id='cashDeposit' class='ipt' value="{$cashDeposit['cashDeposit']}"/>
 | 
			
		||||
       </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(#applyStatus-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>
 | 
			
		||||
<script type="text/javascript">
 | 
			
		||||
    $(function(){
 | 
			
		||||
        /********** 轮播广告图片上传 **********/
 | 
			
		||||
        var uploader = batchUpload({uploadPicker:'#batchUpload',uploadServer:WST.U('home/index/uploadPic'),formData:{dir:'shops'},uploadSuccess:function(file,response){
 | 
			
		||||
            var json = WST.toAdminJson(response);
 | 
			
		||||
            if(json.status==1){
 | 
			
		||||
                $li = $('#'+file.id);
 | 
			
		||||
                $li.append('<input type="hidden"  value="'+json.savePath+json.name+'" class="a-ipt j-gallery-img" iv="'+json.savePath + json.thumb+'" v="' +json.savePath + json.name+'"/>');
 | 
			
		||||
                var delBtn = $('<span class="btn-del">删除</span>');
 | 
			
		||||
                $li.append(delBtn);
 | 
			
		||||
                $li.css('height','212px');
 | 
			
		||||
                $li.find('.success').remove();
 | 
			
		||||
                delBtn.on('click',function(){
 | 
			
		||||
 | 
			
		||||
                    delBatchUploadImg($(this),function(){
 | 
			
		||||
                        uploader.removeFile(file);
 | 
			
		||||
                        uploader.refresh();
 | 
			
		||||
                    });
 | 
			
		||||
                });
 | 
			
		||||
                $('.filelist li').css('border','1px solid #f7375c');
 | 
			
		||||
            }else{
 | 
			
		||||
                WST.msg(json.msg,{icon:2});
 | 
			
		||||
            }
 | 
			
		||||
        }});
 | 
			
		||||
// 删除广告图片
 | 
			
		||||
        $('.btn-del').click(function(){
 | 
			
		||||
            delBatchUploadImg($(this),function(){
 | 
			
		||||
                $(this).parent().remove();
 | 
			
		||||
            });
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
        function delBatchUploadImg(obj){
 | 
			
		||||
            var c = WST.confirm({content:'您确定要删除广告图片吗?',yes:function(){
 | 
			
		||||
                $(obj).parent().remove("li");
 | 
			
		||||
                layer.close(c);
 | 
			
		||||
            }});
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
function divShow(){
 | 
			
		||||
var checkboxText= new Array(); 
 | 
			
		||||
var checkboxValue= new Array();     
 | 
			
		||||
var checkboxStr=document.getElementsByName("goodsCatIds");
 | 
			
		||||
       for(var i=0; i<checkboxStr.length; i++){  
 | 
			
		||||
        if(checkboxStr[i].checked){  
 | 
			
		||||
            //alert(checkboxStr[i].value+","+checkboxStr[i].nextSibling.nodeValue);
 | 
			
		||||
            checkboxValue.push(checkboxStr[i].value);  
 | 
			
		||||
            checkboxText.push(checkboxStr[i].nextSibling.nodeValue.trim());  
 | 
			
		||||
         }  
 | 
			
		||||
        }  
 | 
			
		||||
var foot='393';
 | 
			
		||||
if(checkboxValue.indexOf(foot)!="-1"){
 | 
			
		||||
  document.getElementById("license").style.cssText = "display: table-row;vertical-align: inherit;border-color: inherit;";
 | 
			
		||||
  }else{
 | 
			
		||||
    document.getElementById("license").style.cssText = "display:none"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
<script>
 | 
			
		||||
$(function(){
 | 
			
		||||
  initEdit({serviceStartTime:'{:date("H:i",strtotime($object["serviceStartTime"]))}',serviceEndTime:'{:date("H:i",strtotime($object["serviceEndTime"]))}',areaId:'{$object["areaId"]}',areaIdPath:'{$object["areaIdPath"]}',bankAreaId:'{$object["bankAreaId"]}',bankAreaIdPath:'{$object["bankAreaIdPath"]}',businessAreaPath:'{$object["businessAreaPath"]}'});
 | 
			
		||||
  shopLicenseUpload ();
 | 
			
		||||
})
 | 
			
		||||
</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}
 | 
			
		||||
							
								
								
									
										148
									
								
								hyhproject/admin/view/shops/list.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										148
									
								
								hyhproject/admin/view/shops/list.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,148 @@
 | 
			
		||||
{extend name="base" /}
 | 
			
		||||
{block name="css"}
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="__ADMIN__/js/mmgrid/mmGrid.css?v={$v}" />
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="js"}
 | 
			
		||||
<script src="__ADMIN__/js/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
<script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="main"}
 | 
			
		||||
<div class="wst-toolbar">
 | 
			
		||||
	<select id="areaId1" class='j-ipt j-areas' level="0" onchange="WST.ITAreas({id:'areaId1',val:this.value,className:'j-areas'});">
 | 
			
		||||
	  <option value="">-商家所在地-</option>
 | 
			
		||||
	  {volist name="areaList" id="vo"}
 | 
			
		||||
	  <option value="{$vo['areaId']}">{$vo['areaName']}</option>
 | 
			
		||||
	  {/volist}
 | 
			
		||||
	</select>
 | 
			
		||||
	<div id="select" class='j-ipt' style="float: left;">
 | 
			
		||||
	    <select id="cat" class='j-ipt'>
 | 
			
		||||
	        <option value="">-商品分类-</option>
 | 
			
		||||
			  {volist name="catList" id="vi"}
 | 
			
		||||
			  <option value="{$vi['catId']}">{$vi['catName']}</option>
 | 
			
		||||
			  {/volist} 
 | 
			
		||||
	    </select>
 | 
			
		||||
	</div>
 | 
			
		||||
	<input type="text" id="shopName"  placeholder='店铺名称' id="shopName" class='j-ipt'/>
 | 
			
		||||
	<select id="isInvestment" class='j-ipt'>
 | 
			
		||||
	   <option value="-1">-是否招商推广-</option>
 | 
			
		||||
	   <option value="1">是</option>
 | 
			
		||||
	   <option value="0">否</option>
 | 
			
		||||
	</select>
 | 
			
		||||
	<input type="text" name="userPhone"  placeholder='联系方式' id="userPhone" class='j-ipt'/>
 | 
			
		||||
   <button class="btn btn-primary" onclick='javascript:loadGrid(0)'><i class='fa fa-search'></i>查询</button>
 | 
			
		||||
   
 | 
			
		||||
   {if WSTGrant('DPGL_01')}
 | 
			
		||||
   <button class="btn btn-success f-right" onclick='javascript:toEdit(0)'><i class='fa fa-plus'></i>新增</button>
 | 
			
		||||
   {/if}
 | 
			
		||||
   <button class="btn btn-success f-right" onclick='javascript:toDeposit(0)'>质保金管理</button>
 | 
			
		||||
   <button class="btn btn-primary btn-fixtop" style="margin-left: 10px;" onclick='javascript:toExport()'><i class="fa fa-sign-in"></i>导出</button>
 | 
			
		||||
   <div style='clear:both'></div>
 | 
			
		||||
</div>
 | 
			
		||||
<div class='wst-grid'>
 | 
			
		||||
 <div id="mmg" class="mmg"></div>
 | 
			
		||||
 <div id="pg" style="text-align: right;"></div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div id='accredBox' style='display:none'>
 | 
			
		||||
  <form id='topCommission' autocomplete='off'>
 | 
			
		||||
  <table class='wst-form wst-box-top'>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th>店铺ID:</th>
 | 
			
		||||
        <td>
 | 
			
		||||
            <input type='text' name="shopId" id='shopId' class='ipt' value="" style='width:120px' disabled="disabled">
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
<!-- 
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th>店铺名称:</th>
 | 
			
		||||
        <td>
 | 
			
		||||
            <input type='text' name="shopsName" id='shopsName' class='ipt' value="" style='width:120px' />
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr> -->
 | 
			
		||||
 | 
			
		||||
    <tr>
 | 
			
		||||
         <th>佣金扣点<font color='red'>*</font>:</th>
 | 
			
		||||
         <td class='layui-form'>
 | 
			
		||||
            <label>
 | 
			
		||||
               <input type='text' class='ipt' name='commission' id='commission' value="" style='width:80px'>%
 | 
			
		||||
            </label>
 | 
			
		||||
         </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
<!--     <tr>
 | 
			
		||||
         <th>业务员提成<font color='red'>*</font>:</th>
 | 
			
		||||
         <td class='layui-form'>
 | 
			
		||||
            <label>
 | 
			
		||||
               <input type='text' class='ipt' name='comDeduct' id='comDeduct' value="" style='width:80px'>%
 | 
			
		||||
            </label>
 | 
			
		||||
         </td>
 | 
			
		||||
    </tr> -->
 | 
			
		||||
 | 
			
		||||
    <tr>
 | 
			
		||||
         <th>业务员名称<font color='red'>*</font>:</th>
 | 
			
		||||
         <td class='layui-form'>
 | 
			
		||||
            <label>
 | 
			
		||||
               <input type='text' class='ipt' name='userName' id='userName'  style='width:120px' onchange='changeUser()'>
 | 
			
		||||
            </label>
 | 
			
		||||
         </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
    <tr>
 | 
			
		||||
         <th>业务员手机号<font color='red'>*</font>:</th>
 | 
			
		||||
         <td class='layui-form'>
 | 
			
		||||
            <label>
 | 
			
		||||
               <input type='text' class='ipt' name='usersPhone' id='usersPhone' value="" style='width:120px'>
 | 
			
		||||
            </label>
 | 
			
		||||
         </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
    <tr>
 | 
			
		||||
         <th>业务员编号<font color='red'>*</font>:</th>
 | 
			
		||||
         <td class='layui-form'>
 | 
			
		||||
            <label>
 | 
			
		||||
               <input type='text' class='ipt' name='userId' id='userId' value="" style='width:80px' disabled="disabled">
 | 
			
		||||
            </label>
 | 
			
		||||
         </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  </table>
 | 
			
		||||
  </form>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
 | 
			
		||||
function changeUser(){
 | 
			
		||||
    var userName=document.getElementById("userName").value;
 | 
			
		||||
    $.post(WST.U('admin/shops/staffs'),{userName:userName,},function(data){
 | 
			
		||||
      // alert(JSON.stringify(data))
 | 
			
		||||
      var json = WST.toAdminJson(data);
 | 
			
		||||
      if(json.status == -1){
 | 
			
		||||
          WST.msg(json.msg,{icon:2});
 | 
			
		||||
      }else{
 | 
			
		||||
          $("#userId").empty();
 | 
			
		||||
          $("#usersPhone").empty();
 | 
			
		||||
          $('#userId').val(json['userId']);
 | 
			
		||||
          $('#usersPhone').val(json['userPhone']);
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
    , "json")
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	function toExport(){
 | 
			
		||||
	var params = {};
 | 
			
		||||
	params = WST.getParams('.j-ipt');
 | 
			
		||||
	var box = WST.confirm({content:"您确定要导出订单吗?",yes:function(){
 | 
			
		||||
		layer.close(box);
 | 
			
		||||
		location.href=WST.U('admin/shops/toExport',params);
 | 
			
		||||
    }});
 | 
			
		||||
}
 | 
			
		||||
$(function(){initGrid();})
 | 
			
		||||
</script>
 | 
			
		||||
{/block}
 | 
			
		||||
							
								
								
									
										34
									
								
								hyhproject/admin/view/shops/list_apply.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										34
									
								
								hyhproject/admin/view/shops/list_apply.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
{extend name="base" /}
 | 
			
		||||
{block name="css"}
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="__ADMIN__/js/mmgrid/mmGrid.css?v={$v}" />
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="js"}
 | 
			
		||||
<script src="__ADMIN__/js/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
<script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="main"}
 | 
			
		||||
<div class="wst-toolbar">
 | 
			
		||||
<!-- <select id="areaId1" class='j-ipt j-areas' level="0" onchange="WST.ITAreas({id:'areaId1',val:this.value,className:'j-areas'});">
 | 
			
		||||
  <option value="">-商家所在地-</option>
 | 
			
		||||
  {volist name="areaList" id="vo"}
 | 
			
		||||
  <option value="{$vo['areaId']}">{$vo['areaName']}</option>
 | 
			
		||||
  {/volist}
 | 
			
		||||
</select> -->
 | 
			
		||||
<input type="text" id="shopName"  placeholder='店铺名称' class='j-ipt'/>
 | 
			
		||||
<!-- <input type="text" id="investmentStaff"  placeholder='对接商城招商人' class='j-ipt'/> -->
 | 
			
		||||
<!-- <select id="isInvestment" class='j-ipt'>
 | 
			
		||||
   <option value="-1">-是否招商推广-</option>
 | 
			
		||||
   <option value="1">是</option>
 | 
			
		||||
   <option value="0">否</option>
 | 
			
		||||
</select> -->
 | 
			
		||||
<button class="btn btn-primary" onclick='javascript:loadApplyGrid(0)'><i class='fa fa-search'></i>查询</button>
 | 
			
		||||
<div style='clear:both'></div>
 | 
			
		||||
</div>
 | 
			
		||||
<div class='wst-grid'>
 | 
			
		||||
 <div id="mmg" class="mmg"></div>
 | 
			
		||||
 <div id="pg" style="text-align: right;"></div>
 | 
			
		||||
</div>
 | 
			
		||||
<script>
 | 
			
		||||
$(function(){initApplyGrid();})
 | 
			
		||||
</script>
 | 
			
		||||
{/block}
 | 
			
		||||
							
								
								
									
										33
									
								
								hyhproject/admin/view/shops/list_stop.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										33
									
								
								hyhproject/admin/view/shops/list_stop.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
{extend name="base" /}
 | 
			
		||||
{block name="css"}
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="__ADMIN__/js/mmgrid/mmGrid.css?v={$v}" />
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="js"}
 | 
			
		||||
<script src="__ADMIN__/js/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
<script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="main"}
 | 
			
		||||
<div class="wst-toolbar">
 | 
			
		||||
	<select id="areaId1" class='j-ipt j-areas' level="0" onchange="WST.ITAreas({id:'areaId1',val:this.value,className:'j-areas'});">
 | 
			
		||||
	  <option value="">-商家所在地-</option>
 | 
			
		||||
	  {volist name="areaList" id="vo"}
 | 
			
		||||
	  <option value="{$vo['areaId']}">{$vo['areaName']}</option>
 | 
			
		||||
	  {/volist}
 | 
			
		||||
	</select>
 | 
			
		||||
	<input type="text" id="shopName"  placeholder='店铺名称' id="shopName" class='j-ipt'/>
 | 
			
		||||
	<select id="isInvestment" class='j-ipt'>
 | 
			
		||||
	   <option value="-1">-是否招商推广-</option>
 | 
			
		||||
	   <option value="1">是</option>
 | 
			
		||||
	   <option value="0">否</option>
 | 
			
		||||
	</select>
 | 
			
		||||
   <button class="btn btn-primary" onclick='javascript:loadStopGrid(0)'><i class='fa fa-search'></i>查询</button>
 | 
			
		||||
   <div style='clear:both'></div>
 | 
			
		||||
</div>
 | 
			
		||||
<div class='wst-grid'>
 | 
			
		||||
 <div id="mmg" class="mmg"></div>
 | 
			
		||||
 <div id="pg" style="text-align: right;"></div>
 | 
			
		||||
</div>
 | 
			
		||||
<script>
 | 
			
		||||
$(function(){initStopGrid();})
 | 
			
		||||
</script>
 | 
			
		||||
{/block}
 | 
			
		||||
							
								
								
									
										660
									
								
								hyhproject/admin/view/shops/shops.js
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										660
									
								
								hyhproject/admin/view/shops/shops.js
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,660 @@
 | 
			
		||||
var mmg;
 | 
			
		||||
 | 
			
		||||
function initGrid(){
 | 
			
		||||
    var h = WST.pageHeight();
 | 
			
		||||
    var cols = [
 | 
			
		||||
            {title:'店铺编号', name:'shopSn', width: 30,sortable: true},
 | 
			
		||||
            {title:'店铺账号', name:'loginName',width: 60,sortable: true},
 | 
			
		||||
            {title:'店铺名称', name:'shopName',width: 60,sortable: true},
 | 
			
		||||
            {title:'店主姓名', name:'shopkeeper',width: 40,hidden: true,sortable: true},
 | 
			
		||||
            {title:'店主联系电话', name:'telephone',width: 30,hidden: true,sortable: true},
 | 
			
		||||
            {title:'商品数量', name:'goodsNum',width: 30,sortable: true,align:'center'},
 | 
			
		||||
            {title:'店铺地址', name:'shopAddress',width:120 },
 | 
			
		||||
            {title:'主营类目', name:'catName',width:60,sortable: true,},
 | 
			
		||||
            {title:'所属公司', name:'shopCompany',width: 60,hidden: true},
 | 
			
		||||
            {title:'申请时间', name:'applyTime',width: 60},
 | 
			
		||||
            {title:'通过时间', name:'createTime',width: 60},
 | 
			
		||||
            {title:'营业状态', name:'shopAtive' ,width: 20,sortable: true,renderer: function (val,item,rowIndex){
 | 
			
		||||
	        	return (item['shopAtive']==1)?"<span class='statu-yes'><i class='fa fa-check-circle'></i> 营业中</span>":"<span class='statu-wait'><i class='fa fa-coffee'></i> 休息中</span>";
 | 
			
		||||
	        }},
 | 
			
		||||
	        // {title:'ECT支付', name:'shopAtive' ,width: 20,sortable: true,renderer: function (val,item,rowIndex){
 | 
			
		||||
	        // 	return (item['status']==1)?"<a class='btn btn-red statu-yes' href='javascript:toPay(" + item['shopId']+ ","+item['status']+ ")'><i class='fa'></i>关闭</a>":"<a class='btn btn-red statu-no' href='javascript:toPay(" + item['shopId'] + ")'><i class='fa'></i>开启</a>";
 | 
			
		||||
	        	
 | 
			
		||||
	        // }},
 | 
			
		||||
            {title:'操作', name:'' ,width:250, renderer: function(val,item,rowIndex){
 | 
			
		||||
                var h = "";
 | 
			
		||||
	            if(WST.GRANT.DPGL_02)h += "<a class='btn btn-blue' href='javascript:toEdit(" + item['shopId'] + ")'><i class='fa fa-pencil'></i>修改</a> ";
 | 
			
		||||
	            if(WST.GRANT.DPGL_03 && item['shopId']!=1)h += "<a class='btn btn-red' href='javascript:toDel(" + item['shopId'] + ")'><i class='fa fa-trash-o'></i>删除</a> "; 
 | 
			
		||||
	            h += "<a class='btn btn-blue' href='"+WST.U('admin/logmoneys/tologmoneys','id='+item['shopId'])+"&type=1'><i class='fa fa-search'></i>商家资金</a>";
 | 
			
		||||
	            h += "<a class='btn btn-blue' href='javascript:toCommission(" + item['shopId'] + ")'><i class='fa fa-pencil'></i>设置佣金扣点</a> ";
 | 
			
		||||
	            return h;
 | 
			
		||||
            }}
 | 
			
		||||
            ];
 | 
			
		||||
 
 | 
			
		||||
    mmg = $('.mmg').mmGrid({height: (h-85),indexCol: true, cols: cols,method:'POST',nowrap:true,
 | 
			
		||||
        url: WST.U('admin/shops/pageQuery'), fullWidthRows: true, autoLoad: true,
 | 
			
		||||
        remoteSort:true ,
 | 
			
		||||
        sortName: 'shopSn',
 | 
			
		||||
        sortStatus: 'desc',
 | 
			
		||||
        plugins: [
 | 
			
		||||
            $('#pg').mmPaginator({})
 | 
			
		||||
        ]
 | 
			
		||||
    }); 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function toCommission(shopId){
 | 
			
		||||
	$('#topCommission')[0].reset();
 | 
			
		||||
	$.post(WST.U('admin/shops/commission'),{shopId:shopId},function(data,textStatus){
 | 
			
		||||
		// dump($data);die;
 | 
			
		||||
		var json = WST.toAdminJson(data);
 | 
			
		||||
		if(json){
 | 
			
		||||
			WST.setValues(json);
 | 
			
		||||
			layui.form.render();
 | 
			
		||||
			editsBox(shopId);
 | 
			
		||||
		}
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function editsBox(shopId){
 | 
			
		||||
		var title =(shopId>0)?"修改":"新增";
 | 
			
		||||
		var box = WST.open({title:title,type:1,content:$('#accredBox'),area: ['750px', '320px'],btn:['确定','取消'],
 | 
			
		||||
			end:function(){$('#accredBox').hide();},yes:function(){
 | 
			
		||||
				$('#topCommission').submit();
 | 
			
		||||
			}});
 | 
			
		||||
		$('#topCommission').validator({
 | 
			
		||||
			fields: {
 | 
			
		||||
				'commission': {rule:"required",msg:{required:'请输入佣金扣点'}},
 | 
			
		||||
			},
 | 
			
		||||
			// fields: {
 | 
			
		||||
			// 	'comDeduct': {rule:"required",msg:{required:'请输入提成比例'}},
 | 
			
		||||
			// },
 | 
			
		||||
			fields: {
 | 
			
		||||
				'userName': {rule:"required",msg:{required:'请输入业务员名称'}},
 | 
			
		||||
			},
 | 
			
		||||
			fields: {
 | 
			
		||||
				'usersPhone': {rule:"required",msg:{required:'请输入业务员电话'}},
 | 
			
		||||
			},
 | 
			
		||||
			fields: {
 | 
			
		||||
				'userId': {rule:"required",msg:{required:'请输入业务员编号'}},
 | 
			
		||||
			},
 | 
			
		||||
			valid: function(form){
 | 
			
		||||
				var params = WST.getParams('.ipt');
 | 
			
		||||
				var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
				$.post(WST.U('admin/shops/upCommission/'+(shopId)),params,function(data,textStatus){
 | 
			
		||||
					layer.close(loading);
 | 
			
		||||
					var json = WST.toAdminJson(data);
 | 
			
		||||
					if(json.status=='1'){
 | 
			
		||||
						WST.msg("操作成功",{icon:1});
 | 
			
		||||
						layer.close(box);
 | 
			
		||||
						$('#accredBox').hide();
 | 
			
		||||
						grid.reload(secTyepId);
 | 
			
		||||
					}else{
 | 
			
		||||
						WST.msg(json.msg,{icon:2});
 | 
			
		||||
					}
 | 
			
		||||
				});
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function loadGrid(){
 | 
			
		||||
	var params = WST.getParams('.j-ipt');
 | 
			
		||||
	params.areaIdPath = WST.ITGetAllAreaVals('areaId1','j-areas').join('_');
 | 
			
		||||
	params.page = 1;
 | 
			
		||||
	mmg.load(params);
 | 
			
		||||
}
 | 
			
		||||
function initApplyGrid(){
 | 
			
		||||
 | 
			
		||||
    var h = WST.pageHeight();
 | 
			
		||||
    var cols = [
 | 
			
		||||
            {title:'申请人账号', name:'loginName', width: 30},
 | 
			
		||||
            {title:'申请人姓名', name:'trueName', width: 30},
 | 
			
		||||
            {title:'店铺名称', name:'shopName',width:100 },
 | 
			
		||||
            {title:'直营人', name:'userName',width:100 },
 | 
			
		||||
            {title:'申请联系人电话', name:'phone',width:30 },            
 | 
			
		||||
            {title:'店铺地址', name:'shopAddress',width:30 },            
 | 
			
		||||
            {title:'申请日期', name:'applyTime' },
 | 
			
		||||
            {title:'申请状态', name:'status' ,width:30,renderer: function (val,item,rowIndex){
 | 
			
		||||
	        	if(item['status']==0){
 | 
			
		||||
                    return "<span class='statu-wait'><i class='fa fa-clock-o'></i> 待处理</span>";
 | 
			
		||||
	        	}else if(item['status']==1){
 | 
			
		||||
                    return "<span class='statu-yes'><i class='fa fa-check-circle'></i> 申请成功</span>";
 | 
			
		||||
	        	}else{
 | 
			
		||||
                    return "<span class='statu-no'><i class='fa fa-ban'></i> 申请失败</span>";
 | 
			
		||||
	        	}
 | 
			
		||||
	        }},
 | 
			
		||||
            {title:'操作', name:'' ,width:80, align:'center', renderer: function(val,item,rowIndex){
 | 
			
		||||
            	var h = "";
 | 
			
		||||
  	           	if(WST.GRANT.DPSQ_04)h += "<a class='btn btn-blue' href='javascript:toHandle(" + item['shopId'] + ")'><i class='fa fa-pencil'></i>操作</a> ";
 | 
			
		||||
              	if(item['status']==-1){               
 | 
			
		||||
  	            	if(WST.GRANT.DPSQ_03)h += "<a class='btn btn-red' href='javascript:toDelApply(" + item['shopId'] + ")'><i class='fa fa-trash-o'></i>删除</a> "; 
 | 
			
		||||
  	          	}
 | 
			
		||||
		        return h;
 | 
			
		||||
            }}
 | 
			
		||||
            ];
 | 
			
		||||
 
 | 
			
		||||
    mmg = $('.mmg').mmGrid({height: (h-85),indexCol: true, cols: cols,method:'POST',nowrap:true,
 | 
			
		||||
        url: WST.U('admin/shops/shopApplyList'), fullWidthRows: true, autoLoad: true,
 | 
			
		||||
        plugins: [
 | 
			
		||||
            $('#pg').mmPaginator({})
 | 
			
		||||
        ]
 | 
			
		||||
    }); 
 | 
			
		||||
}
 | 
			
		||||
function loadApplyGrid(){
 | 
			
		||||
	var params = WST.getParams('.j-ipt');
 | 
			
		||||
	params.areaIdPath = WST.ITGetAllAreaVals('areaId1','j-areas').join('_');
 | 
			
		||||
	params.page = 1;
 | 
			
		||||
	mmg.load(params);
 | 
			
		||||
}
 | 
			
		||||
function toPay(id,status){
 | 
			
		||||
	var box = WST.confirm({content:"您确定修改ECT支付状态吗?",yes:function(){
 | 
			
		||||
	           var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
	           $.post(WST.U('admin/payments/pay'),{id:id,status:status},function(data,textStatus){
 | 
			
		||||
	           			  layer.close(loading);
 | 
			
		||||
	           			  var json = WST.toAdminJson(data);
 | 
			
		||||
	           			  if(json.status=='1'){
 | 
			
		||||
	           			    	WST.msg("操作成功",{icon:1});
 | 
			
		||||
	           			    	layer.close(box);
 | 
			
		||||
	           		            loadGrid();
 | 
			
		||||
	           			  }else{
 | 
			
		||||
	           			    	WST.msg(json.msg,{icon:2});
 | 
			
		||||
	           			  }
 | 
			
		||||
	           		});
 | 
			
		||||
	            }});
 | 
			
		||||
}
 | 
			
		||||
function toHandle(id){
 | 
			
		||||
	location.href = WST.U('admin/shops/applyEdit','id='+id);
 | 
			
		||||
}
 | 
			
		||||
function toDelApply(id){
 | 
			
		||||
	var box = WST.confirm({content:"您确定要彻底删除该店铺申请信息吗?",yes:function(){
 | 
			
		||||
	           var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
	           $.post(WST.U('admin/shops/delApply'),{id:id},function(data,textStatus){
 | 
			
		||||
	           			  layer.close(loading);
 | 
			
		||||
	           			  var json = WST.toAdminJson(data);
 | 
			
		||||
	           			  if(json.status=='1'){
 | 
			
		||||
	           			    	WST.msg("操作成功",{icon:1});
 | 
			
		||||
	           			    	layer.close(box);
 | 
			
		||||
	           		            grid.reload();
 | 
			
		||||
	           			  }else{
 | 
			
		||||
	           			    	WST.msg(json.msg,{icon:2});
 | 
			
		||||
	           			  }
 | 
			
		||||
	           		});
 | 
			
		||||
	            }});
 | 
			
		||||
}
 | 
			
		||||
function initStopGrid(){
 | 
			
		||||
    var h = WST.pageHeight();
 | 
			
		||||
    var cols = [
 | 
			
		||||
            {title:'店铺编号', name:'shopSn', width: 30},
 | 
			
		||||
            {title:'店铺账号', name:'loginName', width: 60},
 | 
			
		||||
            {title:'店铺名称', name:'shopName',width: 120},
 | 
			
		||||
            {title:'店主姓名', name:'shopkeeper',width: 40,hidden: true},
 | 
			
		||||
            {title:'店主联系电话', name:'telephone',hidden: true},
 | 
			
		||||
            {title:'店铺地址', name:'shopAddress',width:350 },
 | 
			
		||||
            {title:'所属公司', name:'shopCompany',hidden: true },
 | 
			
		||||
            {title:'操作', name:'' ,width:80, align:'center', renderer: function(val,item,rowIndex){
 | 
			
		||||
                var h = "";
 | 
			
		||||
	            h += "<a class='btn btn-blue' href='javascript:toEdit(" + item['shopId'] + ")'><i class='fa fa-pencil'></i>修改</a> ";
 | 
			
		||||
	            h += "<a class='btn btn-red' href='javascript:toDel(" + item['shopId'] + ")'><i class='fa fa-trash-o'></i>删除</a> "; 
 | 
			
		||||
	            return h;
 | 
			
		||||
            }}
 | 
			
		||||
            ];
 | 
			
		||||
 
 | 
			
		||||
    mmg = $('.mmg').mmGrid({height: (h-85),indexCol: true, cols: cols,method:'POST',nowrap:true,
 | 
			
		||||
        url: WST.U('admin/shops/pageStopQuery'), fullWidthRows: true, autoLoad: true,
 | 
			
		||||
        plugins: [
 | 
			
		||||
            $('#pg').mmPaginator({})
 | 
			
		||||
        ]
 | 
			
		||||
    }); 
 | 
			
		||||
}
 | 
			
		||||
function loadStopGrid(){
 | 
			
		||||
	var params = WST.getParams('.j-ipt');
 | 
			
		||||
	params.areaIdPath = WST.ITGetAllAreaVals('areaId1','j-areas').join('_');
 | 
			
		||||
	params.page = 1;
 | 
			
		||||
	mmg.load(params);
 | 
			
		||||
}
 | 
			
		||||
var initTab2 = false,initTab3 = false;
 | 
			
		||||
function initUpload(isEdit){
 | 
			
		||||
	if(!isEdit){
 | 
			
		||||
        legalCertificateImgUpload();
 | 
			
		||||
		businessLicenceImgUpload();
 | 
			
		||||
		bankAccountPermitImgUpload();
 | 
			
		||||
		shopLicenseUpload();
 | 
			
		||||
		organizationCodeUpload();
 | 
			
		||||
		taxRegistrationCertificateUpload();
 | 
			
		||||
		taxpayerQualificationUpload();
 | 
			
		||||
	}else{
 | 
			
		||||
		var element = layui.element;
 | 
			
		||||
		element.on('tab(msgTab)', function(data){
 | 
			
		||||
		   if(data.index==1){
 | 
			
		||||
		   	   if(initTab2)return;
 | 
			
		||||
		       initTab2 = true;
 | 
			
		||||
               legalCertificateImgUpload();
 | 
			
		||||
			   businessLicenceImgUpload();
 | 
			
		||||
			   bankAccountPermitImgUpload();
 | 
			
		||||
			   organizationCodeUpload();
 | 
			
		||||
			   shopLicenseUpload();
 | 
			
		||||
		   }else if(data.index==2){
 | 
			
		||||
		   	   if(initTab3)return;
 | 
			
		||||
		       initTab3 = true;
 | 
			
		||||
               taxRegistrationCertificateUpload();
 | 
			
		||||
			   taxpayerQualificationUpload();
 | 
			
		||||
		   }
 | 
			
		||||
	    });
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
function legalCertificateImgUpload (){
 | 
			
		||||
	WST.upload({
 | 
			
		||||
			pick:'#legalCertificateImgPicker',
 | 
			
		||||
			formData: {dir:'shops'},
 | 
			
		||||
			accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
			callback:function(f){
 | 
			
		||||
				var json = WST.toAdminJson(f);
 | 
			
		||||
				if(json.status==1){
 | 
			
		||||
				  	$('#legalCertificateImgMsg').empty().hide();
 | 
			
		||||
				    $('#legalCertificateImgPreview').attr('src',WST.conf.IMGURL+"/"+json.savePath+json.thumb).show();
 | 
			
		||||
				    $('#legalCertificateImgPreview_a').attr('href',WST.conf.IMGURL+"/"+json.savePath+json.name);
 | 
			
		||||
				    $('#legalCertificateImg').val(json.savePath+json.name);
 | 
			
		||||
				    $('#msg_legalCertificateImg').hide();
 | 
			
		||||
				}
 | 
			
		||||
			},
 | 
			
		||||
			progress:function(rate){
 | 
			
		||||
				$('#legalCertificateImgMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
}
 | 
			
		||||
function businessLicenceImgUpload(){
 | 
			
		||||
	WST.upload({
 | 
			
		||||
			pick:'#businessLicenceImgPicker',
 | 
			
		||||
			formData: {dir:'shops'},
 | 
			
		||||
			accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
			callback:function(f){
 | 
			
		||||
				var json = WST.toAdminJson(f);
 | 
			
		||||
				if(json.status==1){
 | 
			
		||||
					$('#businessLicenceImgMsg').empty().hide();
 | 
			
		||||
					$('#businessLicenceImgPreview').attr('src',WST.conf.IMGURL+"/"+json.savePath+json.thumb).show();
 | 
			
		||||
					$('#businessLicenceImgPreview_a').attr('href',WST.conf.IMGURL+"/"+json.savePath+json.name);
 | 
			
		||||
					$('#businessLicenceImg').val(json.savePath+json.name);
 | 
			
		||||
					$('#msg_businessLicenceImg').hide();
 | 
			
		||||
				}
 | 
			
		||||
			},
 | 
			
		||||
			progress:function(rate){
 | 
			
		||||
				$('#businessLicenceImgMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
}
 | 
			
		||||
function bankAccountPermitImgUpload(){
 | 
			
		||||
	WST.upload({
 | 
			
		||||
			pick:'#bankAccountPermitImgPicker',
 | 
			
		||||
			formData: {dir:'shops'},
 | 
			
		||||
			accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
			callback:function(f){
 | 
			
		||||
				var json = WST.toAdminJson(f);
 | 
			
		||||
				if(json.status==1){
 | 
			
		||||
					$('#bankAccountPermitImgMsg').empty().hide();
 | 
			
		||||
					$('#bankAccountPermitImgPreview').attr('src',WST.conf.IMGURL+"/"+json.savePath+json.thumb).show();
 | 
			
		||||
					$('#bankAccountPermitImgPreview_a').attr('href',WST.conf.IMGURL+"/"+json.savePath+json.name);
 | 
			
		||||
					$('#bankAccountPermitImg').val(json.savePath+json.name);
 | 
			
		||||
					$('#msg_bankAccountPermitImg').hide();
 | 
			
		||||
				}
 | 
			
		||||
			},
 | 
			
		||||
			progress:function(rate){
 | 
			
		||||
				$('#bankAccountPermitImgMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
}
 | 
			
		||||
function organizationCodeUpload(){
 | 
			
		||||
	WST.upload({
 | 
			
		||||
			pick:'#organizationCodeImgPicker',
 | 
			
		||||
			formData: {dir:'shops'},
 | 
			
		||||
			accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
			callback:function(f){
 | 
			
		||||
				var json = WST.toAdminJson(f);
 | 
			
		||||
				if(json.status==1){
 | 
			
		||||
					$('#organizationCodeImgMsg').empty().hide();
 | 
			
		||||
					$('#organizationCodeImgPreview').attr('src',WST.conf.IMGURL+"/"+json.savePath+json.thumb).show();
 | 
			
		||||
					$('#organizationCodeImgPreview_a').attr('href',WST.conf.IMGURL+"/"+json.savePath+json.name);
 | 
			
		||||
					$('#organizationCodeImg').val(json.savePath+json.name);
 | 
			
		||||
					$('#msg_organizationCodeImg').hide();
 | 
			
		||||
				}
 | 
			
		||||
			},
 | 
			
		||||
			progress:function(rate){
 | 
			
		||||
				$('#organizationCodeImgMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
}
 | 
			
		||||
function shopLicenseUpload (){
 | 
			
		||||
	WST.upload({
 | 
			
		||||
		pick:'#shopLicenseImgPicker',
 | 
			
		||||
		formData: {dir:'shops'},
 | 
			
		||||
		accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
		callback:function(f){
 | 
			
		||||
			var json = WST.toAdminJson(f);
 | 
			
		||||
			if(json.status==1){
 | 
			
		||||
				$('#shopLicenseImgMsg').empty().hide();
 | 
			
		||||
				$('#shopLicenseImgPreview').attr('src',WST.conf.IMGURL+"/"+json.savePath+json.thumb).show();
 | 
			
		||||
				$('#shopLicenseImgPreview_a').attr('href',WST.conf.IMGURL+"/"+json.savePath+json.name);
 | 
			
		||||
				$('#shopLicense').val(json.savePath+json.name);
 | 
			
		||||
				$('#msg_shopLicenseImg').hide();
 | 
			
		||||
			}
 | 
			
		||||
		},
 | 
			
		||||
		progress:function(rate){
 | 
			
		||||
			$('#shopLicenseImgMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
		}
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
function taxRegistrationCertificateUpload(){
 | 
			
		||||
	var uploader = WST.upload({
 | 
			
		||||
				pick:'#taxRegistrationCertificateImgPicker',
 | 
			
		||||
			    formData: {dir:'shops'},
 | 
			
		||||
				accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
				fileNumLimit:3,
 | 
			
		||||
				callback:function(f,file){
 | 
			
		||||
					var json = WST.toAdminJson(f);
 | 
			
		||||
					if(json.status==1){
 | 
			
		||||
					  	$('#taxRegistrationCertificateImgMsg').empty().hide();
 | 
			
		||||
					  	var tdiv = $("<div style='width:75px;float:left;margin-right:5px;'><a target='_blank' href='"+WST.conf.IMGURL+"/"+json.savePath+json.name+"'>"+
 | 
			
		||||
			                       "<img class='step_pic"+"' width='75' height='75' src='"+WST.conf.IMGURL+"/"+json.savePath+json.thumb+"' v='"+json.savePath+json.name+"'></a></div>");
 | 
			
		||||
						var btn = $('<div style="position:relative;top:-80px;left:60px;cursor:pointer;" ><img src="'+WST.conf.ROOT+'/hyhproject/home/View/default/img/seller_icon_error.png"></div>');
 | 
			
		||||
						tdiv.append(btn);
 | 
			
		||||
						$('#taxRegistrationCertificateImgBox').append(tdiv);
 | 
			
		||||
						$('#msg_taxRegistrationCertificateImg').hide();
 | 
			
		||||
						var imgPath = [];
 | 
			
		||||
						$('.step_pic').each(function(){
 | 
			
		||||
			                imgPath.push($(this).attr('v'));
 | 
			
		||||
						});
 | 
			
		||||
			            $('#taxRegistrationCertificateImg').val(imgPath.join(','));
 | 
			
		||||
						btn.on('click','img',function(){
 | 
			
		||||
						    uploader.removeFile(file);
 | 
			
		||||
						    $(this).parent().parent().remove();
 | 
			
		||||
						    uploader.refresh();
 | 
			
		||||
						    if($('#taxRegistrationCertificateImgBox').children().size()<=0){
 | 
			
		||||
						         $('#msg_taxRegistrationCertificateImg').show();
 | 
			
		||||
						    }
 | 
			
		||||
						});
 | 
			
		||||
					}else{
 | 
			
		||||
					  		 WST.msg(json.msg,{icon:2});
 | 
			
		||||
					}
 | 
			
		||||
				},
 | 
			
		||||
				progress:function(rate){
 | 
			
		||||
					$('#taxRegistrationCertificateImgMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
				}
 | 
			
		||||
			});
 | 
			
		||||
}
 | 
			
		||||
function taxpayerQualificationUpload(){
 | 
			
		||||
	WST.upload({
 | 
			
		||||
			pick:'#taxpayerQualificationImgPicker',
 | 
			
		||||
			formData: {dir:'shops'},
 | 
			
		||||
			accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
			callback:function(f){
 | 
			
		||||
				var json = WST.toAdminJson(f);
 | 
			
		||||
				if(json.status==1){
 | 
			
		||||
					$('#taxpayerQualificationImgMsg').empty().hide();
 | 
			
		||||
					$('#taxpayerQualificationImgPreview').attr('src',WST.conf.IMGURL+"/"+json.savePath+json.thumb).show();
 | 
			
		||||
					$('#taxpayerQualificationImgPreview_a').attr('href',WST.conf.IMGURL+"/"+json.savePath+json.name);
 | 
			
		||||
					$('#taxpayerQualificationImg').val(json.savePath+json.name);
 | 
			
		||||
					$('#msg_taxpayerQualificationImg').hide();
 | 
			
		||||
				}
 | 
			
		||||
			},
 | 
			
		||||
			progress:function(rate){
 | 
			
		||||
				$('#taxpayerQualificationImgMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
			}
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
function initEdit(opts){
 | 
			
		||||
	var laydate = layui.laydate;
 | 
			
		||||
	laydate.render({elem: '#establishmentDate'});
 | 
			
		||||
	laydate.render({elem: '#businessStartDate'});
 | 
			
		||||
	laydate.render({elem: '#businessEndDate'});
 | 
			
		||||
	laydate.render({elem: '#legalCertificateStartDate'});
 | 
			
		||||
	laydate.render({elem: '#legalCertificateEndDate'});
 | 
			
		||||
	laydate.render({elem: '#organizationCodeStartDate'});
 | 
			
		||||
	laydate.render({elem: '#organizationCodeEndDate'});
 | 
			
		||||
	WST.upload({
 | 
			
		||||
	  	  pick:'#shopImgPicker',
 | 
			
		||||
	  	  formData: {dir:'shops'},
 | 
			
		||||
	  	  accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
	  	  callback:function(f){
 | 
			
		||||
	  		  var json = WST.toAdminJson(f);
 | 
			
		||||
	  		  if(json.status==1){
 | 
			
		||||
	  			$('#uploadMsg').empty().hide();
 | 
			
		||||
	            $('#preview').attr('src',WST.conf.IMGURL+"/"+json.savePath+json.thumb);
 | 
			
		||||
	            $('#shopImg').val(json.savePath+json.name);
 | 
			
		||||
	            $('#editFrom').validator('hideMsg', '#shopImg');
 | 
			
		||||
	  		  }
 | 
			
		||||
		  },
 | 
			
		||||
		  progress:function(rate){
 | 
			
		||||
		      $('#uploadMsg').show().html('已上传'+rate+"%");
 | 
			
		||||
		  }
 | 
			
		||||
	});
 | 
			
		||||
	initTime('#serviceStartTime',opts.serviceStartTime);
 | 
			
		||||
	initTime('#serviceEndTime',opts.serviceEndTime);
 | 
			
		||||
	if($('#shopId').val()>0){
 | 
			
		||||
		var areaIdPath = opts.areaIdPath.split("_");
 | 
			
		||||
    	$('#area_0').val(areaIdPath[0]);
 | 
			
		||||
    	var aopts = {id:'area_0',val:areaIdPath[0],childIds:areaIdPath,className:'j-areas',isRequire:true}
 | 
			
		||||
		WST.ITSetAreas(aopts);
 | 
			
		||||
		if(opts.bankAreaIdPath!=''){
 | 
			
		||||
			var areaIdPath = opts.bankAreaIdPath.split("_");
 | 
			
		||||
    	    $('#barea_0').val(areaIdPath[0]);
 | 
			
		||||
    	    var aopts = {id:'barea_0',val:areaIdPath[0],childIds:areaIdPath,className:'j-bareas',isRequire:true}
 | 
			
		||||
		    WST.ITSetAreas(aopts);
 | 
			
		||||
		}
 | 
			
		||||
		if(opts.businessAreaPath!=''){
 | 
			
		||||
			var areaIdPath = opts.businessAreaPath.split("_");
 | 
			
		||||
		    $('#carea_0').val(areaIdPath[0]);
 | 
			
		||||
		    var aopts = {id:'carea_0',val:areaIdPath[0],childIds:areaIdPath,className:'j-careas',isRequire:false}
 | 
			
		||||
			WST.ITSetAreas(aopts);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	initUpload(opts.isEdit);
 | 
			
		||||
}
 | 
			
		||||
function delVO(obj){
 | 
			
		||||
    $(obj).parent().remove();
 | 
			
		||||
    var imgPath = [];
 | 
			
		||||
	$('.step_pic').each(function(){
 | 
			
		||||
        imgPath.push($(this).attr('v'));
 | 
			
		||||
	});
 | 
			
		||||
	$('#taxRegistrationCertificateImg').val(imgPath.join(','));
 | 
			
		||||
}
 | 
			
		||||
function toEdit(id){
 | 
			
		||||
	location.href=WST.U('admin/shops/toEdit','id='+id);
 | 
			
		||||
}
 | 
			
		||||
function toDel(id){
 | 
			
		||||
	var box = WST.confirm({content:"您确定要删除该店铺吗?",yes:function(){
 | 
			
		||||
	           var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
	           $.post(WST.U('admin/shops/del'),{id:id},function(data,textStatus){
 | 
			
		||||
	           			  layer.close(loading);
 | 
			
		||||
	           			  var json = WST.toAdminJson(data);
 | 
			
		||||
	           			  if(json.status=='1'){
 | 
			
		||||
	           			    	WST.msg("操作成功",{icon:1});
 | 
			
		||||
	           			    	layer.close(box);
 | 
			
		||||
	           		            grid.reload();
 | 
			
		||||
	           			  }else{
 | 
			
		||||
	           			    	WST.msg(json.msg,{icon:2});
 | 
			
		||||
	           			  }
 | 
			
		||||
	           		});
 | 
			
		||||
	            }});
 | 
			
		||||
}
 | 
			
		||||
function checkLoginKey(obj){
 | 
			
		||||
	if($.trim(obj.value)=='')return;
 | 
			
		||||
	var params = {key:obj.value,userId:0};
 | 
			
		||||
	var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
    $.post(WST.U('admin/users/checkLoginKey'),params,function(data,textStatus){
 | 
			
		||||
    	layer.close(loading);
 | 
			
		||||
    	var json = WST.toAdminJson(data);
 | 
			
		||||
    	if(json.status!='1'){
 | 
			
		||||
    		WST.msg(json.msg,{icon:2});
 | 
			
		||||
    		obj.value = '';
 | 
			
		||||
    	}
 | 
			
		||||
    });
 | 
			
		||||
}
 | 
			
		||||
function save(){
 | 
			
		||||
	$('#editFrom').isValid(function(v){
 | 
			
		||||
		if(v){
 | 
			
		||||
			var params = WST.getParams('.ipt');
 | 
			
		||||
			params.areaId = WST.ITGetAreaVal('j-areas');
 | 
			
		||||
			params.bankAreaId = WST.ITGetAreaVal('j-bareas');
 | 
			
		||||
			params.businessAreaPath0 = WST.ITGetAreaVal('j-careas');
 | 
			
		||||
			var p= $('.file-panel').text();
 | 
			
		||||
			if(p!=""){
 | 
			
		||||
				WST.msg('请先上传补充材料',{icon:6});
 | 
			
		||||
				return;
 | 
			
		||||
			}
 | 
			
		||||
			var shopAds = [];
 | 
			
		||||
			$('.j-gallery-img').each(function(){
 | 
			
		||||
				shopAds.push($(this).attr('v'));
 | 
			
		||||
			});
 | 
			
		||||
 | 
			
		||||
			params.shopAds = shopAds.join(',');
 | 
			
		||||
			var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
		    $.post(WST.U('admin/shops/edit'),params,function(data,textStatus){
 | 
			
		||||
		    	layer.close(loading);
 | 
			
		||||
		    	var json = WST.toAdminJson(data);
 | 
			
		||||
		    	if(json.status=='1'){
 | 
			
		||||
		    		WST.msg("操作成功",{icon:1,time:1000},function(){
 | 
			
		||||
		    			if(params.shopStatus==1){
 | 
			
		||||
			    			location.href=WST.U('admin/shops/index');
 | 
			
		||||
			    		}else{
 | 
			
		||||
                            location.href=WST.U('admin/shops/stopIndex');
 | 
			
		||||
			    		}
 | 
			
		||||
		    		});
 | 
			
		||||
		    		
 | 
			
		||||
		    	}else{
 | 
			
		||||
		    		WST.msg(json.msg,{icon:2});
 | 
			
		||||
		    	}
 | 
			
		||||
		    });
 | 
			
		||||
		}
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
function getUserByKey(){
 | 
			
		||||
	if($.trim($('#keyName').val())=='')return;
 | 
			
		||||
	$('#keyNameBox').html('');
 | 
			
		||||
	$('#shopUserId').val(0);
 | 
			
		||||
	var loading = WST.msg('正在查询用户信息...', {icon: 16,time:60000});
 | 
			
		||||
    $.post(WST.U('admin/users/getUserByKey'),{key:$('#keyName').val()},function(data,textStatus){
 | 
			
		||||
		layer.close(loading);
 | 
			
		||||
		var json = WST.toAdminJson(data);
 | 
			
		||||
		if(json.status=='1'){
 | 
			
		||||
		    $('#keyNameBox').html('用户:'+json.data.loginName);
 | 
			
		||||
		    $('#shopUserId').val(json.data.userId);
 | 
			
		||||
		}else{
 | 
			
		||||
		    WST.msg(json.msg,{icon:2});
 | 
			
		||||
		}
 | 
			
		||||
    });
 | 
			
		||||
}
 | 
			
		||||
function add(){
 | 
			
		||||
	$('#editFrom').isValid(function(v){
 | 
			
		||||
		if(v){
 | 
			
		||||
			var params = WST.getParams('.ipt');
 | 
			
		||||
			params.areaId = WST.ITGetAreaVal('j-areas');
 | 
			
		||||
			params.bankAreaId = WST.ITGetAreaVal('j-bareas');
 | 
			
		||||
			params.businessAreaPath0 = WST.ITGetAreaVal('j-careas');
 | 
			
		||||
			var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
		    $.post(WST.U('admin/shops/add'),params,function(data,textStatus){
 | 
			
		||||
		    	layer.close(loading);
 | 
			
		||||
		    	var json = WST.toAdminJson(data);
 | 
			
		||||
		    	if(json.status=='1'){
 | 
			
		||||
		    		WST.msg("操作成功",{icon:1,time:1000},function(){
 | 
			
		||||
			    		location.href=WST.U('admin/shops/index');
 | 
			
		||||
		    		});
 | 
			
		||||
		    		
 | 
			
		||||
		    	}else{
 | 
			
		||||
		    		WST.msg(json.msg,{icon:2});
 | 
			
		||||
		    	}
 | 
			
		||||
		    });
 | 
			
		||||
		}
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
function apply(){
 | 
			
		||||
	$('#editFrom').isValid(function(v){
 | 
			
		||||
		if(v){
 | 
			
		||||
			var params = WST.getParams('.ipt');			
 | 
			
		||||
			if(params.applyStatus==-1 && params.applyDesc==''){
 | 
			
		||||
				 WST.msg('请输入审核不通过原因!',{icon:2});
 | 
			
		||||
				 return;
 | 
			
		||||
			}			
 | 
			
		||||
			var loading = WST.msg('正在提交数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
		    $.post(WST.U('admin/shops/handleApply'),params,function(data,textStatus){
 | 
			
		||||
		    	//layer.close(loading);
 | 
			
		||||
		    	var json = WST.toAdminJson(data);
 | 
			
		||||
		    	if(json.status=='1'){
 | 
			
		||||
		    		WST.msg("操作成功",{icon:1,time:1000},function(){
 | 
			
		||||
			    		location.href=WST.U('admin/shops/apply');
 | 
			
		||||
		    		});
 | 
			
		||||
		    		
 | 
			
		||||
		    	}else{
 | 
			
		||||
		    		WST.msg(json.msg,{icon:2});
 | 
			
		||||
		    	}
 | 
			
		||||
		    });
 | 
			
		||||
		}
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
function initTime($id,val){
 | 
			
		||||
	var html = [],t0,t1;
 | 
			
		||||
	var str = val.split(':');
 | 
			
		||||
	for(var i=0;i<24;i++){
 | 
			
		||||
		t0 = (val.indexOf(':00')>-1 && (parseInt(str[0],10)==i))?'selected':'';
 | 
			
		||||
		t1 = (val.indexOf(':30')>-1 && (parseInt(str[0],10)==i))?'selected':'';
 | 
			
		||||
		html.push('<option value="'+i+':00" '+t0+'>'+i+':00</option>');
 | 
			
		||||
		html.push('<option value="'+i+':30" '+t1+'>'+i+':30</option>');
 | 
			
		||||
	}
 | 
			
		||||
	$($id).append(html.join(''));
 | 
			
		||||
}
 | 
			
		||||
//质保金管理
 | 
			
		||||
function toDeposit(){
 | 
			
		||||
	location.href=WST.U('admin/shops/toDeposit');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function editInit(){
 | 
			
		||||
	/* 表单验证 */
 | 
			
		||||
    $('#topDeposit').validator({
 | 
			
		||||
      valid: function(form) {
 | 
			
		||||
        var params = WST.getParams('.ipt');
 | 
			
		||||
        if(params.shopId=='') {
 | 
			
		||||
          WST.msg('请填写店铺编号', {
 | 
			
		||||
            icon: 2
 | 
			
		||||
          });
 | 
			
		||||
          return;
 | 
			
		||||
        }
 | 
			
		||||
        if(params.applyStatus==1 && params.addDeposit=='') {
 | 
			
		||||
          WST.msg('请填写充值质保金金额', {
 | 
			
		||||
            icon: 2
 | 
			
		||||
          });
 | 
			
		||||
          return;
 | 
			
		||||
        }
 | 
			
		||||
        if(params.applyStatus==2 && params.offDeposit=='') {
 | 
			
		||||
         WST.msg('请填写扣除质保金金额', {
 | 
			
		||||
           icon: 2
 | 
			
		||||
         });
 | 
			
		||||
         return;
 | 
			
		||||
        }
 | 
			
		||||
        if(params.applyStatus==2 && params.offCause=='') {
 | 
			
		||||
         WST.msg('请填写扣除质保原因', {
 | 
			
		||||
           icon: 2
 | 
			
		||||
         });
 | 
			
		||||
         return;
 | 
			
		||||
        }
 | 
			
		||||
        $.post(WST.U('admin/shops/topDeposit'), params, function(data, textStatus) {
 | 
			
		||||
          var json = WST.toAdminJson(data);
 | 
			
		||||
          if(json.status == 1) {
 | 
			
		||||
            WST.msg(json.msg, {
 | 
			
		||||
              icon: 1
 | 
			
		||||
            }, function() {
 | 
			
		||||
              // $('#goodsOrder').val(+$('#goodsOrder').val()+1);
 | 
			
		||||
              $('#cashDeposit').val('');
 | 
			
		||||
              //location.href = WST.AU('hyhlimitactive://Hyhlimitactive/getGoodsAdd');
 | 
			
		||||
            });
 | 
			
		||||
          } else {
 | 
			
		||||
            WST.msg(json.msg, {
 | 
			
		||||
              icon: 2
 | 
			
		||||
            });
 | 
			
		||||
          }
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										21
									
								
								hyhproject/admin/view/shops/view_apply.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										21
									
								
								hyhproject/admin/view/shops/view_apply.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
{extend name="base" /}
 | 
			
		||||
{block name="js"}
 | 
			
		||||
<script src="__ADMIN__/shops/shops.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
{/block}
 | 
			
		||||
{block name="main"}
 | 
			
		||||
<div class="wst-toolbar">
 | 
			
		||||
店铺名称:<input type="text" name="shopName"  placeholder='店铺名称' id="shopName" class='j-ipt'/>
 | 
			
		||||
是否招商推广:
 | 
			
		||||
<select id="isInvestment" class='ipt'>
 | 
			
		||||
   <option value="">-请选择-</option>
 | 
			
		||||
   <option value="1">是</option>
 | 
			
		||||
   <option value="0">否</option>
 | 
			
		||||
</select>
 | 
			
		||||
<button class="btn btn-primary" onclick='javascript:loadApplyGrid(0)'><i class='fa fa-search'></i>查询</button>
 | 
			
		||||
<div style='clear:both'></div>
 | 
			
		||||
</div>
 | 
			
		||||
<div id="maingrid"></div>
 | 
			
		||||
<script>
 | 
			
		||||
$(function(){initApplyGrid();})
 | 
			
		||||
</script>
 | 
			
		||||
{/block}
 | 
			
		||||
		Reference in New Issue
	
	Block a user