|
@@ -725,10 +725,14 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
$('.num-ipt').eq(index).val(val);
|
|
$('.num-ipt').eq(index).val(val);
|
|
- stopManyClick(() => {
|
|
|
|
- toastr.error('分配时长不能大于未分配总时长');
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
|
|
+ if(!lotteryFlag) {
|
|
|
|
+ return
|
|
|
|
+ } else {
|
|
|
|
+ stopManyClick(() => {
|
|
|
|
+ toastr.error('分配时长不能大于未分配总时长');
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if(value.length > 5) value = value.slice(0, 5);
|
|
if(value.length > 5) value = value.slice(0, 5);
|
|
$('.num-ipt').eq(index).val(value);
|
|
$('.num-ipt').eq(index).val(value);
|