From c456a6adeaf414f74cb2ef1e3c786285804e0e5c Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 17 Jun 2022 17:13:03 +0800
Subject: [PATCH] Merge branch 'mall-amz' of http://120.27.238.55:7000/r/xc-mall into mall-amz
---
src/main/resources/templates/febs/views/modules/goods/goodsList.html | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/goods/goodsList.html b/src/main/resources/templates/febs/views/modules/goods/goodsList.html
index 8835ba5..c8de164 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsList.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsList.html
@@ -60,6 +60,20 @@
<input type="checkbox" value={{d.id}} lay-text="上架|下架" lay-skin="switch" lay-filter="upOrDownSwitch">
{{# } }}
</script>
+<script type="text/html" id="isSkuFormat">
+ {{# if(d.isSku === 1) { }}
+ <span>是</span>
+ {{# } else { }}
+ <span>否</span>
+ {{# } }}
+</script>
+<script type="text/html" id="goodsTypeFormat">
+ {{# if(d.isNormal == 1) { }}
+ <span>普通商品</span>
+ {{# } else { }}
+ <span>套餐</span>
+ {{# } }}
+</script>
<style>
.layui-form-onswitch {
background-color: #5FB878 !important;
@@ -197,6 +211,8 @@
}, minWidth: 150,align:'center'},
{field: 'categaryName', title: '分类', minWidth: 150,align:'left'},
{field: 'isSale', title: '是否上架', templet: '#upOrDownSwitch', minWidth: 130,align:'center'},
+ {templet:"#goodsTypeFormat", title: '商品类型', minWidth: 150,align:'left'},
+ {templet:"#isSkuFormat", title: '是否多规格', minWidth: 150,align:'left'},
{field: 'presentPrice', title: '现价', minWidth: 150,align:'left'},
{field: 'originalPrice', title: '原价', minWidth: 150,align:'left'},
{field: 'stock', title: '商品库存', minWidth: 150,align:'left'},
--
Gitblit v1.9.1