From 0f6ffb356b28656ec2f931b804286139f7eac5fa Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 24 Nov 2023 10:39:36 +0800 Subject: [PATCH] el-tag --- src/views/pum/order.vue | 11 ++++++----- src/views/pum/plan.vue | 12 ++++++------ 2 files changed, 12 insertions(+), 11 deletions(-) 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 @@ @@ -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 @@ @@ -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"}, }, }; },