12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- #parse("sys/header.html")
- </head>
- <body>
- <div id="rrapp" v-cloak>
- <div v-show="showList">
- <Row :gutter="16">
- <div class="search-group">
- <i-col span="3">
- <i-input v-model="q.merchName" @on-enter="query" placeholder="商户名称"/>
- </i-col>
- <i-col span="3">
- <i-input v-model="q.merchSn" @on-enter="query" placeholder="商户编号"/>
- </i-col>
- <i-button @click="query">查询</i-button>
- <i-button @click="reloadSearch">重置</i-button>
- </div>
- <div class="buttons-group">
- #if($shiro.hasPermission("merch:save"))
- <i-button type="info" @click="add"><i class="fa fa-plus"></i> 新增</i-button>
- #end
- #if($shiro.hasPermission("merch:update"))
- <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i> 修改</i-button>
- #end
- #if($shiro.hasPermission("merch:delete"))
- <i-button type="error" @click="del"><i class="fa fa-trash-o"></i> 删除</i-button>
- #end
- </div>
- </Row>
- <table id="jqGrid"></table>
- <div id="jqGridPager"></div>
- </div>
- <Card v-show="!showList">
- <p slot="title">{{title}}</p>
- <i-form ref="formValidate" :model="merch" :rules="ruleValidate" :label-width="80">
- <Form-item label="商户编号" prop="merchSn">
- <i-input v-model="merch.merchSn" placeholder="商户编号"/>
- </Form-item>
- <Form-item label="商户名称" prop="merchName">
- <i-input v-model="merch.merchName" placeholder="商户名称"/>
- </Form-item>
- <Form-item label="商户简称" prop="merchShortName">
- <i-input v-model="merch.merchShortName" placeholder="商户简称"/>
- </Form-item>
- <Form-item label="排序" prop="sortOrder">
- <i-input v-model="merch.sortOrder" placeholder="排序"/>
- </Form-item>
- <Form-item label="显示" prop="isShow">
- <Radio-group v-model="merch.isShow">
- <Radio label="1">
- <span>是</span>
- </Radio>
- <Radio label="0">
- <span>否</span>
- </Radio>
- </Radio-group>
- </Form-item>
- <Form-item label="备注" prop="remark">
- <i-input v-model="merch.remark" placeholder="备注"/>
- </Form-item>
- <Form-item>
- <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
- <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
- <i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>
- </Form-item>
- </i-form>
- </Card>
- </div>
- <script src="${rc.contextPath}/js/shop/merch.js?_${date.systemTime}"></script>
- </body>
- </html>
|