修复bug

This commit is contained in:
wangsongsole 2022-06-19 13:53:46 +08:00
parent ef5b7558a6
commit 3ebd1cc7e0
1 changed files with 7 additions and 7 deletions

View File

@ -677,7 +677,6 @@ export default class acclist extends React.Component {
let formdata = selection.filter((item) => {
return !item.hasOwnProperty('disabled') || item.disabled == false
})
// 转换数据
let dataCopy = _.cloneDeep(formdata)
dataCopy.map((item) => {
@ -701,6 +700,7 @@ export default class acclist extends React.Component {
//除了创建中 编辑key
if (this.state.isEdit) {
debugger
this.setState({ audit_visible: false })
let approval_id = sessionStorage.getItem('approval_id')
if (approval_id > 0) {
@ -715,12 +715,12 @@ export default class acclist extends React.Component {
this.setState({ audit_visible: true })
}
if (req.status == 2 || req.status == 3) {
let selection = this.refs.bindObj.getSelectData()
let dataCopy = selection.filter((item) => {
return (
!item.hasOwnProperty('disabled') || item.disabled == false
)
})
// let selection = this.refs.bindObj.getSelectData()
// let dataCopy = selection.filter((item) => {
// return (
// !item.hasOwnProperty('disabled') || item.disabled == false
// )
// })
let id = sessionStorage.getItem('keybatch_id')
let data = {