controllers/location.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
controllers/warehouse.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
controllers/location.go
@@ -40,7 +40,7 @@ } params.JointName = first.JointName + "/" + params.Name if first.WarehouseId != 0 { params.WarehouseId = first.Id params.WarehouseId = first.WarehouseId } else { //根据仓库缩写查询仓库 houseCode := strings.Split(first.JointName, "/")[0] controllers/warehouse.go
@@ -55,8 +55,8 @@ } //创建默认位置 location := &models.Location{ Name: "默认位置", JointName: params.Code + "/默认位置", Name: params.Name, JointName: params.Name, Type: constvar.LocationTypeInternal, ReplenishLocation: true, ParentId: id,