diff --git a/src/pages/order/list/list.js b/src/pages/order/list/list.js index 04847407..dd4a6c49 100644 --- a/src/pages/order/list/list.js +++ b/src/pages/order/list/list.js @@ -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() { const date = ( @@ -911,11 +904,6 @@ export default class orderList extends React.Component {
) } - - if (com == "voucher_batch") { - return <>{this.voucherBatchForEl(rowData)}> - } - if (com == "order_type") { return 虚拟 } diff --git a/src/pages/order/list/utils.js b/src/pages/order/list/utils.js index 1958379b..073b9fa4 100644 --- a/src/pages/order/list/utils.js +++ b/src/pages/order/list/utils.js @@ -99,9 +99,9 @@ export const Column = [ }, { title: "批次号", - prop: "voucher_batch", - name: "voucher_batch", - type: "slot" + prop: "channel_activity_id", + name: "channel_activity_id", + type: "normal" }, { title: "创建时间", @@ -294,9 +294,9 @@ export const detailColumns = [ }, { title: "渠道立减金批次号", - prop: "voucher_batch", - name: "voucher_batch", - type: "slot", + prop: "channel_activity_id", + name: "channel_activity_id", + type: "normal", width: "150px" }, {