dsmzx
2024-06-26 5f7f65f00d4d1c280f8b09b73ef7dcfa2af0fd54
models/warehouse.go
@@ -4,6 +4,7 @@
   "fmt"
   "gorm.io/gorm"
   "strings"
   "wms/constvar"
   "wms/pkg/mysqlx"
)
@@ -28,6 +29,8 @@
      LocationId             int          `json:"locationId" gorm:"type:int;comment:位置id"`             //默认位置id
      WarehouseLocation      string       `json:"warehouseLocation" gorm:"-"`                          //库存位置
      Contacts               string       `json:"contacts" gorm:"type:varchar(255);comment:联系人"`       //联系人
      FileTemplateCategoryIn  constvar.FileTemplateCategory `json:"fileTemplateCategoryIn" gorm:"type:int(11);comment:入库模版种类"`
      FileTemplateCategoryOut constvar.FileTemplateCategory `json:"fileTemplateCategoryOut" gorm:"type:int(11);comment:出库模版种类"`
   }
   WarehouseSearch struct {