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.
160 lines
7.8 KiB
160 lines
7.8 KiB
<!DOCTYPE html>
|
|
<!--[if IE 8]> <html class="ie ie8"> <![endif]-->
|
|
<!--[if IE 9]> <html class="ie ie9"> <![endif]-->
|
|
<!--[if gt IE 9]><!--> <html> <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{$menu.menu_seo_title|default=$site_seo_title} {$site_name}</title>
|
|
<meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
|
|
<meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
|
|
{include file="public:head" /}
|
|
</head>
|
|
<body class="home">
|
|
<div class="wrap">
|
|
{include file="public:nav" /}
|
|
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" />
|
|
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script>
|
|
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script>
|
|
<div id="main-cmf">
|
|
<div class="container entry entry_in">
|
|
<div class="entry_i">
|
|
<h2><span style="color: red">请补交以下挂牌材料</span></h2>
|
|
<form class="form-horizontal ajaxForm2" name="form0" method="post" action="{:url('home/Listn/gp_runbasecode')}" enctype="multipart/form-data">
|
|
<input type="hidden" name="apply_id" value="{$apply_id}" />
|
|
<table class="table table-striped table-bordered">
|
|
<tbody>
|
|
<tr style="background: #eaeaea">
|
|
<td colspan="5">挂牌信息</td>
|
|
</tr>
|
|
<tr>
|
|
<td>挂牌号码选择</td>
|
|
<td colspan="4" style="text-align: left">
|
|
<input type="radio" id="auto" name="codetype" value="0" {if condition="$pageno eq 0"}checked{/if}>
|
|
<label for="i1">系统分配</label>
|
|
<input type="radio" id="special" name="codetype" value="1" {if condition="$pageno gt 0"}checked{/if}>
|
|
<label for="i2">特殊号码</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<table class="table table-striped table-bordered table-hover saleno" id="dynamic-table" style="display:{if condition="$pageno eq 0"}none{else/}block{/if};">
|
|
<thead>
|
|
<tr>
|
|
<th style="display: none;">ID</th>
|
|
<th style="width: 200px;text-align: center;">号码</th>
|
|
<th style="width: 200px;text-align: center;">价格</th>
|
|
<th style="width: 180px;text-align: center;">选择</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody id="ajax-data">
|
|
{foreach name="nolist" item="v"}
|
|
<tr>
|
|
<td style="display: none;" height="20">{$v.id}</td>
|
|
<td>{$v.saleno}</td>
|
|
<td>{$v.price}元</td>
|
|
<td>
|
|
<div>
|
|
<input name="selno" id="selno" type="radio" class="ace" value="{$v.id}">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
<tr>
|
|
<td height="50" colspan="17" align="center">{$page}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>企业简称</td>
|
|
<td colspan="4">
|
|
<input type="text" value="" name="shortname" maxlength="50" required>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height: 150px;">企业LOGO</td>
|
|
<td colspan="4" style="text-align: left;">
|
|
<a href="javascript:;" class="file" title="点击选择所要上传的图片">
|
|
<input type="file" accept="image/jpeg" maxlength="50" data-field="1" name="file_one[]" id="file_1"/>
|
|
选择文件
|
|
</a>
|
|
<a href="javascript:;" onclick="return backpic2('','1');" title="还原修改前的图片" class="file">
|
|
撤销修改
|
|
</a>
|
|
<span class="lbl">
|
|
<img src="" class="img-tr" id="img_1" >
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<button class="l_entry" type="submit">提交</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include file="public:footer"/}
|
|
{include file="public:scripts"/}
|
|
<script type="text/javascript" src="__PUBLIC__/others/region.js"></script>
|
|
<script>
|
|
$("#file0").change(function () {
|
|
var objUrl = getObjectURL(this.files[0]);
|
|
console.log("objUrl = " + objUrl);
|
|
if (objUrl) {
|
|
$("#img0").attr("src", objUrl);
|
|
}
|
|
});
|
|
$("input[id^=file_]").change(function () {
|
|
var field=$(this).data('field'),objUrl = getObjectURL2(this.files[0],field);
|
|
console.log("objUrl = " + objUrl);
|
|
if (objUrl) {
|
|
$("#img_"+field).attr("src", objUrl);
|
|
}
|
|
});
|
|
function getObjectURL(file) {
|
|
var url = null;
|
|
if (window.createObjectURL != undefined) { // basic
|
|
$("#oldcheckpic").val("nopic");
|
|
url = window.createObjectURL(file);
|
|
} else if (window.URL != undefined) { // mozilla(firefox)
|
|
$("#oldcheckpic").val("nopic");
|
|
url = window.URL.createObjectURL(file);
|
|
} else if (window.webkitURL != undefined) { // webkit or chrome
|
|
$("#oldcheckpic").val("nopic");
|
|
url = window.webkitURL.createObjectURL(file);
|
|
}
|
|
return url;
|
|
}
|
|
function backpic(picurl) {
|
|
$("#img0").attr("src", picurl);//还原修改前的图片
|
|
$("input[name='file0']").val("");//清空文本框的值
|
|
$("input[name='oldcheckpic']").val(picurl);//清空文本框的值
|
|
}
|
|
function getObjectURL2(file,field) {
|
|
var url = null;
|
|
if (window.createObjectURL != undefined) { // basic
|
|
$("#oldcheckpic_"+field).val("nopic");
|
|
url = window.createObjectURL(file);
|
|
} else if (window.URL != undefined) { // mozilla(firefox)
|
|
$("#oldcheckpic_"+field).val("nopic");
|
|
url = window.URL.createObjectURL(file);
|
|
} else if (window.webkitURL != undefined) { // webkit or chrome
|
|
$("#oldcheckpic_"+field).val("nopic");
|
|
url = window.webkitURL.createObjectURL(file);
|
|
}
|
|
return url;
|
|
}
|
|
function backpic2(picurl,field) {
|
|
$("#img_"+field).attr("src", picurl);//还原修改前的图片
|
|
$("#file_"+field).val("");//清空文本框的值
|
|
$("#oldcheckpic_"+field).val(picurl);//清空文本框的值
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|