[baozhangchao] hace 3 años
padre
commit
02bbbe21ba
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/pages/index/tabs/Orders.jsx

+ 2
- 2
src/pages/index/tabs/Orders.jsx Ver fichero

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