first commit
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
<script>
|
||||
function abnormalAudit(){
|
||||
var type = Z("#type").val();
|
||||
var modifyMoney = Z("#modifyMoney").val();
|
||||
if(Z.V.isEmpty(type)){
|
||||
Z.alert("请选择操作的金额类型");
|
||||
return;
|
||||
}
|
||||
var remark = Z("#remark").val();
|
||||
var designOrderId = Z("#modifyDesignOrder").val();
|
||||
if (Z.V.isEmpty(modifyMoney))
|
||||
{
|
||||
Z.alert("操作金额不能为空");
|
||||
return;
|
||||
}
|
||||
|
||||
editAbnormalAudit('${operatorCode}',modifyMoney,designOrderId,remark,type);
|
||||
}
|
||||
|
||||
function editAbnormalAudit(operatorCode,modifyMoney,designOrderId,remark,type){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("VirtualAccountAction");
|
||||
ajax.setMethodName("abnormalAudit");
|
||||
ajax.addParam(operatorCode);
|
||||
ajax.addParam(modifyMoney);
|
||||
ajax.addParam(designOrderId);
|
||||
ajax.addParam(remark);
|
||||
ajax.addParam(type);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功",function(){
|
||||
parent.location.reload();
|
||||
parent.Z.Dialog.close();
|
||||
});
|
||||
});
|
||||
ajax.setLoading("abnormalAudit", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
//修改操作金额类型
|
||||
function editOperatorDate(type){
|
||||
Z("#type").val(type);
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.container{ min-height:467px; background:#fff;}
|
||||
.order-no td{ padding:0 0 0 30px;}
|
||||
.order-title{ color:#0089e1;font-weight:bold; font-size:26px; padding:10px 0 0 30px; line-height:60px;}
|
||||
.order-p{ font-size:16px; padding:0 0 0 30px; line-height:60px; border-bottom:1px solid #f2f2f2;}
|
||||
.order-info{ background:#0089e1;border-radius:8px;width:520px;height:130px; margin:10px 0 0 30px;text-align:center; color:#fff; font-size:22px; padding:16px 66px; line-height:36px;}
|
||||
.order-info span{ color:#fffc00; font-weight:bold;}
|
||||
</style>
|
||||
<div class='order-box'>
|
||||
<div class="order-title">异常稽核</div>
|
||||
<div class='order-p'>设计师账户: ${operatorCode}</div>
|
||||
<div class='order-p'>当前可用金额: ${usableMoney} 元</div>
|
||||
<div class='order-p' style="line-height:30px">修改订单号:<input id="modifyDesignOrder" placeholder="可为空" name="modifyDesignOrder" value=""></div></br>
|
||||
<div id='type' class='order-p' style="line-height:30px"><span>操作金额: </span><input id="modifyMoney" placeholder="正数为增加,负数为减少" name="modifyFreezeMoney" value=""> 元
|
||||
</div>
|
||||
<div id='typeId' class='order-p' style="line-height:30px"><span>操作类型: </span>
|
||||
<!-- <button type="button" data-options="group:typeFreeze" class="z-button z-large z-bordered z-blue-bd z-mg-t3 z-hover <#if item_index == 0>z-active</#if>" onclick="{Z(this).toggleClass('z-active');editOperatorDate('freeze')};">冻结</button>-->
|
||||
<button type="button" data-options="group:typeFreeze" class="z-button z-large z-bordered z-blue-bd z-mg-t3 z-hover <#if item_index == 0>z-active</#if>" onclick="{Z(this).toggleClass('z-active');editOperatorDate('usable')};">可用</button>
|
||||
</div>
|
||||
<div class='order-p' style="line-height:30px; display: flex; margin: 10px 0 0 0;">操作备注: <textarea id="remark" name="remark" value="" cols="50"></textarea></div>
|
||||
</div>
|
||||
<#-- 操作 -->
|
||||
<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
|
||||
<button id="abnormalAudit" style="border-radius:8px; background:#0089e1;" class="z-button ${zmr_color_class} z-large z-w100" onclick="abnormalAudit();">确认</button>
|
||||
<button type="button" style="border-radius:8px; background:#949393; color:#fff; border:none;" class="z-button z-large z-mg-l10 z-w100" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,39 @@
|
||||
<script>
|
||||
function freezeSalary(){
|
||||
var modifyMoney = Z("#modifyMoney").val();
|
||||
var remark = Z("#remark").val();
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("VirtualAccountAction");
|
||||
ajax.setMethodName("freezeSalary");
|
||||
ajax.addParam("operatorCode",'${operatorCode}');
|
||||
ajax.addParam("modifyMoney",modifyMoney);
|
||||
ajax.addParam("remark",remark);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.setLoading("freezeSalary", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.container{ min-height:395px; background:#fff;}
|
||||
.order-no td{ padding:0 0 0 30px;}
|
||||
.order-title{ color:#0089e1;font-weight:bold; font-size:26px; padding:10px 0 0 30px; line-height:60px;}
|
||||
.order-p{ font-size:16px; padding:0 0 0 30px; line-height:60px; border-bottom:1px solid #f2f2f2;}
|
||||
.order-info{ background:#0089e1;border-radius:8px;width:520px;height:130px; margin:10px 0 0 30px;text-align:center; color:#fff; font-size:22px; padding:16px 66px; line-height:36px;}
|
||||
.order-info span{ color:#fffc00; font-weight:bold;}
|
||||
</style>
|
||||
<div class='order-box'>
|
||||
<div class="order-title">冻结资金</div>
|
||||
<div class='order-p'>设计师账户:${operatorCode}</div>
|
||||
<div class='order-p'>当前可用金额: ${usableMoney} 元</div>
|
||||
<div class='order-p' style="line-height:30px">冻结金额:<input id="modifyMoney" data-options="type:Integer;paste:true;" name="modifyMoney" value="${modifyMoney}"> 元</div>
|
||||
<div class='order-p' style="line-height:30px; display: flex; margin: 10px 0 0 0;">操作备注:<textarea id="remark" name="remark" value="${remark}" cols="50"></textarea></div>
|
||||
</div>
|
||||
<#-- 操作 -->
|
||||
<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
|
||||
<button id="sendSalary" style="border-radius:8px; background:#0089e1;" class="z-button ${zmr_color_class} z-large z-w100" onclick="freezeSalary();">确认</button>
|
||||
<button type="button" style="border-radius:8px; background:#949393; color:#fff; border:none;" class="z-button z-large z-mg-l10 z-w100" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,42 @@
|
||||
<script>
|
||||
function sendSalary(){
|
||||
var modifyMoney = Z("#modifyMoney").val();
|
||||
var remark = Z("#remark").val();
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("VirtualAccountAction");
|
||||
ajax.setMethodName("sendSalary");
|
||||
ajax.addParam("operatorCode",'${operatorCode}');
|
||||
ajax.addParam("modifyMoney",modifyMoney);
|
||||
ajax.addParam("remark",remark);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功",function(){
|
||||
parent.location.reload();
|
||||
parent.Z.Dialog.close();
|
||||
});
|
||||
});
|
||||
ajax.setLoading("sendSalary", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.container{ min-height:395px; background:#fff;}
|
||||
.order-no td{ padding:0 0 0 30px;}
|
||||
.order-title{ color:#0089e1;font-weight:bold; font-size:26px; padding:10px 0 0 30px; line-height:60px;}
|
||||
.order-p{ font-size:16px; padding:0 0 0 30px; line-height:60px; border-bottom:1px solid #f2f2f2;}
|
||||
.order-info{ background:#0089e1;border-radius:8px;width:520px;height:130px; margin:10px 0 0 30px;text-align:center; color:#fff; font-size:22px; padding:16px 66px; line-height:36px;}
|
||||
.order-info span{ color:#fffc00; font-weight:bold;}
|
||||
</style>
|
||||
<div class='order-box'>
|
||||
<div class="order-title">发放工资</div>
|
||||
<div class='order-p'>设计师账户: ${operatorCode}</div>
|
||||
<div class='order-p'>当前可用金额: ${usableMoney} 元</div>
|
||||
<div class='order-p' style="line-height:30px">发放金额:<input id="modifyMoney" min="1" step="0.1" type="number" name="modifyMoney" value="${modifyMoney}"> 元</div>
|
||||
<div class='order-p' style="line-height:30px; display: flex; margin: 10px 0 0 0;">操作备注:<textarea id="remark" name="remark" value="${remark}" cols="50"></textarea></div>
|
||||
</div>
|
||||
<#-- 操作 -->
|
||||
<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
|
||||
<button id="sendSalary" style="border-radius:8px; background:#0089e1;" class="z-button ${zmr_color_class} z-large z-w100" onclick="sendSalary();">确认</button>
|
||||
<button type="button" style="border-radius:8px; background:#949393; color:#fff; border:none;" class="z-button z-large z-mg-l10 z-w100" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,270 @@
|
||||
${Styles.htmlOverflowHidden()}
|
||||
${Scripts.src("/zinc/js/global_2019010801.js")}
|
||||
${yangcai_calc_Left_width_height(400, 70)}
|
||||
|
||||
${zhiqim_manager_content()}
|
||||
|
||||
<script>
|
||||
|
||||
//发工资
|
||||
function doSendSalary(operatorCode,operatorStatus,usableMoney){
|
||||
if (operatorStatus == 1){
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.url = "/sendSalary.htm?operatorCode="+operatorCode+"&operatorStatus="+operatorStatus+"&usableMoney="+usableMoney;
|
||||
dialog.width = 600;
|
||||
dialog.height = 400;
|
||||
dialog.execute();
|
||||
} else {
|
||||
Z.alert("该账户目前是停用状态!",
|
||||
function(){
|
||||
window.location.reload();
|
||||
window.Z.Dialog.close();
|
||||
});
|
||||
};
|
||||
}
|
||||
//异常稽核
|
||||
function doAbnormalAudit(operatorCode,operatorStatus,usableMoney){
|
||||
if (operatorStatus == 1){
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.url = "/abnormalAudit.htm?operatorCode="+operatorCode+"&operatorStatus="+operatorStatus+"&usableMoney="+usableMoney;
|
||||
dialog.width = 600;
|
||||
dialog.height = 470;
|
||||
dialog.execute();
|
||||
} else {
|
||||
Z.alert("该账户目前是停用状态!",
|
||||
function(){
|
||||
window.location.reload();
|
||||
window.Z.Dialog.close();
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
function doFreezeSalary(operatorCode,operatorStatus,usableMoney){
|
||||
if (operatorStatus == 1){
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.url = "/freezeSalary.htm?operatorCode="+operatorCode+"&operatorStatus="+operatorStatus+"&usableMoney="+usableMoney;
|
||||
dialog.width = 600;
|
||||
dialog.height = 400;
|
||||
dialog.execute();
|
||||
} else {
|
||||
Z.alert("该账户目前是停用状态!",
|
||||
function(){
|
||||
window.location.reload();
|
||||
window.Z.Dialog.close();
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
//核算定稿
|
||||
function doFinalizeCheck(operatorCode,operatorStatus){
|
||||
if (operatorStatus == 1){
|
||||
Z.confirm('您确定要核算设计师:'+operatorCode+' 的资金账户吗?',
|
||||
function(){
|
||||
finalizeCheck(operatorCode,operatorStatus);
|
||||
}
|
||||
);} else {
|
||||
Z.alert("该账户目前是停用状态!",
|
||||
function(){
|
||||
Z.L.href('virtualAccount.htm');
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
//核算定稿
|
||||
function finalizeCheck(operatorCode,operatorStatus){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("VirtualAccountAction");
|
||||
ajax.setMethodName("finalizeCheck");
|
||||
ajax.addParam(operatorCode);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功",function(){
|
||||
window.location.reload();
|
||||
window.Z.Dialog.close();
|
||||
});
|
||||
});
|
||||
ajax.setLoading("finalizeCheck", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
//解冻金额
|
||||
function doUnfreezeMoney(operatorCode,operatorStatus){
|
||||
if (operatorStatus == 1){
|
||||
Z.confirm('您确定要解冻设计师:'+operatorCode+' 的资金账户吗?',
|
||||
function(){
|
||||
unfreezeMoney(operatorCode,operatorStatus);
|
||||
}
|
||||
);} else {
|
||||
Z.alert("该账户目前是停用状态!",
|
||||
function(){
|
||||
Z.L.href('virtualAccount.htm');
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
//解冻金额
|
||||
function unfreezeMoney(operatorCode,operatorStatus){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("VirtualAccountAction");
|
||||
ajax.setMethodName("unfreezeMoney");
|
||||
ajax.addParam(operatorCode);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功",function(){
|
||||
window.location.reload();
|
||||
window.Z.Dialog.close();
|
||||
});
|
||||
});
|
||||
ajax.setLoading("unfreezeMoney", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
function goSwitch(obj,operatorCode){
|
||||
var span=Z(obj).parent().find('span')
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("VirtualAccountAction");
|
||||
ajax.setMethodName("updateStatus");
|
||||
var num=obj.checked?1:0;
|
||||
if(obj.checked){
|
||||
span.htmlc('正常').attr('class','normal')
|
||||
}else{
|
||||
span.htmlc('禁用').attr('class','forbidden')
|
||||
}
|
||||
ajax.addParam(num);
|
||||
ajax.addParam(operatorCode);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("修改成功",function(){
|
||||
window.location.reload();
|
||||
window.Z.Dialog.close();
|
||||
});
|
||||
});
|
||||
ajax.setLoading("goSwitch", '正在修改', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
|
||||
function exportDatas(){
|
||||
var form = document.virtualAccount;
|
||||
form.action= "/exportWageSchedule.htm"
|
||||
form.submit();
|
||||
|
||||
setTimeout(form.action= "/virtualAccount.htm",300);
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.switch-box{ position: relative; width: 80px;}
|
||||
.switch-box span{ transition: left 0.5s;}
|
||||
.normal{position: absolute; top:6px; left:16px; color:#fff;}
|
||||
.forbidden{ position: absolute; top:6px; left:38px;}
|
||||
.switch{
|
||||
-webkit-appearance: none;
|
||||
width: 80px;
|
||||
height:32px!important;
|
||||
border:1px solid #dfdfdf!important;
|
||||
border-radius: 30px;
|
||||
position: relative;
|
||||
outline: none;
|
||||
transition: linear 0.2s;
|
||||
}
|
||||
/*伪类*/
|
||||
.switch:before{
|
||||
content: '';
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
background: #d7d7d7;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
transition: linear 0.2s;
|
||||
}
|
||||
.switch:checked{
|
||||
box-shadow: 0 0 16px 16px #00a9f2 inset; background: #00a9f2;
|
||||
transition: linear 0.2s;
|
||||
}
|
||||
.switch:checked:before{
|
||||
left: 48px;
|
||||
background: #fff;
|
||||
transition: linear 0.2s;
|
||||
}
|
||||
.switch-label {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
border: 1px solid #white;
|
||||
}
|
||||
</style>
|
||||
<#-- 导航 -->
|
||||
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('designerManage.htm');">设计师管理</li>
|
||||
<li onclick="Z.L.href('onlineLog.htm');">在线设计师</li>
|
||||
<li onclick="Z.L.href('workSearchLog.htm');">工作日志</li>
|
||||
<li onclick="Z.L.href('desOnlineTimeLog.htm');">接单时长</li>
|
||||
<li onclick="Z.L.href('designerReg.htm');">注册审核</li>
|
||||
|
||||
<li class="z-active">资金账户</li>
|
||||
<li onclick="Z.L.href('accountsManage.htm');">结算管理</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<#-- 查询条件 -->
|
||||
${zhiqim_manager_title("查询条件")}
|
||||
<form name="virtualAccount" action="virtualAccount.htm" method="post" id="virtualAccount">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white" >
|
||||
<tr class="z-h40">
|
||||
<td> 设计师:
|
||||
<input type="operatorCode" name="operatorCode" class="z-input z-w180 ${zmr_color_class}" value="${operatorCode}">
|
||||
</td>
|
||||
<td width="1000px">
|
||||
<button class="z-button z-blue z-large"><i class="z-font z-query"></i>查询</button>
|
||||
<button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<button id="exportDatas" name="exportDatas" style="margin-left: 848px;position: fixed;margin-top: -45px;" type="button" class="z-button z-large z-blue" onclick="exportDatas();"><i class="z-font z-download"></i>导出</button>
|
||||
<div class="z-table z-bordered z-h70-tr z-pd5 z-bg-white z-text-center" style="width:100%" >
|
||||
<#-- 分页列表-->
|
||||
<div class="z-overflow-auto z-bd-r">
|
||||
<table class="z-table z-bordered zi-bd-r-none z-bg-white z-pd6" >
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}" data-layoutCode="virtualAccountDetailsAction.zml">
|
||||
<td width="8%">设计师账户</td>
|
||||
<td width="16%">账户状态</td>
|
||||
<td width="18%">总金额(元)</td>
|
||||
<td width="18%">冻结金额(元)</td>
|
||||
<td width="18%">可用金额(元)</td>
|
||||
<td width="20%">操作</td>
|
||||
</tr>
|
||||
<#if pageResult.size() == 0>
|
||||
${zhiqim_manager_no_record(26,"暂不存在资金账户列表")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40 ">
|
||||
<td>${item.getOperatorCode()}</td>
|
||||
<td><div class='switch-box'>
|
||||
<input style="cursor: pointer;" id="${item.getOperatorCode()}" type="checkbox" <#if item.getOperatorStatus() == 1>checked</#if> onclick='goSwitch(this,"${item.getOperatorCode()}");' class="switch" />
|
||||
<label class="switch-label" for="${item.getOperatorCode()}"><#if item.getOperatorStatus() == 1><span class="normal">正常</span><#else><span class="forbidden">禁用</span></#if></label>
|
||||
</div></td>
|
||||
<td><a style="color:#1299ec" href="/virtualAccountTransactionDetails.htm?status=0&operatorCode=${item.getOperatorCode()}">${Amounts.toYuan(item.getSumMoney())}</a></td>
|
||||
<td><a style="color:#1299ec" href="/virtualAccountTransactionDetails.htm?status=4&operatorCode=${item.getOperatorCode()}">${Amounts.toYuan(item.getFreezeMoney())}</a></td>
|
||||
<td><a style="color:#1299ec" href="/virtualAccountTransactionDetails.htm?status=999&operatorCode=${item.getOperatorCode()}">${Amounts.toYuan(item.getUsableMoney())}</a></td>
|
||||
<td>
|
||||
<#if ZmrPathRule.check(request, "/sendSalary.htm")>
|
||||
<button class="z-button z-large z-blue" onclick="doSendSalary('${item.getOperatorCode()}','${item.getOperatorStatus()}','${Amounts.toYuan(item.getUsableMoney())}');">发工资</button>
|
||||
<button class="z-button z-large z-blue" onclick="doAbnormalAudit('${item.getOperatorCode()}','${item.getOperatorStatus()}','${Amounts.toYuan(item.getUsableMoney())}');">异常稽核</button>
|
||||
<!-- <button class="z-button z-large z-red" onclick="doFreezeSalary('${item.getOperatorCode()}','${item.getOperatorStatus()}','${Amounts.toYuan(item.getUsableMoney())}');">冻结资金</button>-->
|
||||
<!-- <button class="z-button z-large z-red" onclick="doFinalizeCheck('${item.getOperatorCode()}','${item.getOperatorStatus()}');">核算定稿</button> -->
|
||||
<#else>
|
||||
<span>暂无操作权限</span>
|
||||
</#if>
|
||||
</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
</div>
|
||||
${zhiqim_manager_paging(pageResult, "/virtualAccount.htm")}
|
||||
</div>
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,95 @@
|
||||
${Styles.htmlOverflowHidden()}
|
||||
${Scripts.src("/zinc/js/global_2019010801.js")}
|
||||
${yangcai_calc_Left_width_height(400, 70)}
|
||||
|
||||
${zhiqim_manager_content()}
|
||||
|
||||
<script>
|
||||
function re(){
|
||||
parent.location.reload()="/manager/main.htm";
|
||||
}
|
||||
</script>
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-blue z-mg-b20">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.Location.href('virtualAccountTransactionDetails.htm?status=${status}&operatorCode=${operatorCode}');">交易明细</li>
|
||||
<li class="z-active">账户明细</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<#-- 查询条件 -->
|
||||
${zhiqim_manager_title("查询条件")}
|
||||
<form name="theForm" action="virtualAccountDetails.htm?status=${status}&operatorCode=${operatorCode}" method="post">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white" >
|
||||
<tr class="z-h40">
|
||||
<td> 账户流水:
|
||||
<input name="accountBlotter" id="accountBlotter" class="z-input z-w180 ${zmr_color_class}" value="">
|
||||
</td>
|
||||
<td> 交易流水:
|
||||
<input name="transactionBlotter" id="transactionBlotter" class="z-input z-w180 ${zmr_color_class}" value="">
|
||||
</td>
|
||||
<td > 交易类型:
|
||||
<select name="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for item : statusType>
|
||||
<option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td> 交易时间:
|
||||
<input name="beginDate" id="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${beginDate}"> -
|
||||
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${endDate}">
|
||||
</td>
|
||||
<td width="460px">
|
||||
<button class="z-button z-blue z-large"><i class="z-font z-query"></i>查询</button>
|
||||
<button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div class="z-table z-bordered z-h70-tr z-pd5 z-bg-white z-text-center" style="width:100%" >
|
||||
<#-- 分页列表-->
|
||||
<div class="z-overflow-auto z-bd-r">
|
||||
<table class="z-table z-bordered zi-bd-r-none z-bg-white z-pd6" >
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}" data-layoutCode="virtualAccountDetailsAction.zml">
|
||||
<td width="9%">账户流水</td>
|
||||
<td width="5%">账户名称</td>
|
||||
<td width="9%">交易流水</td>
|
||||
<td width="6%">交易类型</td>
|
||||
<td width="7%">可提现增加(元)</td>
|
||||
<td width="7%">可提现减少(元)</td>
|
||||
<td width="7%">待结算增加(元)</td>
|
||||
<td width="7%">待结算减少(元)</td>
|
||||
<td width="8%">变动后可提现(元)</td>
|
||||
<td width="8%">变动后待结算(元)</td>
|
||||
<td width="8%">变动后总收入(元)</td>
|
||||
<td width="5.5%">交易时间</td>
|
||||
<td width="8%">备注</td>
|
||||
</tr>
|
||||
<#if pageResult.size() == 0>
|
||||
${zhiqim_manager_no_record(26,"暂不存在账户明细")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40 ">
|
||||
<td>${item.getAccountBlotter()}</td>
|
||||
<td>${item.getOperatorCode()}</td>
|
||||
<td>${item.getTransactionBlotter()}</td>
|
||||
<td>${VirtualAccountConstants.getTransactionStatusListDesc(item.getTransactionStatus()+"")}</td>
|
||||
<td><#if Amounts.toYuan(item.getUsableMoneyAdd())=0>0<#else>${Amounts.toYuan(item.getUsableMoneyAdd())}</#if></td>
|
||||
<td><#if Amounts.toYuan(item.getUsableMoneyDown())=0>0<#else>${Amounts.toYuan(item.getUsableMoneyDown())}</#if></td>
|
||||
<td><#if Amounts.toYuan(item.getFreezeMoneyAdd())=0>0<#else>${Amounts.toYuan(item.getFreezeMoneyAdd())}</#if></td>
|
||||
<td><#if Amounts.toYuan(item.getFreezeMoneyDown())=0>0<#else>${Amounts.toYuan(item.getFreezeMoneyDown())}</#if></td>
|
||||
<td><#if Amounts.toYuan(item.getUsableMoney())=0>0<#else>${Amounts.toYuan(item.getUsableMoney())}</#if></td>
|
||||
<td><#if Amounts.toYuan(item.getFreezeMoney())=0>0<#else>${Amounts.toYuan(item.getFreezeMoney())}</#if></td>
|
||||
<td><#if Amounts.toYuan(item.getSumMoney())=0>0<#else>${Amounts.toYuan(item.getSumMoney())}</#if></td>
|
||||
<td>${Sqls.toDateTimeString(item.getOperatorTime())}</td>
|
||||
<td>${item.getOperatorRemark()}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
</div>
|
||||
${zhiqim_manager_paging(pageResult, "/virtualAccountDetails.htm")}
|
||||
</div>
|
||||
<button style="color: #333;background-color: #f2f2f2;border: 1px solid #c3c3c3;height:30px" onclick="re();">返回上一页</button>
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,82 @@
|
||||
${Styles.htmlOverflowHidden()}
|
||||
${Scripts.src("/zinc/js/global_2019010801.js")}
|
||||
${yangcai_calc_Left_width_height(400, 70)}
|
||||
${zhiqim_manager_content()}
|
||||
|
||||
<script>
|
||||
function re(){
|
||||
parent.location.reload()="/manager/main.htm";
|
||||
}
|
||||
</script>
|
||||
<#-- 导航栏 -->
|
||||
<div class="z-tabnav-main z-blue z-mg-b20">
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="z-active">交易明细</li>
|
||||
<li onclick="Z.Location.href('virtualAccountDetails.htm?status=${status}&operatorCode=${operatorCode}');">账户明细</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<#-- 查询条件 -->
|
||||
${zhiqim_manager_title("查询条件")}
|
||||
<form name="theForm" action="virtualAccountTransactionDetails.htm?status=${status}&operatorCode=${operatorCode}" method="post">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white" >
|
||||
<tr class="z-h40">
|
||||
<td> 交易流水:
|
||||
<input name="transactionBlotter" id="transactionBlotter" class="z-input z-w180 ${zmr_color_class}" value="">
|
||||
</td>
|
||||
<td> 订单号:
|
||||
<input name="designId" id="designId" class="z-input z-w180 ${zmr_color_class}" value="${designId}">
|
||||
</td>
|
||||
<td > 交易类型:
|
||||
<select name="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for item : statusType>
|
||||
<option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td> 交易时间:
|
||||
<input name="beginDate" id="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${beginDate}"> -
|
||||
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${endDate}">
|
||||
</td>
|
||||
<td width="460px">
|
||||
<button class="z-button z-blue z-large"><i class="z-font z-query"></i>查询</button>
|
||||
<button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div class="z-table z-bordered z-h70-tr z-pd5 z-bg-white z-text-center" style="width:100%" >
|
||||
<#-- 分页列表-->
|
||||
<div class="z-overflow-auto z-bd-r">
|
||||
<table class="z-table z-bordered zi-bd-r-none z-bg-white z-pd6" >
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}" data-layoutCode="virtualAccountTransactionDetails.zml">
|
||||
<td width="10%">交易流水</td>
|
||||
<td width="10%" >订单号</td>
|
||||
<td width="30%" >产品类型</td>
|
||||
<td width="10%">交易时间</td>
|
||||
<td width="10%">交易类型</td>
|
||||
<td width="7%">订单金额(元)</td>
|
||||
</tr>
|
||||
<#if pageResult.size() == 0>
|
||||
${zhiqim_manager_no_record(26,"暂不存在交易明细")}
|
||||
</#if>
|
||||
<#for item : pageResult.list()>
|
||||
<tr align="center" class="z-h40 ">
|
||||
<td>${item.getTransactionBlotter()}</td>
|
||||
<td><#if item.getDesignId()=0>/<#else>${item.getDesignId()}</#if></td>
|
||||
<td><#if item.getOrderText()=null>/<#else>${item.getOrderText()}</#if></td>
|
||||
<td>${Sqls.toDateTimeString(item.getTransactionTime())}</td>
|
||||
<td>${VirtualAccountConstants.getTransactionStatusListDesc(item.getTransactionStatus()+"")}</td>
|
||||
<td>
|
||||
<#if status=999 && item.getTransactionStatus()==101>${Amounts.toYuan(-item.getOrderMoney())}<#else>${Amounts.toYuan(item.getOrderMoney())}</#if>
|
||||
</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
</div>
|
||||
${zhiqim_manager_paging(pageResult, "/virtualAccountTransactionDetails.htm")}
|
||||
</div>
|
||||
<button style="color: #333;background-color: #f2f2f2;border: 1px solid #c3c3c3;height:30px" onclick="re();">返回上一页</button>
|
||||
${zhiqim_manager_content_end()}
|
||||
Reference in New Issue
Block a user