Commit a334a3f725b7d8e71462398bed25070c3ed375a8

Authored by pengye
1 parent de51681b

获取充值列表信息接口筛查,status=1代表删除的

... ... @@ -38,9 +38,14 @@ Page({
getList() {
App.Activity.GetNewRechargeList({
sellerid: this.data.sellerid,
is_expire: '0'
}).then(res => {
let list = res.data;
let arr=[]
res.data.forEach(i=>{
if(i.status!='1'){
arr.push(i)
}
})
let list = arr;
list.forEach((item,index) => {
if(item.is_open=='0'){
list.splice(index,1)
... ...
... ... @@ -472,9 +472,14 @@ Page({
getNewRechargeListfFun(probablyPrice) {
App.Activity.GetNewRechargeList({
sellerid: this.data.options.sid,
is_expire: '0'
}).then(res => {
let list = res.data;
let arr=[]
res.data.forEach(i=>{
if(i.status!='1'){
arr.push(i)
}
})
let list = arr;
list.forEach((item,index) => {
if(item.is_open=='0'){
list.splice(index,1)
... ...