| | |
| | | <div class="layui-input-inline">
|
| | | <select name="orderStatus">
|
| | | <option value="0"></option>
|
| | | <option value="1">待审核</option>
|
| | | <option value="1">待付款</option>
|
| | | <option value="2">已付款</option>
|
| | | <option value="3">已审核</option>
|
| | | <option value="4">撤单</option>
|
| | |
| | | <script type="text/html" id="order-Status">
|
| | | {{#
|
| | | var orderStatus = {
|
| | | 1: {title: '待审核' , color: 'gray'},
|
| | | 1: {title: '待付款' , color: 'gray'},
|
| | | 2: {title: '已付款' , color: 'red'},
|
| | | 3: {title: '已审核' , color: 'green'},
|
| | | 4: {title: '撤单' , color: 'gray'},
|
| | |
| | | {field: 'account', title: '收款账号', minWidth: 150,align:'center'},
|
| | | {field: 'paymentAccount', title: '二维码', minWidth: 150,align:'center'},
|
| | | {field: 'bank', title: '所属银行', minWidth: 150,align:'center'},
|
| | | {title: '操作', toolbar: '#user-option', minWidth: 150, fixed : 'right'}
|
| | | {title: '操作', |
| | | templet: function (d) {
|
| | | if (d.orderStatus === 1) {
|
| | | return '<a lay-event="confirm" shiro:hasPermission="user:delete">付款</a>'
|
| | | +'<i class="layui-icon febs-edit-area febs-blue"></i>'
|
| | | +'<a lay-event="cancel" shiro:hasPermission="user:delete">拒绝</a>'
|
| | | }else {
|
| | | return ''
|
| | | }
|
| | | },minWidth: 200,align:'center'}
|
| | | ]]
|
| | | });
|
| | | }
|