礼包码长度由6改成5

master
duhui 2023-01-10 13:40:27 +08:00
parent 0a9be2fc5f
commit 6807f62f3e
1 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@
</div> </div>
</div> </div>
<div class="row cl"> <div class="row cl">
<label class="form-label col-xs-4 col-sm-2"> <label class="form-label col-xs-4 col-sm-2" title="不懂填0">
<span class="c-red">*</span> <span class="c-red">*</span>
渠道id</label> 渠道id</label>
<div class="formControls col-xs-8 col-sm-9"> <div class="formControls col-xs-8 col-sm-9">
@ -260,9 +260,9 @@ function toaddCDKInfo() {
var customGood = $("input[name='customGood']").val(); var customGood = $("input[name='customGood']").val();
var roleUseNum = $("input[name='roleUseNum']").val(); var roleUseNum = $("input[name='roleUseNum']").val();
if (customGood != "" && customGood.length < 6) { if (customGood != "" && customGood.length < 5) {
erroCode = $('.CUSTOMGOOD'); erroCode = $('.CUSTOMGOOD');
erroCode.html('<span style="color: red; ">自定义礼包码长度不能小于6!</span>'); erroCode.html('<span style="color: red; ">自定义礼包码长度不能小于5!</span>');
return false; return false;
} }
if (customGood != "" && goodsNum != 1) { if (customGood != "" && goodsNum != 1) {