fix: 采购价格上限按数量计算总价 (#181)

This commit is contained in:
chengma
2026-08-12 14:43:18 +08:00
parent 8c7be7bd07
commit 253be7cb61
24 changed files with 203 additions and 106 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ func taskPayload(t *model.Task) gin.H {
payload["options"] = options
}
}
// 采购任务必须带数量和价格上限,这是 Client 的价格保护
// 采购任务必须带数量和订单总价上限,这是 Client 的价格保护。
if t.Quantity > 0 {
payload["quantity"] = t.Quantity
}