fix: 增加批次号

This commit is contained in:
zhangds 2024-05-13 16:36:01 +08:00
parent e95157e145
commit 3d85126907
2 changed files with 6 additions and 18 deletions

View File

@ -682,13 +682,6 @@ export default class orderList extends React.Component {
} }
} }
voucherBatchForEl(data) {
console.log("data 1 =>", data)
return data.channel_activity_id
let el = data.map((item) => item.channel_activity_id)
return el.join(" , ")
}
//过滤表格枚举状态 //过滤表格枚举状态
render() { render() {
const date = ( const date = (
@ -911,11 +904,6 @@ export default class orderList extends React.Component {
</p> </p>
) )
} }
if (com == "voucher_batch") {
return <>{this.voucherBatchForEl(rowData)}</>
}
if (com == "order_type") { if (com == "order_type") {
return <span>虚拟</span> return <span>虚拟</span>
} }

View File

@ -99,9 +99,9 @@ export const Column = [
}, },
{ {
title: "批次号", title: "批次号",
prop: "voucher_batch", prop: "channel_activity_id",
name: "voucher_batch", name: "channel_activity_id",
type: "slot" type: "normal"
}, },
{ {
title: "创建时间", title: "创建时间",
@ -294,9 +294,9 @@ export const detailColumns = [
}, },
{ {
title: "渠道立减金批次号", title: "渠道立减金批次号",
prop: "voucher_batch", prop: "channel_activity_id",
name: "voucher_batch", name: "channel_activity_id",
type: "slot", type: "normal",
width: "150px" width: "150px"
}, },
{ {