yinbentan
2024-06-28 370bdb26ddaa827f89de5125dbe0d6d54bf19fa3
constvar/const.go
@@ -322,3 +322,18 @@
const (
   SystemConfigTypeInventoryCutOffPoint SystemConfigType = 1 //库存结算时间点
)
type MiniDictType int
const (
   TransferType MiniDictType = iota + 1 // 调拨类型
   StorageType                          // 入库类型
   StockoutType                         // 出库类型
)
func (t MiniDictType) Valid() bool {
   if t <= 0 {
      return false
   }
   return true
}