From e18c5b4d84b5970d973208dae347ac5fd937b66f Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 04 Nov 2021 10:23:23 +0800 Subject: [PATCH] fix --- 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..dad28e9 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