This commit is contained in:
wangsongsole 2022-08-11 10:43:04 +08:00
parent 06b62673d5
commit 343a5a9763
1 changed files with 3 additions and 3 deletions

View File

@ -306,7 +306,7 @@ export default class acclist extends React.Component {
res,
(req, msg) => {
const newData = req.data.map((item) => {
if ([1, 2, 8, 7].includes(item.status)) {
if (![4, 5].includes(item.status)) {
item.disabled = true
}
return item
@ -592,13 +592,13 @@ export default class acclist extends React.Component {
bulkSendFunction() {
let isNotify = ''
this.state.gridSelection.filter((item) => {
if (![4, 5, 6].includes(item.status)) {
if (![4, 5].includes(item.status)) {
return (isNotify = true)
}
})
if (isNotify) {
return Notify.warn('只有状态为进行中、暂停中、已完结的允许发送')
return Notify.warn('只有状态为进行中、暂停中的允许发送')
}
this.getResellerInfoFunction(this.state.gridSelection[0].reseller_id)
this.setState({ isBulkSend: true })