修复 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 }) {
|
copyElementFunction({ key_batch_id, status, keyBatch, id, title }) {
|
||||||
const today = moment().format('yyyy-MM-DD HH:mm:ss')
|
|
||||||
let element = ''
|
let element = ''
|
||||||
if (
|
if (
|
||||||
![-1, 6, 7].includes(status) &&
|
![-1, 6, 7].includes(status) &&
|
||||||
![6, 7].includes(keyBatch?.status) &&
|
![6, 7].includes(keyBatch?.status) &&
|
||||||
end_time > today &&
|
|
||||||
!keyBatch?.approval_status &&
|
!keyBatch?.approval_status &&
|
||||||
keyBatch?.discard === 0
|
keyBatch?.discard === 0
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue