1) 增加消费卷table

This commit is contained in:
zhangds 2022-08-25 16:29:18 +08:00
parent 867e8a13cd
commit aa2b41e0e1
1 changed files with 87 additions and 3 deletions

View File

@ -9,14 +9,98 @@ import "./style.less";
const tableColumn = [ const tableColumn = [
{ {
title: "table 示例 1", title: "优惠券-批次ID",
name: "key_code", name: "key_code",
prop: "key_code", prop: "key_code",
type: "normal", type: "normal",
width: "auto", width: "auto",
}, },
{ {
title: "table 示例 2", title: "优惠券批次名称",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "有效期",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "归属营销计划名称",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "归属key批次名称",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "卷总数(已发放)",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "已领取",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "已使用",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "剩余数",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "已失效",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "已作废",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "状态",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "启用/暂停",
width: "auto",
type: "normal",
prop: "title",
name: "title",
},
{
title: "操作",
width: "auto", width: "auto",
type: "normal", type: "normal",
prop: "title", prop: "title",
@ -149,7 +233,7 @@ const UseCouponList = () => {
value={state.key_word} value={state.key_word}
wordSearch={() => searchCallback()} wordSearch={() => searchCallback()}
icon="search" icon="search"
placeholder={"请输入xxxxx"} placeholder={"请输入批次号、名称、key批次名称、计划名称 进行搜索"}
countShow={false} countShow={false}
height={"36px"} height={"36px"}
width={"260px"} width={"260px"}