yinbentan
2024-06-29 da154e5c758c3b67202390debdc5331a8f68c685
constvar/const.go
@@ -286,8 +286,12 @@
type FileTemplateCategory int
const (
   FileTemplateCategory_Selfmade FileTemplateCategory = iota + 1 //入库-自制
   FileTemplateCategory_Output                                   //出库
   FileTemplateCategory_Selfmade        FileTemplateCategory = iota + 1 //入库-自制
   FileTemplateCategory_Output                                          //出库
   FileTemplateCategory_JialianInput1   = 14                            //嘉联入库模板1
   FileTemplateCategory_JialianOutput1  = 15                            //嘉联出库模块1
   FileWarehouseCategory_JialianInput2  = 16                            //嘉联入库模板2
   FileWarehouseCategory_JialianOutput2 = 17                            //嘉联出库模块2
)
type CodeStandardType string
@@ -310,3 +314,26 @@
   OperationSourceOutsourcingApply OperationSource = 5 //委外领料
   OperationSourceSaleDelivery     OperationSource = 6 //销售发货
)
const DoMonthStatsToken = "Eoh2ZAUJjtbmu0TBkc3dq7MPCpL4riw5NVxOfgXYlKvHF6sR"
type SystemConfigType int
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
}