|
|
|
|
<extend name="Public/promote_base"/>
|
|
|
|
|
<block name="css">
|
|
|
|
|
<link href="__CSS__/20180207/account.css" rel="stylesheet" >
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
<block name="body">
|
|
|
|
|
<div class="page-list normal_list promote-add_chlid-form">
|
|
|
|
|
|
|
|
|
|
<div class="trunk-title">
|
|
|
|
|
<div class="location">
|
|
|
|
|
<div class="location-container">当前位置:<span>扶持管理></span><span>扶持申请></span><span>申请后续</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
<img src="__IMG__/20180207/icon_normal_shenqing.png">
|
|
|
|
|
<span class="title_main">申请后续</span>
|
|
|
|
|
<span class="details">说明:申请后续</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="trunk-content article">
|
|
|
|
|
<div class="trunk-list list_normal">
|
|
|
|
|
<form action="{:U('apply')}" novalidate="novalidate" method="post" class="base_info" id="form_reg">
|
|
|
|
|
<table class="table2">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">扶持数量:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="apply_resource" id="apply_resource" placeholder="扶持数量" onkeyup = "value=value.replace(/[^\d]/g,'')">
|
|
|
|
|
<p id="account_tip"></p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">备注:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="name txt" name="apply_remark" id="apply_remark" placeholder="备注">
|
|
|
|
|
<span id="password_tip"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"></td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="hidden" name="id" value="{$_GET['id']}" id="apply_id"></input>
|
|
|
|
|
<input type="button" class="tj btn ajax-post" onclick="check()" value="确认添加" title="" target-form="base_info">
|
|
|
|
|
<a class="back_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();">返回</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</block>
|
|
|
|
|
<block name="script">
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function check() {
|
|
|
|
|
|
|
|
|
|
var apply_resource = $('#apply_resource').val();
|
|
|
|
|
var apply_remark = $('#apply_remark').val();
|
|
|
|
|
var apply_id = $('#apply_id').val();
|
|
|
|
|
if(apply_resource == '' || apply_resource ==0){
|
|
|
|
|
layer.msg('扶持数量不能为空');
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
type:"POST",
|
|
|
|
|
url:"{:U('batch_apply')}",
|
|
|
|
|
data:{
|
|
|
|
|
apply_resource:apply_resource,
|
|
|
|
|
apply_remark:apply_remark,
|
|
|
|
|
apply_id:apply_id
|
|
|
|
|
},
|
|
|
|
|
dataType:"json",
|
|
|
|
|
success:function(res){
|
|
|
|
|
if(res.status == 1){
|
|
|
|
|
layer.msg(res.msg);
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
window.location.href="{:U('index')}";
|
|
|
|
|
},1000);
|
|
|
|
|
}else{
|
|
|
|
|
layer.msg(res.msg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
|