caipin 4 年之前
父节点
当前提交
cc06443888
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      comm/functions.go

+ 1 - 0
comm/functions.go

@@ -199,6 +199,7 @@ func MakeSectionContract(Data []*viewmodels.TreeSectionContract, node *viewmodel
 		// 3.赋值到父项中
 		node.ContractPrice = fmt.Sprintf("%.2f", contractPriceTotal)
 		node.ContractReturned = fmt.Sprintf("%.2f", returnPriceTotal)
+		node.ContractsPaid = fmt.Sprintf("%.2f", paidPriceTotal)
 	}
 }