From 96b404ebf302827ae2a5715321ee41b722004825 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Fri, 11 Mar 2022 13:19:51 +0800 Subject: [PATCH] tijiao --- hb_server/apps/em/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hb_server/apps/em/models.py b/hb_server/apps/em/models.py index 194474f..7a8e6c9 100644 --- a/hb_server/apps/em/models.py +++ b/hb_server/apps/em/models.py @@ -17,11 +17,13 @@ class Equipment(CommonAModel): EQUIP_STATE_LIMIT = 20 EQUIP_STATE_FIX = 30 EQUIP_STATE_DISABLE = 40 + EQUIP_STATE_scrap = 50 state_choices = ( (EQUIP_STATE_OK, '完好'), (EQUIP_STATE_LIMIT, '限用'), (EQUIP_STATE_FIX, '在修'), - (EQUIP_STATE_DISABLE, '禁用') + (EQUIP_STATE_DISABLE, '禁用'), + (EQUIP_STATE_scrap, '报废') ) state2_choices = (