feat: 星链OMS订单管理新增根据油站名字进行关键字搜索订单
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<uni-easyinput :candidate='candidate' :ejectOpen='ejectOpen' @ejectFn='ejectFn'
|
<uni-easyinput :candidate='candidate' :ejectOpen='ejectOpen' @ejectFn='ejectFn'
|
||||||
:letfText='letfText' confirmType='search' @confirm='seachFn'
|
:letfText='letfText' confirmType='search' @confirm='seachFn'
|
||||||
placeholder-style="color:#bbbbbb;font-weight: 100;" v-model="seachValue"
|
placeholder-style="color:#bbbbbb;font-weight: 100;" v-model="seachValue"
|
||||||
:placeholder="letfText=='订单号'? '订单编号':letfText=='司机'?'司机姓名,手机号码':'企业名称,企业编号'" @iconClick="onClick">
|
:placeholder="letfText=='订单号'? '订单编号':letfText=='司机'?'司机姓名,手机号码':letfText=='企业'?'企业名称,企业编号':'油站名称'" @iconClick="onClick">
|
||||||
</uni-easyinput>
|
</uni-easyinput>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
listData: [],
|
listData: [],
|
||||||
letfText: '订单号',
|
letfText: '订单号',
|
||||||
seleindex: 0,
|
seleindex: 0,
|
||||||
candidate: ['企业', '司机','订单号'],
|
candidate: ['企业', '司机','订单号','油站名称'],
|
||||||
ejectOpen: false,
|
ejectOpen: false,
|
||||||
seachValue: '',
|
seachValue: '',
|
||||||
navigation: [{
|
navigation: [{
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
userName: '',
|
userName: '',
|
||||||
orderStatus: '',
|
orderStatus: '',
|
||||||
orderWfStatus: '',
|
orderWfStatus: '',
|
||||||
|
siteName:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -275,15 +275,19 @@
|
|||||||
this.getData.params.userName= ''
|
this.getData.params.userName= ''
|
||||||
this.getData.params.id= ''
|
this.getData.params.id= ''
|
||||||
this.getData.params.companyName= ''
|
this.getData.params.companyName= ''
|
||||||
|
this.getData.params.siteName= ''
|
||||||
if(this.letfText=='企业'){
|
if(this.letfText=='企业'){
|
||||||
this.getData.params.companyName= this.seachValue
|
this.getData.params.companyName= this.seachValue
|
||||||
console.log('现在是企业 companyName',this.letfText,)
|
console.log('现在是企业 companyName',this.letfText,)
|
||||||
}else if(this.letfText=='订单号') {
|
}else if(this.letfText=='订单号') {
|
||||||
this.getData.params.id= this.seachValue
|
this.getData.params.id= this.seachValue
|
||||||
console.log('现在是订单 id',this.letfText,this.getData.params.id,this.getData.params)
|
console.log('现在是订单 id',this.letfText,this.getData.params.id,this.getData.params)
|
||||||
}else{
|
}else if(this.letfText=='司机'){
|
||||||
this.getData.params.userName= this.seachValue
|
this.getData.params.userName= this.seachValue
|
||||||
console.log('现在是其他 userName',this.letfText,)
|
console.log('现在是司机 userName',this.letfText,)
|
||||||
|
}{
|
||||||
|
this.getData.params.siteName= this.seachValue
|
||||||
|
console.log('现在是其他 siteName',this.letfText,)
|
||||||
}
|
}
|
||||||
this.getData.currentPage = 1
|
this.getData.currentPage = 1
|
||||||
this.getlist()
|
this.getlist()
|
||||||
|
|||||||
Reference in New Issue
Block a user