diff --git a/src/views/pum/order.vue b/src/views/pum/order.vue
index aa9d0da2..9eaf4659 100644
--- a/src/views/pum/order.vue
+++ b/src/views/pum/order.vue
@@ -20,7 +20,7 @@
- {{ stateOption[scope.row.state] }}
+ {{ stateOption[scope.row.state].label }}
@@ -69,11 +69,12 @@ export default {
},
selection: [],
stateOption: {
- 10: '创建中',
- 20: '已提交',
- 30: '到货中',
- 40: '已完成',
+ 10: {"label": "创建中", "color": ""},
+ 20: {"label": "已提交", "color": ""},
+ 30: {"label": "到货中", "color": ""},
+ 40: {"label": "已完成", "color": "success"},
},
+
};
},
methods: {
diff --git a/src/views/pum/plan.vue b/src/views/pum/plan.vue
index 9b0e3428..75ea1fdd 100644
--- a/src/views/pum/plan.vue
+++ b/src/views/pum/plan.vue
@@ -18,7 +18,7 @@
- {{ stateOption[scope.row.state] }}
+ {{ stateOption[scope.row.state].label }}
@@ -66,11 +66,11 @@ export default {
},
selection: [],
stateOption: {
- 10: '创建中',
- 20: '已提交',
- 30: '下单中',
- 40: '下单完成',
- 50: '已完成',
+ 10: {"label": "创建中", "color": ""},
+ 20: {"label": "已提交", "color": ""},
+ 30: {"label": "下单中", "color": ""},
+ 40: {"label": "下单完成", "color": ""},
+ 40: {"label": "已完成", "color": "success"},
},
};
},