You've already forked qlg.tsgz.moe
							
							
		
			
				
	
	
		
			258 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			258 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
		
			Executable File
		
	
	
	
	
| <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>
 | |
| 
 |