From ba9ce5c55d20f8f38cbb5bf5bb999c276485b99f 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 11:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E6=B7=BB=E5=8A=A0=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E7=9A=84=E5=88=86=E9=94=80=E5=95=86=E4=B8=8D=E5=AD=98?= =?UTF-8?q?=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/edit/edit.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/exchangecode/edit/edit.js b/src/pages/exchangecode/edit/edit.js index 0b055cd5..07565fef 100644 --- a/src/pages/exchangecode/edit/edit.js +++ b/src/pages/exchangecode/edit/edit.js @@ -226,6 +226,12 @@ export default class exchangedit extends React.Component{ submitCodeData(){ + if(!this.state.reseller) + { + Notify.error("该兑换码对应分销商不存在") + return + } + let code_batch_id = sessionStorage.getItem("code_id") let range = []