修复 bug
This commit is contained in:
parent
8ba912366b
commit
abf7420f23
|
@ -186,13 +186,11 @@ export default class acclist extends React.Component {
|
|||
}
|
||||
|
||||
/* 处理可复制数据逻辑 */
|
||||
copyElementFunction({ key_batch_id, status, end_time, keyBatch, id, title }) {
|
||||
const today = moment().format('yyyy-MM-DD HH:mm:ss')
|
||||
copyElementFunction({ key_batch_id, status, keyBatch, id, title }) {
|
||||
let element = ''
|
||||
if (
|
||||
![-1, 6, 7].includes(status) &&
|
||||
![6, 7].includes(keyBatch?.status) &&
|
||||
end_time > today &&
|
||||
!keyBatch?.approval_status &&
|
||||
keyBatch?.discard === 0
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue