|
...
|
...
|
@@ -187,9 +187,9 @@ Page({ |
|
|
|
this.onShow();
|
|
|
|
},
|
|
|
|
getlist(page){
|
|
|
|
App.Orders.GetOrderListByOpenid({openid:util.cache('openid'),page:page,size:10,sellerid:util.cache('sellerid'),status:this.data.statusidx+1}).then((json)=>{
|
|
|
|
App.Orders.GetOrderBySellerid({openid:util.cache('openid'),page:page,size:10,sellerid:util.cache('sellerid'),status:this.data.statusidx+1}).then((json)=>{
|
|
|
|
console.log(json)
|
|
|
|
if(json.ret==200){
|
|
|
|
if(json.ret==200 && json.data){
|
|
|
|
json.data.forEach((v,i)=>{
|
|
|
|
v.showdate=util.unixtoTime(v.cdate,'YYYY/MM/DD HH:II');
|
|
|
|
v.sdate=util.unixtoTime(v.sd_time.split('-')[0],'YYYY/MM/DD HH:II')
|
...
|
...
|
|