From 74a515f13ad8b5a38c6e4379de0927cec93ce62f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 23 Jun 2020 15:37:02 +0800 Subject: [PATCH] 20200623 代码提交 --- src/main/resources/templates/febs/views/modules/member/chargeUsdt.html | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/member/chargeUsdt.html b/src/main/resources/templates/febs/views/modules/member/chargeUsdt.html index 2e404cd..7db30a2 100644 --- a/src/main/resources/templates/febs/views/modules/member/chargeUsdt.html +++ b/src/main/resources/templates/febs/views/modules/member/chargeUsdt.html @@ -19,7 +19,6 @@ <option value="0"></option> <option value="1">新建</option> <option value="2">已付款</option> - <option value="3">已审核</option> <option value="4">撤单</option> <option value="5">系统取消</option> </select> @@ -53,7 +52,6 @@ var orderStatus = { 1: {title: '新建' , color: 'gray'}, 2: {title: '已付款' , color: 'red'}, - 3: {title: '已审核' , color: 'green'}, 4: {title: '撤单' , color: 'gray'}, 5: {title: '系统取消' , color: 'blue'} }[d.orderStatus]; @@ -177,7 +175,16 @@ {field: 'paymentName', title: '收款人', minWidth: 150,align:'center'}, {field: 'paymentAccount', title: '收款账号', minWidth: 150,align:'center'}, {title: '收款方式', templet: '#payment-Type', minWidth: 100,align:'center'}, - {title: '操作', toolbar: '#user-option', minWidth: 150, fixed : 'right'} + {title: '操作', + templet: function (d) { + if (d.orderStatus === 2) { + 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'} ]] }); } -- Gitblit v1.9.1