@@ -266,6 +266,13 @@
//搜索客户
async onSearch(){
+ if(!this.searchCustomeVal){
+ uni.showToast({
+ title:'请输入搜索关键字',
+ icon:'none'
+ })
+ return
+ }
this.searchContractList=[]
this.searchCustomeList=[]
const res=await apiSearchCustome({Keyword:this.searchCustomeVal})
@@ -390,6 +390,13 @@
@@ -303,6 +303,13 @@
@@ -129,6 +129,13 @@
},
onSearch() {
+ if(!this.value){
if (this.type === 'custome') {
this.handleCustome()
}