add.vm 7.58 KB
#set($page_title="编辑")
#set($crumbs="首页:/home,编辑")

#set($url_save = "/foundTrade/save.do")

<div class="page-content">
    <div class="page-header">
        <span class="pull-right">
            <a href="javascript:history.back()" class="btn btn-white btn-default">返回</a>
        </span>
        <h1>
        管理
            <small>
                <i class="icon-double-angle-right"></i>
            功能
            </small>
        </h1>
    </div>
    <!-- /.page-header -->

    <div class="row">
        <div class="col-xs-12">
            <!-- PAGE CONTENT BEGINS -->

            <form class="form-horizontal" role="form" method="post" action="$url_save">
                #if($obj.id)
                <input type="hidden" value="${obj.id}" name="id">
                #end

                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-1"> 资金账户ID: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-1"
                                   placeholder="资金账户ID" name="shopBuyerId"
                                   value="$!{obj.shopBuyerId}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-2"> 买家ID: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-2"
                                   placeholder="买家ID" name="buyerId"
                                   value="$!{obj.buyerId}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-3"> 卖家ID: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-3"
                                   placeholder="卖家ID" name="sellerId"
                                   value="$!{obj.sellerId}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-4"> 店铺ID: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-4"
                                   placeholder="店铺ID" name="shopId"
                                   value="$!{obj.shopId}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-5"> 订单编号: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-5"
                                   placeholder="订单编号" name="orderId"
                                   value="$!{obj.orderId}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-6"> 交易名称: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-6"
                                   placeholder="交易名称" name="tradeName"
                                   value="$!{obj.tradeName}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-7"> 交易金额: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-7"
                                   placeholder="交易金额" name="tradePrice"
                                   value="$!{obj.tradePrice}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-8"> 交易类型(1:充值 2:冻结3:消费): </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-8"
                                   placeholder="交易类型(1:充值 2:冻结3:消费)" name="tradeType"
                                   value="$!{obj.tradeType}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-9"> : </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-9"
                                   placeholder="" name="yn"
                                   value="$!{obj.yn}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-10"> 交易时间: </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-10"
                                   placeholder="交易时间" name="created"
                                   value="$!{obj.created}"
                                   class="width-100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right"
                               for="form-field-11"> : </label>

                        <div class="col-xs-12 col-sm-4">
                            <input type="text" id="form-field-11"
                                   placeholder="" name="modified"
                                   value="$!{obj.modified}"
                                   class="width-100">
                        </div>
                    </div>



                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" type="submit">
                            <i class="icon-ok bigger-110"></i>
                            提交
                        </button>

                        &nbsp; &nbsp; &nbsp;
                        <a class="btn btn-info" href="javascript:history.back()">
                            <i class="icon-undo bigger-110"></i>
                            返回
                        </a>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>