|
|
|
@ -24,7 +24,7 @@ Page({ |
|
|
|
form: { |
|
|
|
status: '', |
|
|
|
pageNum: 1, |
|
|
|
pageSize:15 |
|
|
|
pageSize: 15 |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -36,7 +36,7 @@ Page({ |
|
|
|
height: app.globalData.fragmentHeight - 90, |
|
|
|
CustomBar: app.globalData.CustomBar, |
|
|
|
// ['form.status']: options.status ? statusList[parseInt(options.status)] : '',
|
|
|
|
['form.status']: options.status? options.status:'', |
|
|
|
['form.status']: options.status ? options.status : '', |
|
|
|
// tabIndex: options.status ? parseInt(options.status) : 0
|
|
|
|
tabIndex: options.tabIndex ? parseInt(options.tabIndex) : 0 |
|
|
|
}) |
|
|
|
@ -105,6 +105,20 @@ Page({ |
|
|
|
loading: false |
|
|
|
}) |
|
|
|
} |
|
|
|
var isOnece = '' |
|
|
|
var lsList = this.data.orderList[0] |
|
|
|
console.log('list',lsList) |
|
|
|
lsList.forEach(element => { |
|
|
|
if (element.deliveryTime === isOnece) { |
|
|
|
element.isShowDateQd = false |
|
|
|
} else { |
|
|
|
element.isShowDateQd = true |
|
|
|
isOnece = element.deliveryTime |
|
|
|
} |
|
|
|
}); |
|
|
|
this.setData({ |
|
|
|
'orderList[0]': lsList |
|
|
|
}) |
|
|
|
}).catch(err => { |
|
|
|
//异常回调
|
|
|
|
this.setData({ |
|
|
|
@ -113,6 +127,8 @@ Page({ |
|
|
|
}) |
|
|
|
util.showToast(err) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
onTabChange: function ({ |
|
|
|
detail |
|
|
|
|