From bc6843b7bca0cae10df4e5233b7e52604ad524c3 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 14 May 2021 19:27:10 +0800
Subject: [PATCH] 20210514 云顶

---
 src/main/resources/templates/febs/views/modules/yunding/ydProductList.html |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html b/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html
index 969a8ed..ed93481 100644
--- a/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html
+++ b/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html
@@ -196,6 +196,18 @@
                                 return ''
                             }
                         }, minWidth: 80,align:'center'},
+                    {field: 'status', title: '销售状态',
+                        templet: function (d) {
+                            if (d.status === 1) {
+                                return '<span style="color:blue;">热售中</span>'
+                            } else if (d.status === 2) {
+                                return '<span style="color:blue;">售罄</span>'
+                            } else if (d.status === 3) {
+                                return '<span style="color:blue;">未开售</span>'
+                            } else {
+                                return ''
+                            }
+                        }, minWidth: 80,align:'center'},
 
                 ]]
             });

--
Gitblit v1.9.1