|
@@ -105,7 +105,7 @@
|
|
|
array: [{
|
|
|
id: "",
|
|
|
name: '全部'
|
|
|
- },{id:"0", name: '未支付'},{id:"1", name: '已支付'},{id:"2", name:'已取消'},{id:"3", name:'生产完成'},{id:"4", name: '异常'},{id:"5", name: '转入退款'},],
|
|
|
+ },{id:"0", name: '未支付'},{id:"1", name: '已支付'},{id:"2", name:'已取消'},{id:"3", name:'生产完成'},{id:"4", name: '异常'},{id:"5", name: '转入退款'},{id:"6", name: '其它'}],
|
|
|
orderList: [
|
|
|
/*{
|
|
|
name: '美式咖啡',
|
|
@@ -238,13 +238,12 @@
|
|
|
}else if(that.index==''){
|
|
|
that.queryParams.model.orderStatus =''
|
|
|
}
|
|
|
- console.log(that.range)
|
|
|
if (that.range.length > 0) {
|
|
|
that.queryParams.map.createTime_st = that.range[0];
|
|
|
that.queryParams.map.createTime_ed = that.range[1];
|
|
|
}
|
|
|
util.request(api.OrderList, that.queryParams, 'post', 'application/json').then(function(res) {
|
|
|
- if (res.code === 0) {
|
|
|
+ if (res.code === 0) {
|
|
|
res.data.records = res.data.records.filter(item=>{
|
|
|
if(item.id==null){
|
|
|
that.orderSum = item.orderSum;
|
|
@@ -253,6 +252,7 @@
|
|
|
return true;
|
|
|
})
|
|
|
that.orderList = that.orderList.concat(res.data.records);
|
|
|
+ console.log(that.orderList)
|
|
|
//that.page = res.data.currentPage + 1
|
|
|
that.totalPages = res.data.pages
|
|
|
that.orderCount = res.data.total
|