|
|
@ -81,6 +81,14 @@
|
|
|
|
<span class="add-on"><i class="icon-th"></i></span>
|
|
|
|
<span class="add-on"><i class="icon-th"></i></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="input-list input-list-promote search_label_rehab">
|
|
|
|
|
|
|
|
<select id="verify_status" name="verify_status" class="select_gallery" >
|
|
|
|
|
|
|
|
<option value="">请选择审核状态</option>
|
|
|
|
|
|
|
|
<option value="0">未审核</option>
|
|
|
|
|
|
|
|
<option value="1">审核通过</option>
|
|
|
|
|
|
|
|
<option value="2">审核拒绝</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<input type="hidden" name="" value="" class="sortBy">
|
|
|
|
<input type="hidden" name="" value="" class="sortBy">
|
|
|
|
<input type="hidden" name="type" value="{$_GET['type']}">
|
|
|
|
<input type="hidden" name="type" value="{$_GET['type']}">
|
|
|
|
<div class="input-list">
|
|
|
|
<div class="input-list">
|
|
|
@ -95,6 +103,8 @@
|
|
|
|
<a class="butn" id="upstream">生成上游对账单</a>
|
|
|
|
<a class="butn" id="upstream">生成上游对账单</a>
|
|
|
|
<a class="butn" id="downstream">生成下游对账单</a>
|
|
|
|
<a class="butn" id="downstream">生成下游对账单</a>
|
|
|
|
<a class="butn" id="persondownstream" style="width: 150px">生成下游个人结算单</a>
|
|
|
|
<a class="butn" id="persondownstream" style="width: 150px">生成下游个人结算单</a>
|
|
|
|
|
|
|
|
<a class="butn" id="shenhe" >审核通过</a>
|
|
|
|
|
|
|
|
<a class="butn" id="reject" >审核拒绝</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -105,11 +115,13 @@
|
|
|
|
<!-- 表头 -->
|
|
|
|
<!-- 表头 -->
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th><input class="check-all" type="checkbox"></th>
|
|
|
|
<th>对账单类型</th>
|
|
|
|
<th>对账单类型</th>
|
|
|
|
<th>生成时间</th>
|
|
|
|
<th>生成时间</th>
|
|
|
|
<th>对账公司</th>
|
|
|
|
<th>对账公司</th>
|
|
|
|
<th>对账日期</th>
|
|
|
|
<th>对账日期</th>
|
|
|
|
<th>对账金额</th>
|
|
|
|
<th>对账金额</th>
|
|
|
|
|
|
|
|
<th>审核状态</th>
|
|
|
|
<th>确认状态</th>
|
|
|
|
<th>确认状态</th>
|
|
|
|
<th>操作</th>
|
|
|
|
<th>操作</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
@ -125,11 +137,14 @@
|
|
|
|
<notemtpy name = "data">
|
|
|
|
<notemtpy name = "data">
|
|
|
|
<volist name="data" id="data">
|
|
|
|
<volist name="data" id="data">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td ><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]" >
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td><if condition="$data['statement_type'] eq 0">上游对账单<elseif condition="$data['statement_type'] eq 1 and $data['order'] eq 0"/>下游对账单<elseif condition="$data['statement_type'] eq 1 and $data['order'] eq 1"/>下游补点对账单<elseif condition="$data['statement_type'] eq 2"/>下游个人结算单</if></td>
|
|
|
|
<td><if condition="$data['statement_type'] eq 0">上游对账单<elseif condition="$data['statement_type'] eq 1 and $data['order'] eq 0"/>下游对账单<elseif condition="$data['statement_type'] eq 1 and $data['order'] eq 1"/>下游补点对账单<elseif condition="$data['statement_type'] eq 2"/>下游个人结算单</if></td>
|
|
|
|
<td>{$data.create_time}</td>
|
|
|
|
<td>{$data.create_time}</td>
|
|
|
|
<td>{$data.company_name}</td>
|
|
|
|
<td>{$data.company_name}</td>
|
|
|
|
<td>{$data.statement_begin_time}-{$data.statement_end_time}</td>
|
|
|
|
<td>{$data.statement_begin_time}-{$data.statement_end_time}</td>
|
|
|
|
<td>{$data.statement_money}</td>
|
|
|
|
<td>{$data.statement_money}</td>
|
|
|
|
|
|
|
|
<td><if condition="$data['verify_status'] eq 0">未审核<elseif condition="$data['verify_status'] eq 1"/>审核通过<elseif condition="$data['verify_status'] eq 2"/>审核拒绝</if></td>
|
|
|
|
<td><if condition="$data['is_confirm'] eq 0">未确认<elseif condition="$data['is_confirm'] eq 1"/>确认</if></td>
|
|
|
|
<td><if condition="$data['is_confirm'] eq 0">未确认<elseif condition="$data['is_confirm'] eq 1"/>确认</if></td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a class="confirm statement_view" data-id="{$data.id}" data-type="{$data.statement_type}">查看</a>
|
|
|
|
<a class="confirm statement_view" data-id="{$data.id}" data-type="{$data.statement_type}">查看</a>
|
|
|
@ -189,7 +204,81 @@
|
|
|
|
function reload() {
|
|
|
|
function reload() {
|
|
|
|
window.location.reload();
|
|
|
|
window.location.reload();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#shenhe").click(function () {
|
|
|
|
|
|
|
|
var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) {
|
|
|
|
|
|
|
|
return $(elem).val();
|
|
|
|
|
|
|
|
}).get().join(",");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
layer.confirm('【警告】撤销后将不可回退,如需继续请点击确认', {
|
|
|
|
|
|
|
|
btn: ['确认','取消'],
|
|
|
|
|
|
|
|
title:false
|
|
|
|
|
|
|
|
}, function(index) {
|
|
|
|
|
|
|
|
if (!text) {
|
|
|
|
|
|
|
|
layer.msg("<em style='color:white'>" + '请选择后再进行操作' + "</em>");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
|
|
|
url: "{:U('statementMangement/verifyStatementStatus')}",
|
|
|
|
|
|
|
|
type: "get",
|
|
|
|
|
|
|
|
data: {order: text},
|
|
|
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
|
|
|
success: function (data) {
|
|
|
|
|
|
|
|
if (data.status == 0) {
|
|
|
|
|
|
|
|
layer.msg("<em style='color:white'>" + '审核通过失败' + "</em>");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
layer.msg("<em style='color:white'>" + '审核通过成功' + "</em>")
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
window.parent.reload();
|
|
|
|
|
|
|
|
},1500);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#reject").click(function () {
|
|
|
|
|
|
|
|
var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) {
|
|
|
|
|
|
|
|
return $(elem).val();
|
|
|
|
|
|
|
|
}).get().join(",");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
layer.confirm('【警告】撤销后将不可回退,如需继续请点击确认', {
|
|
|
|
|
|
|
|
btn: ['确认','取消'],
|
|
|
|
|
|
|
|
title:false
|
|
|
|
|
|
|
|
}, function(index) {
|
|
|
|
|
|
|
|
if (!text) {
|
|
|
|
|
|
|
|
layer.msg("<em style='color:white'>" + '请选择后再进行操作' + "</em>");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
|
|
|
url: "{:U('statementMangement/rejectStatementStatus')}",
|
|
|
|
|
|
|
|
type: "get",
|
|
|
|
|
|
|
|
data: {order: text},
|
|
|
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
|
|
|
success: function (data) {
|
|
|
|
|
|
|
|
if (data.status == 0) {
|
|
|
|
|
|
|
|
layer.msg("<em style='color:white'>" + '审核拒绝失败' + "</em>");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
layer.msg("<em style='color:white'>" + '审核拒绝成功' + "</em>")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
window.parent.reload();
|
|
|
|
|
|
|
|
},1500);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
//搜索功能
|
|
|
|
//搜索功能
|
|
|
|
var start = $("#time_start").val();
|
|
|
|
var start = $("#time_start").val();
|
|
|
|
var end = $("#time_end").val();
|
|
|
|
var end = $("#time_end").val();
|
|
|
|