超管中心 - 铭牌管理 / 头饰管理 增加赠送天数限制

This commit is contained in:
2025-10-17 14:07:59 +08:00
parent e0781bc83f
commit 864719c03b
2 changed files with 10 additions and 0 deletions

View File

@@ -262,6 +262,11 @@ export default {
$("#tipMsg").text("请输入体验天数");
$("#tipModal").modal('show');
return;
}
if ($('#sendDays').val()>30) {
$("#tipMsg").text("赠送天数不超过30天");
$("#tipModal").modal('show');
return;
}
var sendDays = $('#sendDays').val();
var sendDesc = $('#sendDesc').val();

View File

@@ -254,6 +254,11 @@ export default {
$("#tipModal").modal('show');
return;
}
if ($('#sendDays').val()>30) {
$("#tipMsg").text("赠送天数不超过30天");
$("#tipModal").modal('show');
return;
}
var sendDays = $('#sendDays').val();
var sendDesc = $('#sendDesc').val();
var nameplateId = $('#sendNameplateId').val();