|
@@ -72,19 +72,20 @@
|
|
|
placeholder="电话"/>
|
|
|
</div>
|
|
|
<div class="seach_items">
|
|
|
- <input type="text" name="no" autocomplete="off" class="layui-input"
|
|
|
- placeholder="订单号"/>
|
|
|
+ <input type="text" name="name" autocomplete="off" class="layui-input"
|
|
|
+ placeholder="电话"/>
|
|
|
</div>
|
|
|
<div class="seach_items">
|
|
|
<select name="status" style="width: 40px;">
|
|
|
<option value="">请选择状态</option>
|
|
|
- <option value="1">待付款</option>
|
|
|
- <option value="2">已完成</option>
|
|
|
- <option value="3">已取消</option>
|
|
|
+ <option value="0">待审核</option>
|
|
|
+ <option value="1">已通过</option>
|
|
|
+ <option value="2">退回修改</option>
|
|
|
+ <option value="3">拒绝审批</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="seach_items">
|
|
|
- <input type="text" class="layui-input" name="create_time" id="id_create_time" placeholder="下单时间">
|
|
|
+ <input type="text" class="layui-input" name="create_time" id="id_create_time" placeholder="提交时间">
|
|
|
</div>
|
|
|
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="query-form-element">查询
|
|
|
</button>
|
|
@@ -106,18 +107,20 @@
|
|
|
|
|
|
table.render({
|
|
|
elem: '#datagrid'
|
|
|
- , url: '/order/'
|
|
|
+ , url: '/order/list/?category=1'
|
|
|
, toolbar: '#toolbarDemo'
|
|
|
, title: '用户订单' //标题
|
|
|
, totalRow: true
|
|
|
, cols: [[
|
|
|
- {field: 'no', title: '订单号', width: 215}
|
|
|
- , {field: 'total_amount', title: '总金额', totalRow: true, align: 'right', width: 100}
|
|
|
- , {field: 'balance_deduction', title: '余额抵扣', totalRow: true,align: 'right', width: 100}
|
|
|
- , {field: 'actual_amount', title: '实付金额', totalRow: true,align: 'right', width: 100}
|
|
|
+ {field: 'name', title: '姓名', width: 150}
|
|
|
+ , {field: 'sex_text', title: '性别', totalRow: true, align: 'right', width: 100}
|
|
|
+ , {field: 'tel', title: '手机号', totalRow: true,align: 'right', width: 130}
|
|
|
+ , {field: 'inumber', title: '证件号', totalRow: true,align: 'right', width: 150}
|
|
|
+ , {field: 'package_text', title: '贷款产品', totalRow: true,align: 'right', width: 200}
|
|
|
, {field: 'status_text', title: '订单状态', width: 100}
|
|
|
- , {field: 'create_time', title: '下单时间', width: 180,}
|
|
|
- , {field: 'create_user_text', title: '下单人', width: 150,}
|
|
|
+ , {field: 'create_time_f', title: '下单时间', width: 180,}
|
|
|
+ , {field: 'create_user_text', title: '下单人', width: 120,}
|
|
|
+ , {field: 'seller_text', title: '业务人员', width: 120,}
|
|
|
]]
|
|
|
, page: true
|
|
|
, height: 'full-108'
|