Update add.js

This commit is contained in:
姜棚 2022-01-06 13:37:40 +08:00
parent 3159dc7534
commit 2b551783db
1 changed files with 8 additions and 2 deletions

View File

@ -446,11 +446,17 @@ export default class acclist extends React.Component{
} }
onAudit(){ onAudit(){
if(!this.state.reseller)
{
Notify.error("对应分销商数据不存在");
return
}
if(this.state.isEdit) if(this.state.isEdit)
{ {
let selection = this.refs.bindObj.getSelectData() let selection = this.refs.bindObj.getSelectData()
let formdata = selection.filter((item)=>{ let formdata = selection.filter((item)=>{
return !item.hasOwnProperty("disabled") return !item.hasOwnProperty("disabled")
}) })