From b7202456508af8a387a01fc99c2f554859fc4f19 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 14 May 2021 19:30:29 +0800
Subject: [PATCH] Merge branch 'yunding' of http://120.27.238.55:7000/r/exchange-back into yunding
---
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