<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sptg="http://www.thymeleaf.org">
<head>
    <script th:replace="common/head"></script>
</head>

<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-form layui-card-header layuiadmin-card-header-auto" style="padding:0;">
            <div class="layui-form-item border-b"></div>

            <fieldset class="layui-elem-field">
                <legend>当前退款申请</legend>
                <div class="layui-form">
                    <div class="layui-form-item">
                        <input type="hidden" id="applyPayRefund_id" th:value="${applyPayRefund.id}" />
                        <label class="layui-form-label">内部退款单号：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.refundNo}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">申请人姓名：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.name}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">申请手机号：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.phone}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">所在小区名：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.residentialName}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">所在单元名：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.unitName}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">所在房间名：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.roomName}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">支付方式：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:if="${applyPayRefund.payType} == 'wxPay'">微信</span>
                            <span class="detail-info"  th:if="${applyPayRefund.payType} == 'aliPay'">支付宝</span>
                            <span class="detail-info"  th:if="${applyPayRefund.payType} == null">未知</span>
                        </div>
                        <br/>
                        <label class="layui-form-label">实际付款金额：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.actualPayFee}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">申请退款金额：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.refundFee}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">审核状态：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:if="${applyPayRefund.checkStatus} == 0">待审核</span>
                            <span class="detail-info"  th:if="${applyPayRefund.checkStatus} == 1">审核通过</span>
                            <span class="detail-info"  th:if="${applyPayRefund.checkStatus} == 2">审核拒绝</span>
                            <span class="detail-info"  th:if="${applyPayRefund.checkStatus} == null">未知</span>
                        </div>
                        <br/>
                        <label class="layui-form-label">退款状态：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:if="${applyPayRefund.refundStatus} == 'WAIT'">退款中</span>
                            <span class="detail-info"  th:if="${applyPayRefund.refundStatus} == 'SUCCESS'">退款成功</span>
                            <span class="detail-info"  th:if="${applyPayRefund.refundStatus} == 'REFUNDCLOSE'">退款关闭</span>
                            <span class="detail-info"  th:if="${applyPayRefund.refundStatus} == 'CHANGE'">退款异常</span>
                        </div>
                        <br/>
                        <label class="layui-form-label">申请时间：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${#dates.format(applyPayRefund.applyDate, 'yyyy-MM-dd HH:mm:ss')}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">审核时间：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${#dates.format(applyPayRefund.checkDate, 'yyyy-MM-dd HH:mm:ss')}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">更新时间：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${#dates.format(applyPayRefund.updateDate, 'yyyy-MM-dd HH:mm:ss')}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">退款入账账户：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.refundRecvAccout}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">第三方退款单号：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.thridRefundId}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">第三方退款申请提交信息：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.thirdRefundApply}"></span>
                        </div>
                        <br/>
                        <label class="layui-form-label">第三方退款申请结果通知信息：</label>
                        <div class="layui-input-inline">
                            <span class="detail-info"  th:text="${applyPayRefund.thirdRefundNotify}"></span>
                        </div>
                        <br/>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn"  lay-submit lay-filter="auditing_yes_button">审核通过</button>
                                <button class="layui-btn layui-btn-primary"  type="reset"  lay-submit  lay-filter="auditing_no_button">审核不通过</button>
                                <button class="layui-btn layui-btn-primary" type="reset" id="cancel_btn">取消审核</button>
                            </div>
                        </div>
                    </div>
                </div>
            </fieldset>

            <!-- 表格+头部按钮 -->
<!--            <div class="layui-card-body" style="padding:0;">-->
<!--                <div style="padding-bottom: 10px;">-->
<!--                    <button class="layui-btn layuiadmin-btn-useradmin"  lay-submit lay-filter="add" sptg:security="estate:unit:add">添加单元</button>-->
<!--                    <button class="layui-btn layuiadmin-btn-useradmin"  lay-submit lay-filter="import" sptg:security="estate:unit:import">导入</button>-->
<!--                    <button class="layui-btn layuiadmin-btn-useradmin"  lay-submit lay-filter="export" sptg:security="estate:unit:export">导出</button>-->
<!--                </div>-->
<!--                <table id="table_id" lay-filter="table_event"></table>-->
<!--            </div>-->
        </div>
    </div>
</div>

<!--<script type="text/html" id="table-useradmin-webuser">-->
<!--    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" sptg:security="estate:unit:update">修改</a>-->
<!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" sptg:security="estate:unit:delete">删除</a>-->
<!--    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="detail" sptg:security="estate:unit:manage">管理单元</a>-->
<!--</script>-->

<!-- javascript -->
<script type="text/javascript" th:src="@{'/layui/layui.js'}" charset="utf-8"></script>
<script type="text/javascript">
    layui.config({
        base: '/' //静态资源所在路径
    });
</script>
<script type="text/javascript" th:src="@{'/js/estate/apply-pay-refund-check.js'}" charset="utf-8"></script>


</body>

</html>
