diff --git a/pages/customerChooseTemplate/customerChooseTemplate.js b/pages/customerChooseTemplate/customerChooseTemplate.js index acb55e7..eaa6ee3 100644 --- a/pages/customerChooseTemplate/customerChooseTemplate.js +++ b/pages/customerChooseTemplate/customerChooseTemplate.js @@ -18,7 +18,12 @@ Page({ checkBoxArray: [], }, - GetCustomer: function(inputValue) { + getCustomerBySearchString:function(event){ + var searchStr =event.detail.value; + this.GetCustomer(searchStr); + }, + + GetCustomer: function (inputValue) { var that =this; let method = getCustomer; let params = [{ diff --git a/pages/customerChooseTemplate/customerChooseTemplate.wxml b/pages/customerChooseTemplate/customerChooseTemplate.wxml index 8251764..ab720bf 100644 --- a/pages/customerChooseTemplate/customerChooseTemplate.wxml +++ b/pages/customerChooseTemplate/customerChooseTemplate.wxml @@ -1,16 +1,8 @@ - - - 全部 - 收藏夹 - - - - + - - 收藏 + @@ -25,16 +17,6 @@ 添加存货明细 - - - - - -