[baozhangchao] 3 anni fa
parent
commit
02bbbe21ba
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      src/pages/index/tabs/Orders.jsx

+ 2
- 2
src/pages/index/tabs/Orders.jsx Vedi File

70
         title: '已付款',
70
         title: '已付款',
71
         styleColor: '#FF703B'
71
         styleColor: '#FF703B'
72
       }
72
       }
73
-    } else if (item.workStatus == 0 && item.dispatchStatus === 1) {
73
+    } else if (item.payStatus == 1 && item.dispatchStatus === 1) {
74
       return {
74
       return {
75
         title: '待作业',
75
         title: '待作业',
76
         styleColor: '#FF703B'
76
         styleColor: '#FF703B'
96
         title: '已退单',
96
         title: '已退单',
97
         styleColor: '#FF703B'
97
         styleColor: '#FF703B'
98
       }
98
       }
99
-    } else if (item.payStatus === 3) {
99
+    } else if (item.payStatus === 3 && (item.dispatchStatus == 1 || item.dispatchStatus == 0)) {
100
       return {
100
       return {
101
         title: '退单申请中',
101
         title: '退单申请中',
102
         styleColor: '#FF703B'
102
         styleColor: '#FF703B'