Browse Source

no message

linwenxin 10 months ago
parent
commit
a0ba3ace6b
1 changed files with 7 additions and 9 deletions
  1. 7 9
      src/views/mallManagement/order/order_list/index.vue

+ 7 - 9
src/views/mallManagement/order/order_list/index.vue

@@ -1433,15 +1433,13 @@ export default {
       })
     },
     changeTabs(tab, event) {
-      if (this.tabCurrent === 'ALL') {
-        var v = tab.$options.propsData.name
-        if (['ALL', 'NOPAY', 'DQR', 'DFH', 'YFH', 'OVER', 'CLOSE', 'TIMEOUT'].includes(v)) {
-          this.screenForm.payStatus = ''
-          this.screenForm.orderStatus = v
-        } else if (['NO_PAID', 'PART_PAID', 'PAID'].includes(v)) {
-          this.screenForm.payStatus = v
-          this.screenForm.orderStatus = ''
-        }
+      var v = tab.$options.propsData.name
+      if (['NOPAY', 'DQR', 'DFH', 'YFH', 'OVER', 'CLOSE', 'TIMEOUT'].includes(v)) {
+        this.screenForm.payStatus = ''
+        this.screenForm.orderStatus = v
+      } else if (['NO_PAID', 'PART_PAID', 'PAID'].includes(v)) {
+        this.screenForm.payStatus = v
+        this.screenForm.orderStatus = ''
       } else {
         this.screenForm.payStatus = ''
         this.screenForm.orderStatus = ''