@@ -55,8 +55,12 @@
noDataText: '暂无客户',
status: 'loading',
vinstatus: 'loading',
- checkedSn: null
+ checkedSn: null,
+ customer:{
+ queryWord:''
+ }
}
+
},
onLoad(opts) {
this.checkedSn = opts.customerSn
@@ -75,6 +79,7 @@
search(){
this.pageNo = 1
this.shelfList = []
+ this.customer.queryWord = this.customerName;
this.getShelfList()
// 获取客户列表
@@ -85,6 +90,7 @@
pageSize: this.pageSize,
allCustomerFlag: 1
+ params.customer = _this.customer
_this.status = 'loading'
queryCustomerPage(params).then(res => {
uni.hideLoading()