From b6bc74f1d1601befa1cf59bea4982ea8edc8a93f Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Mon, 20 Dec 2021 18:18:45 +0800 Subject: [PATCH] settter --- public/static/manager/js/consumer/info.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/static/manager/js/consumer/info.js b/public/static/manager/js/consumer/info.js index 808396b..9c1b9eb 100644 --- a/public/static/manager/js/consumer/info.js +++ b/public/static/manager/js/consumer/info.js @@ -41,7 +41,13 @@ layui.use(['laytpl', 'table', 'jquery', 'form', 'miniTab', 'xmSelect'], function {field: 'type_name', title: '优惠券类型'}, {templet: '#row-received_map', title: '领取位置'}, {field: 'received_time', title: '领取时间'}, - {field: 'money', title: '金额'}, + // {field: 'money', title: '优惠券金额'}, + {templet: function (d) { + if(d.couponBill!=undefined&&d.couponBill){ + return d.couponBill.consumer_money; + } + return '' ; + }, title: '获得红包'}, {field: 'business_name', title: '商家名称'}, {templet: '#row-sign_map', title: '签到位置'}, {field: 'verificate_time', title: '签到时间'},