更改兑换码 立减金 生效时间以营销计划时间为限制 。原:批次时间

This commit is contained in:
wangsongsole 2022-08-16 11:02:58 +08:00
parent c9860ac6a4
commit 7a80493748
2 changed files with 4 additions and 10 deletions

View File

@ -771,14 +771,6 @@ export default class exchangedit extends React.Component {
let model2 = this.state.codeInfo let model2 = this.state.codeInfo
model2.date_time = e model2.date_time = e
this.setState({ codeInfo: model2 }) this.setState({ codeInfo: model2 })
sessionStorage.setItem(
'knockGold_effectDate',
JSON.stringify({
begin_time: model2.date_time[0],
end_time: model2.date_time[1]
})
)
} }
//渲染范围列表数据以及数据转换 //渲染范围列表数据以及数据转换

View File

@ -233,8 +233,10 @@ export default class acclist extends React.Component {
] ]
} }
] ]
sessionStorage.setItem(
sessionStorage.setItem('knockGold_effectDate', JSON.stringify(rowData)) 'knockGold_effectDate',
JSON.stringify(rowData.keyBatch.plan)
)
sessionStorage.setItem('code_id', rowData.id) sessionStorage.setItem('code_id', rowData.id)
sessionStorage.setItem('breaknav', JSON.stringify(activerou)) sessionStorage.setItem('breaknav', JSON.stringify(activerou))
sessionStorage.setItem('approval_id', rowData.approval_id) sessionStorage.setItem('approval_id', rowData.approval_id)