This commit is contained in:
zhangds 2024-05-13 17:51:15 +08:00
parent 46306ff6a8
commit d4d7564809
2 changed files with 6 additions and 10 deletions

View File

@ -215,8 +215,8 @@ const UseCouponCommodity = () => {
}
const voucherBatchForEl = (data) => {
let el = data.map((item) => item.channel_activity_id)
return el.join(" , ")
console.log("data =>", data)
return 1
}
return (
@ -265,7 +265,7 @@ const UseCouponCommodity = () => {
}
if (com == "voucher_batch") {
return <>{voucherBatchForEl(rowData.origin.voucher_batch)}</>
return <>{voucherBatchForEl(rowData)}</>
}
if (com === "opearo") {

View File

@ -27,9 +27,9 @@ const Column = [
{
title: "平台批次号",
width: "auto",
prop: "voucher_batch",
name: "voucher_batch",
type: "slot"
prop: "channel_activity_id",
name: "channel_activity_id",
type: "normal"
},
{
title: "上游平台",
@ -331,10 +331,6 @@ export default class commodityList extends React.Component {
</Tag>
)
}
if (com == "voucher_batch") {
return <>{this.voucherBatchForEl(rowData.origin.voucher_batch)}</>
}
if (com == "opearo") {
return (
<>