@@ -86,7 +86,7 @@ func (s *contractService) SectionAdd(sectionData *viewmodels.TreeSectionContract
return errors.New("未找到合同项目节")
}
// 1-1 深度为>=2才能新增项目节
- if sectionFather.Depth < 2 {
+ if sectionFather.Depth < 3 {
return errors.New("请在项目节第三层开始编辑")
// 1-2 项目节是否有合同