积分商城单选改多选,电子对账单限制到油站

This commit is contained in:
2024-04-17 15:18:22 +08:00
parent dfbafd8ea8
commit 2796a734f6
3 changed files with 148 additions and 207 deletions

View File

@@ -48,7 +48,9 @@
paramter: {
currentPage: 1,
pagesize: 20,
params: {},
params: {
siteId: uni.getStorageSync('oilSitePriceId')
},
},
dataList: [],
optionsList: [{
@@ -63,7 +65,7 @@
}, {
text: '金额异常',
value: ''
}],
}]
}
@@ -77,22 +79,22 @@
selectOptions(index) {
this.currentIndex = index
this.paramter.currentPage = 1
this.paramter.params ={
siteId: uni.getStorageSync('oilSitePriceId')
}
if(index == 0){
this.paramter.params ={}
this.paramter.params.status = '5'
}else if(index ==1){
this.paramter.params ={}
this.paramter.params.status = '1'
}else if(index ==2){
this.paramter.params ={}
this.paramter.params.status = '2'
}else if(index ==3){
this.paramter.params ={}
this.paramter.params.status = '3'
}
this.getByPage()
},
getByPage(){
// this.parameter.params.siteId = this.siteId
serve.getByPage(this.paramter).then(res=>{
if (res.code === 20000) {
if (!res.data.list.length&&this.paramter.currentPage!=1) {