From 1d3291cdbd47a7a38dfb391f5fcfe0a514cae2bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=8F=B6?= Date: Wed, 15 Sep 2021 15:13:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4=E7=8A=B6=E6=80=81=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E5=88=B0=E5=BA=97=E5=AE=A2=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/customer/detail/index.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pages/customer/detail/index.js b/pages/customer/detail/index.js index 34a23f2..6461e35 100644 --- a/pages/customer/detail/index.js +++ b/pages/customer/detail/index.js @@ -222,9 +222,16 @@ Page({ //选择状态 radioPicker(e){ if(e.currentTarget.dataset.key != this.data.statuskey){ - this.setData({ - statuskey:e.currentTarget.dataset.key, - }) + if(e.currentTarget.dataset.key == 2 &&this.data.detailinfo.status==0){ + wx.showToast({ + title: '请先将客户变更为到店客户', + icon: 'none' + }) + }else{ + this.setData({ + statuskey:e.currentTarget.dataset.key, + }) + } } },