Commit 5cadbb50 authored by 王波's avatar 王波

修改下单数量限制

parent 6055b344
...@@ -69,7 +69,7 @@ export default async function updateGrowOrderGoods( ...@@ -69,7 +69,7 @@ export default async function updateGrowOrderGoods(
!orderList.some(order => order.orderId === v.orderId) && !orderList.some(order => order.orderId === v.orderId) &&
!targetOrders.some(order => order.orderId === v.orderId) !targetOrders.some(order => order.orderId === v.orderId)
) { ) {
if (targetOrders.length + completeTimes >= times) { if (targetOrders.length + completeTimes >= times && taskRateType !== TASK_RATE_TYPE.NOLIMIT) {
return return
} }
targetOrders.push({ targetOrders.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment