|
|
@@ -34,21 +34,21 @@ Page({
|
|
|
getApp().globalData.order = false
|
|
|
}
|
|
|
|
|
|
- // if (rid) {
|
|
|
- // if (rid === 'unpay') {
|
|
|
- // this.tabUnpay()
|
|
|
- // } else if (rid === 'processing') {
|
|
|
- // this.tabProcessing()
|
|
|
- // } else if (rid === 'dispatch') {
|
|
|
- // this.tabDispatch()
|
|
|
- // } else if (rid === 'complete') {
|
|
|
- // this.tabComplete()
|
|
|
- // } else {
|
|
|
- // this.getOrderList()
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // this.getOrderList()
|
|
|
- // }
|
|
|
+ if (rid) {
|
|
|
+ if (rid === 'unpay') {
|
|
|
+ this.tabUnpay()
|
|
|
+ } else if (rid === 'processing') {
|
|
|
+ this.tabProcessing()
|
|
|
+ } else if (rid === 'dispatch') {
|
|
|
+ this.tabDispatch()
|
|
|
+ } else if (rid === 'complete') {
|
|
|
+ this.tabComplete()
|
|
|
+ } else {
|
|
|
+ this.getOrderList()
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.getOrderList()
|
|
|
+ }
|
|
|
},
|
|
|
tabAll: function () {
|
|
|
if (this.data.type !== '') {
|