From 2b551783db13ccc420e0bba0965f3db672af7191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Thu, 6 Jan 2022 13:37:40 +0800 Subject: [PATCH] Update add.js --- src/pages/exchangecode/add/add.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index e36cd6aa..5ca809d3 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -446,11 +446,17 @@ export default class acclist extends React.Component{ } onAudit(){ + if(!this.state.reseller) + { + Notify.error("对应分销商数据不存在"); + return + } + + + if(this.state.isEdit) { let selection = this.refs.bindObj.getSelectData() - - let formdata = selection.filter((item)=>{ return !item.hasOwnProperty("disabled") })