| | |
| | | // 刷新按钮
|
| | | $reset.on('click', function () {
|
| | | $searchForm[0].reset();
|
| | | treeSelect.revokeNode('dept');
|
| | | sortObject.type = 'null';
|
| | | tableIns.reload({where: getQueryParams(), page: {curr: 1}, initSort: sortObject});
|
| | | tableIns.reload({where: getQueryParams(), page: {curr: 1}});
|
| | | });
|
| | |
|
| | | function initTable() {
|
| | |
| | | {field: 'createTime', title: '创建时间', minWidth: 200,align:'center'},
|
| | | {field: 'status', title: '状态',
|
| | | templet: function (d) {
|
| | | if (d.status === 2) {
|
| | | if (d.status === 1) {
|
| | | return '<span style="color:green;">已到账</span>'
|
| | | } else {
|
| | | return ''
|
| | |
| | | return {
|
| | | account: $searchForm.find('input[name="account"]').val().trim(),
|
| | | address: $searchForm.find('input[name="address"]').val().trim(),
|
| | | isTest: $searchForm.find("select[name='isTest']").val()
|
| | | };
|
| | | }
|
| | |
|