This commit is contained in:
shilixia 2022-03-11 13:19:51 +08:00
parent 34e31a762e
commit 96b404ebf3
1 changed files with 3 additions and 1 deletions

View File

@ -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 = (