why.xingtongworld.com项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

354 lines
16 KiB

<script>
document.write('<script src="/app/home/view/szwjs/static/libs/webuploader.min.js"><\/script>');
document.write('<script src="/app/home/view/szwjs/index/Public/Js/base.js"><\/script>');
</script>
<div class="tvmcontent">
<div class="tvmtabwrap">
<div class="tvmtabtitle">托管申请表</div>
<form id="tgapply_form" class="myform">
<table class="tvmtab">
<tr>
<td colspan="5" class="ptitle color_red"><span id="form_title"></span>要素交易平台资产托管申请表</td>
</tr>
<tr>
<td class="ttitle">托管方名称<i style="color:red">*</i></td>
<td colspan="4"><input id="hoster_name"></td>
</tr>
<tr>
<td class="ttitle">托管方类别</td>
<td colspan="4" class="inlines"><select id="hoster_type">
<option value="1">机构/公司</option>
<option value="2">个人</option>
</select><span class="r_btn"><span class="b_ar"></span></span></td>
</tr>
<tr style="display:none">
<td class="ttitle">{if condition="$tg_type neq 1"}托管{/if}资产类别</td>
<td colspan="4" class="inlines"><select id="capital_type">
</select><span class="r_btn"><span class="b_ar"></span></span></td>
</tr>
<tr style="display:none">
<td class="ttitle">托管资产子类别</td>
<td colspan="4" class="inlines"><select id="capital_child">
</select><span class="r_btn"><span class="b_ar"></span></span></td>
</tr>
<tr>
<td class="ttitle">托管方诉求</td>
<td colspan="4" class="inlines">
<select id="hoster_reason">
<option value="4">资产托管</option>
<option value="5">资产管理</option>
<option value="7">资产转让</option>
<option value="6">资产利用</option>
</select>
<span class="r_btn"><span class="b_ar"></span></span></td>
</tr>
<tr>
<td class="ttitle" rowspan="10" id="base_info"><div>基本情况</div></td>
<td class="ttitle widthAuto" colspan="4"><span class="owner_role">托管方</span>为“企业法人”的填写以下内容:</td>
</tr>
<tr>
<td class="ttitle weightN org">单位名称<i style="color:red">*</i></td>
<td colspan="3"><input id="company_name"></td>
</tr>
<tr>
<td class="ttitle weightN org">单位地址<i style="color:red">*</i></td>
<td colspan="3"><input id="company_addr"></td>
</tr>
<tr>
<td class="ttitle weightN org">法定代表人<i style="color:red">*</i></td>
<td colspan="3"><input id="legal_person"></td>
</tr>
<tr>
<td class="ttitle weightN org">法人身份证<i style="color:red">*</i></td>
<td colspan="3"><input id="legal_cardno"></td>
</tr>
<tr>
<td class="ttitle weightN org">营业执照代码<i style="color:red">*</i></td>
<td colspan="3"><input id="business_code"></td>
</tr>
<tr>
<td class="ttitle weightN org">注册资本<i style="color:red">*</i></td>
<td colspan="3" class="inlines"><input id="reg_capital" type="number" min="0">
<span class="r_btn">万元</span></td>
</tr>
<tr>
<td class="ttitle weightN org">经济性质<i style="color:red">*</i></td>
<td colspan="3"><input id="eco_nature"></td>
</tr>
<tr>
<td class="ttitle widthAuto" colspan="4"><span class="owner_role">托管方</span>为“自然人”的填写以下内容:</td>
</tr>
<tr>
<td class="ttitle weightN">证件类型</td>
<td class="inlines"><select id="leader_cardtype">
<option value="000">身份证</option>
<option value="001">护照</option>
<option value="002">户口簿</option>
</select><span class="r_btn"><span class="b_ar"></span></span></td>
<td class="ttitle weightN person">证件号码</td>
<td><input id="leader_cardno"></td>
</tr>
<tr>
<td class="ttitle weightN person" id="natural_name_label">权属方姓名</td>
<td class="inlines"><input id="natural_name"></td>
</tr>
<tr>
<td class="ttitle" rowspan="3"><div>联系方式</div></td>
<td class="ttitle weightN" >通讯地址<i style="color:red">*</i></td>
<td colspan="3"><input id="natural_addr"></td>
</tr>
<tr>
<td class="ttitle weightN">联系电话<i style="color:red">*</i></td>
<td><input id="natural_tel" type="tel"></td>
<td class="ttitle weightN">传真</td>
<td><input id="natural_fax"></td>
</tr>
<tr>
<td class="ttitle weightN">电子邮件<i style="color:red">*</i></td>
<td><input id="natural_email" type="email"></td>
<td class="ttitle weightN">邮编</td>
<td><input id="natural_code" type="tel"></td>
</tr>
<tr class="tgtype3">
<td class="ttitle">推荐机构(无则不填)</td>
<td colspan="4" class="inlines"><input id="recom_agency" type="tel"></td>
</tr>
</table>
<br/>
<br/>
<table class="tvmtab">
<tr>
<td colspan="5" class="ttitle">(托管信息)</td>
</tr>
<tr>
<td class="ttitle widthMid">托管资产数量<i style="color:red">*</i></td>
<td colspan="4" class="inlines"><input type="number" min="0" id="capital_num">
<span class="r_btn"></span></td>
</tr>
</table>
<br/>
<br/>
<table id="prolist" class="tvmtab text-center" style="line-height:1.4em;">
<thead>
<tr>
<td colspan="6" class="ttitle">
(资产托管清单)
{if condition="!isset($showinfo) or (isset($showinfo) and $showinfo eq 0)"}
<div style="float:right">
<div class="modeub addproduct" style="width:72px;margin-right:48px;cursor:pointer;">
<div class="leftbutton2"></div>
<div class="box_flex_1 centerbutton2 list_flex flex_center">新增</div>
<div class="rightbutton2"></div>
</div>
</div>
{/if}
</td>
</tr>
<tr>
<th class="ttitle" align="center" style="width:50px;">#</th>
<th class="ttitle" align="center">资产名称</th>
<th class="ttitle" align="center">资产类别</th>
<th class="ttitle" align="center" style="width:90px;">托管方报价</th>
{if condition="(isset($products) and count($products)) or (isset($showinfo) and $showinfo eq 0)"}
<th class="ttitle" align="center">审核状态</th>
{/if}
{if condition="!isset($status) or (isset($status) and $status elt 40)"}
<th class="ttitle" align="center" width="90px">操作</th>
{/if}
</tr>
</thead>
<tbody>
{if condition="isset($products) and count($products)"}
{volist name="products" id="vo" key="k"}
<tr data-json="<?php echo urldecode(http_build_query($vo));?>">
<td style="padding:4px 0px;">{$k}</td>
<td>{$vo.capital_name}{$vo.zj_name?'<br/>专家修改:'.$vo.zj_name:''}</td>
<td>{$vo.capital_child|getCapitalChild}</td>
<td>{$vo.capital_price}</td>
<td><span class="listedstatus">{if condition="$vo['flag'] eq 1"}审核通过{else}未审核{/if}</span></td>
{if condition="!isset($status) or (isset($status) and $status elt 40)"}
<td style="padding:4px 0px;">
{if condition="$vo['flag'] neq 1"}
<div style="width:72px;display:inline-block;">
<div class="modeub edtproduct">
<div class="leftbutton2"></div>
<div class="box_flex_1 centerbutton2 list_flex flex_center">编辑</div>
<div class="rightbutton2"></div>
</div>
</div>
<div style="width:72px;display:inline-block;">
<div class="modeub delproduct">
<div class="leftbutton2"></div>
<div class="box_flex_1 centerbutton2 list_flex flex_center">删除</div>
<div class="rightbutton2"></div>
</div>
</div>
{/if}
</td>
{/if}
</tr>
{/volist}
{/if}
</tbody>
{if condition="isset($baseinfo) and $baseinfo['apply_type'] eq 2 and $baseinfo['proassign'] eq 1"}
<tfoot>
<tr class="tgtype2">
<td class="ttitle">专家修改</td>
<td colspan="5" class="inlines">
&nbsp;&nbsp;<input type="radio" name="assagree" id="assagree1" value="1" checked>同意&nbsp;&nbsp;
<input type="radio" name="assagree" id="assagree2" value="0">不同意
</td>
</tr>
</tfoot>
{/if}
</table>
</form>
{notempty name="files"}
<div class="basiccon3">
<div class="modept list_flex flex_center">
<div class="sicon logobackimg"></div>
<div class="filename">附件提交</div>
<div class="sicon logobackimg"></div>
</div>
<div id="fj_list">
<div class="listborder">
<div class="listleftright list_flex">
<div class="listnumber">#</div>
<div style="width: 178px;padding-left: 20px;">附件标题</div>
<div class="box_flex_1" style="text-align: center;">文件格式</div>
<div style="width: 210px;text-align: center;">上传</div>
</div>
</div>
{volist name="files" id="vo" key="k"}
<div class="listborder poster">
<div class="listleftright modeub cursor_text">
<div class="listnumber">{$k}</div>
<div class="box_flex_1 modeub modeac">
{if condition="isset($vo['flag']) and $vo.flag eq 1 and $vo.path"}
<div class="xuzhi txt must" style="width: 275px;text-align:left;text-decoration: underline" title="点击查看" onclick="javascript:window.open('{$vo.path}')" >{$vo.ftypedescr}</div>
{else}
<div class="xuzhi txt must" style="width: 275px;text-align:left;">{$vo.ftypedescr}</div>
{/if}
{notempty name="vo.ftemp_id"}
<div class="icondown logobackimg" style="background-size: 65%;" onclick="javascript:window.open('{:get_capitaltempfile($vo.ftemp_id)}')"></div>
<div style="color:#eb600b;font-size: 12px;" onclick="javascript:window.open('{:get_capitaltempfile($vo.ftemp_id)}')">下载模板</div>
{/notempty}
</div>
<div class="liststu listedstatus" style="width: 238px; text-align: center;">{$vo.ftype|strtolower}</div>
<div class="liststu listedstatus modeub modepc" style="width: 450px">
<div style="line-height: 32px;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;width: 250px;padding-right: 10px;">
{if condition="(isset($vo['reload']) and $vo['reload'] eq 1) and (isset($vo['flag']) and $vo.flag eq 1)"}审核通过{/if}
</div>
{if condition="(isset($vo['flag']) and $vo.flag eq 1) and (isset($vo['reload']) and $vo['reload']!=1)"}
审核通过
{elseif condition="!isset($showinfo) or $showinfo!=1"}
<div class="buttonright modeub buttonright2" style="margin-left: 0px;">
<div class="leftbutton2"></div>
<div class="box_flex_1 centerbutton2 list_flex flex_center">选择文件</div>
<div class="rightbutton2"></div>
<div {if condition="$vo.mustupload eq 1"}required="required"{/if} class="file_name webuploader-container" id="file_one_{$vo.ftype_id}" {if condition="$vo.ftype eq 'JPG'"}accept="image/jpeg" {/if}
{if condition="$vo.ftype eq 'PDF'"}accept="application/pdf" {/if}
{if condition="isset($vo['reload']) and $vo['reload'] eq 1"} data-fname="{$vo.fname}" data-url="{$vo.path}" data-uniquecode="{$vo.unique_code}"{/if}
{if condition="$vo.ftype eq 'DOC'"}accept="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document" {/if} data-fname="{$vo.ftypedescr}" >
</div>
</div>
{/if}
</div>
</div>
</div>
{/volist}
</div>
{/notempty}
{if condition="isset($showinfo) and $showinfo"}
<input type="hidden" id="showinfo" value="1" />
<div class="basiccon3">
<div class="tvmformbtns" style="padding-bottom: 30px;">
<button onclick='window.location.href="{:url("center/mytg")}"' class="submitbtn">返回</button>
</div>
</div>
{else}
<div class="basiccon3" id="TgApplbutWrap">
<div class="tvmformbtns" style="padding-bottom: 30px;">
<button id="TgApplbut" class="submitbtn" disabled>提交</button>
</div>
</div>
{/if}
</div>
</div>
<script>
$(function(){
var txts=[["法人身份证正面照片","法人身份证反面照片"],["权属人身份证正面照片","权属人身份证反面照片"]];
$(".poster .file_name").eq(2).attr('required',true);
$("#hoster_type").change(function(){
var val=$("#hoster_type").val();
if(val==1){
var txt=txts[0];
$(".poster .txt").eq(0).html(txt[0]);
$(".poster .txt").eq(1).html(txt[1]);
//$(".poster").eq(2).show();
$(".poster").eq(2).find('.xuzhi').addClass('must');
$(".poster .file_name").eq(2).attr('required',true);
$(".poster").eq(6).find('.xuzhi').addClass('must');
$(".poster .file_name").eq(6).attr('required',true);
}else{
//$(".poster").eq(2).hide();
$(".poster").eq(2).find('.xuzhi').removeClass('must');
$(".poster .file_name").eq(2).attr('required',false);
$(".poster").eq(6).find('.xuzhi').removeClass('must');
$(".poster .file_name").eq(6).attr('required',false);
var txt=txts[1];
$(".poster .txt").eq(0).html(txt[0]);
$(".poster .txt").eq(1).html(txt[1]);
}
});
$(".addproduct").click(function(event){
event.preventDefault();
var capital_num=$("#capital_num").val();
if(capital_num<=0){
tool.msg("请先填写资产数量");
return true;
}
var current=$("#prolist tbody tr").length;
if(current+1>capital_num){
tool.msg("超过最大资产托管数量");
return true;
}
layer.open({
type: 2,
area: ['50%', '94%'],
//skin: 'layui-layer-rim', //加上边框
title: false,
content:"{:url('xcadd2',['tg_type'=>$tg_type,'apply_id'=>$apply_id])}"
});
});
$("body").delegate(".delproduct",'click',function(){
var parent=$(this).parents('#prolist');
var index=parent.find(this).index('.delproduct');
$("body").layerAlert('确定删除此托管资产?','error',function(){
$("#prolist tbody tr").eq(index).remove();
});
});
$("body").delegate(".edtproduct",'click',function(){
var parent=$(this).parents('#prolist');
var index=parent.find(this).index('.edtproduct');
var url="{:url('xcadd2',['tg_type'=>$tg_type,'apply_id'=>$apply_id])}";
layer.open({
type: 2,
area: ['50%', '94%'],
//skin: 'layui-layer-rim', //加上边框
title: false,
content:url+"?index="+index
});
});
});
</script>