order.html 5.8 KB
<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <!--<li><a href="{:url('Bank/index')}">银行列表</a></li>-->
        <!--<li class="active"><a href="{:url('Bank/add')}">添加银行</a></li>-->
    </ul>
    <form action="{:url('AdminOauth/findOrder')}" method="post" class="form-horizontal js-ajax-form margin-top-20" enctype="multipart/form-data" >
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">
                    <input class="form-control" type="hidden" name="id"
                           value="{$list['id']}"/>
                    <tr>
                        <th width="15%">订单号</th>
                        <td><input class="form-control" type="text" name="order_sn" readonly="readonly"
                                   value="{$list['order_sn']}" />

                        </td>
                    </tr>
                    <tr>
                        <th width="15%">需求id</th>
                        <td><input class="form-control" type="text" name="type" readonly="readonly"  value="{$list['type']}" />

                        </td>
                    </tr>
                    <tr>
                        <th width="15%">支付类型</th>
                        <td>
                            <switch name="list.type">
                                <case value="1"><input class="form-control" type="text" name="type" readonly="readonly" value="发布需求" /></case>
                                <case value="2"><input class="form-control" type="text" name="type" readonly="readonly" value="中介报价" /></case>
                                <case value="3"><input class="form-control" type="text" name="type" readonly="readonly" value="透视卡" /></case>

                            </switch>


                        </td>
                    </tr>
                    <tr>
                        <th width="15%">支付金额</th>
                        <td><input class="form-control" type="text" name="money"  value="{$list['money']}" readonly="readonly"/>

                        </td>
                    </tr>
                    <tr>
                        <th width="15%">支付状态</th>
                        <td>
                            <switch name="list.status">
                                    <case value="1"><input class="form-control" type="text" name="status"  value="待付款" readonly="readonly"/></case>
                                    <case value="2"><input class="form-control" type="text" name="status"  value="已付款" readonly="readonly"/></case>
                                    <case value="3"><input class="form-control" type="text" name="status"  value="付款失败" readonly="readonly"/></case>
                                    <case value="4"><input class="form-control" type="text" name="status"  value="已退款" readonly="readonly"/></case>
                            </switch>


                        </td>
                    </tr>
                    <tr>
                        <th width="15%">支付方式</th>
                        <td>
                            <switch name="list.pay_type">
                                <case value="1"><input class="form-control" type="text" name="pay_type"  value="微信" readonly="readonly"/></case>
                                <case value="2"><input class="form-control" type="text" name="pay_type"  value="微信" readonly="readonly"/></case>
                                <case value="3"><input class="form-control" type="text" name="pay_type"  value="支付宝" readonly="readonly"/></case>
                                <case value="4"><input class="form-control" type="text" name="pay_type"  value="支付宝" readonly="readonly"/></case>
                            </switch>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">支付时间</th>
                        <td><input class="form-control" type="text" name="pay_time"  value="{$list['pay_time']|date='Y-m-d H:i:s',###}" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">订单生成时间</th>
                        <td><input class="form-control" type="text" name="create_time"  value="{$list['create_time']|date='Y-m-d H:i:s',###}" readonly="readonly"/>
                        </td>
                    </tr>

                </table>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <!--<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>-->
                        <span class="btn btn-default" onclick="window.history.back(-1)">{:lang('BACK')}</span>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
    //编辑器路径定义
    var editorURL = GV.WEB_ROOT;
</script>
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
    $(function () {

        editorcontent = new baidu.editor.ui.Editor();
        editorcontent.render('content');
        try {
            editorcontent.sync();
        } catch (err) {
        }

        $('.btn-cancel-thumbnail').click(function () {
            $('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
            $('#thumbnail').val('');
        });

    });

</script>
</body>
</html>