constvar/const.go
@@ -126,7 +126,8 @@ LocationTypeInventoryLoss // 库存损失 LocationTypeProduction // 生产 LocationTypeTransit // 中转位置 LocationTypeDisuse LocationTypeDisuse //报废位置 LocationTypeAdjust //库存盘点 ) func (t LocationType) Valid() bool { @@ -183,3 +184,18 @@ PostType_Soon PostType = iota + 1 //尽快 PostType_AfterReady //当所有产品就绪时 ) type RuleType int const ( RuleType_Product RuleType = iota + 1 //产品上架规则 RuleType_ProductCategory //产品类别上架规则 ) type UserType int const ( UserTypeSuper UserType = iota + 1 // 超级管理员 UserTypePrimary // 主账户 UserTypeSub // 子账户 )