From 72c0a35d83909c3a59c4acf2fb3df777cbfd5090 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 17 Jun 2021 11:00:44 +0800 Subject: [PATCH] 20210617 开售开关 --- src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html b/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html index 1d3047e..75a8df6 100644 --- a/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html +++ b/src/main/resources/templates/febs/views/modules/trademanage/bzzNewPrice.html @@ -76,6 +76,16 @@ url: ctx + 'orderCoin/bzzNewPrice', cols: [[ {field: 'newprice', title: '最新价', minWidth: 100,align:'left'}, + {field: 'bzzStart', title: '是否开售', + templet: function (d) { + if (d.bzzStart === '1') { + return '<span style="color:green;">开始</span>' + } else if (d.bzzStart === '2') { + return '<span style="color:red;">停止</span>' + } else{ + return '' + } + }, minWidth: 80,align:'center'}, {title: '操作', title: '操作', templet: function (d) { return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" shiro:hasPermission="user:update">修改</button>' -- Gitblit v1.9.1