This commit is contained in:
parent
1ade133568
commit
c0d4cf3bfb
|
@ -125,7 +125,7 @@ export default class acclist extends React.Component {
|
|||
newGoldLoading: false,
|
||||
product_title: '新建商品',
|
||||
addIsType: '',
|
||||
keyCodeId:'',//key批次ID
|
||||
keyCodeId: '' //key批次ID
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -388,7 +388,7 @@ export default class acclist extends React.Component {
|
|||
default:
|
||||
return
|
||||
}
|
||||
this.setState({ drawerVisible: false })
|
||||
this.setState({ drawerVisible: false, rowIndex: -1 })
|
||||
this.state.codeInfo = {
|
||||
//数据模型不可少
|
||||
code_name: '',
|
||||
|
@ -538,7 +538,7 @@ export default class acclist extends React.Component {
|
|||
return newObj
|
||||
})
|
||||
}
|
||||
let newArray = deWeightThree(temp.concat(concatData), 'only')
|
||||
let newArray = deWeightThree(temp.concat(concatData))
|
||||
|
||||
//select数据
|
||||
let arr = []
|
||||
|
@ -635,7 +635,6 @@ export default class acclist extends React.Component {
|
|||
return obj
|
||||
})
|
||||
temp.product = arr
|
||||
|
||||
if (this.state.rowIndex > -1) {
|
||||
this.state.distdata[this.state.rowIndex] = temp
|
||||
this.setState({ distdata: this.state.distdata })
|
||||
|
@ -745,7 +744,7 @@ export default class acclist extends React.Component {
|
|||
this.setState({ audit_visible: false })
|
||||
|
||||
let id = sessionStorage.getItem('key_plan_id')
|
||||
data.copy_key_batch_id=this.state.keyCodeId;
|
||||
data.copy_key_batch_id = this.state.keyCodeId
|
||||
addKeysBatchInfo(id, data).then((res) => {
|
||||
handelResponse(
|
||||
res,
|
||||
|
|
Loading…
Reference in New Issue