变更状态判断到店客户
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user