Merge branch 'addMenu' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/frontend into addMenu
This commit is contained in:
commit
1bc75b1870
|
@ -44,7 +44,12 @@ const options = [
|
|||
{
|
||||
key: '4',
|
||||
text: '兑换码批次ID'
|
||||
},
|
||||
{
|
||||
key: '5',
|
||||
text: '平台批次号'
|
||||
}
|
||||
|
||||
]
|
||||
const Column = [
|
||||
{
|
||||
|
@ -89,6 +94,13 @@ const Column = [
|
|||
prop: 'reseller_name',
|
||||
width: 'auto'
|
||||
},
|
||||
{
|
||||
title: '归属key批次',
|
||||
name: 'key_batch_id',
|
||||
prop: 'key_batch_id',
|
||||
width: 'auto',
|
||||
type: 'normal'
|
||||
},
|
||||
{
|
||||
title: '归属营销计划',
|
||||
name: 'plan_title',
|
||||
|
@ -297,6 +309,11 @@ export default class orderlist extends React.Component {
|
|||
data.code_batch_id = key_word
|
||||
}
|
||||
}
|
||||
if (option && option.key == 5) {
|
||||
if (key_word) {
|
||||
data.channel_activity_id = key_word
|
||||
}
|
||||
}
|
||||
if (this.state.selectiondata && this.state.selectiondata.length > 0) {
|
||||
let orders = this.state.selectiondata
|
||||
let orderNum = orders.map((item) => item.order_number)
|
||||
|
@ -526,6 +543,11 @@ export default class orderlist extends React.Component {
|
|||
data.code_batch_id = key_word
|
||||
}
|
||||
}
|
||||
if (option && option.key == 5) {
|
||||
if (key_word) {
|
||||
data.channel_activity_id = key_word
|
||||
}
|
||||
}
|
||||
|
||||
getOrderList(data)
|
||||
.then((res) => {
|
||||
|
@ -559,6 +581,9 @@ export default class orderlist extends React.Component {
|
|||
case 4:
|
||||
placeholder = '请输入兑换码批次ID搜索'
|
||||
break
|
||||
case 5:
|
||||
placeholder = '请输入平台批次号'
|
||||
break
|
||||
default:
|
||||
placeholder = '请输入key搜索'
|
||||
break
|
||||
|
|
|
@ -4,9 +4,11 @@
|
|||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.orderList .zent-select-v2[data-zv="9.11.0"] {
|
||||
margin-top: -8px;
|
||||
margin-right:-20px;
|
||||
border:0;
|
||||
}
|
||||
|
||||
.orderList .distable{
|
||||
|
@ -17,4 +19,10 @@
|
|||
}
|
||||
.orderList .iptfillself .label {
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
.orderList .zent-select-v2[data-zv="9.12.7"]{
|
||||
border-top:0;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
|
||||
|
|
|
@ -144,6 +144,13 @@ const Column = [
|
|||
prop: "end",
|
||||
width: "140px",
|
||||
},
|
||||
{
|
||||
title: "更新时间",
|
||||
name: "update_time",
|
||||
type: "normal",
|
||||
prop: "update_time",
|
||||
width: "140px",
|
||||
},
|
||||
// {
|
||||
// title: "发放总价(预估)",
|
||||
// name: "grant_total",
|
||||
|
|
|
@ -660,6 +660,13 @@ export default class acclist extends React.Component {
|
|||
prop: "end",
|
||||
width: "auto",
|
||||
},
|
||||
{
|
||||
title: "更新时间",
|
||||
name: "update_time",
|
||||
type: "normal",
|
||||
prop: "update_time",
|
||||
width: "140px",
|
||||
},
|
||||
// {
|
||||
// title: "发放总价(预估)",
|
||||
// name: "grant_total",
|
||||
|
|
Loading…
Reference in New Issue