补充
This commit is contained in:
@@ -1638,10 +1638,6 @@ export default {
|
|||||||
let giftName = $('#giftName').val();
|
let giftName = $('#giftName').val();
|
||||||
let giftStatus = $("input:radio[name='giftStatus']:checked").val();
|
let giftStatus = $("input:radio[name='giftStatus']:checked").val();
|
||||||
let giftType = $('#giftType').val();
|
let giftType = $('#giftType').val();
|
||||||
$('#giftType').removeAttr('disabled');
|
|
||||||
$('#subGiftType').removeAttr('disabled');
|
|
||||||
$('#baseGiftId').removeAttr('disabled');
|
|
||||||
$('#unlockNum').removeAttr('disabled');
|
|
||||||
console.log(giftType);
|
console.log(giftType);
|
||||||
if (giftType == 16) {
|
if (giftType == 16) {
|
||||||
let subGiftType = $this.gift.subGiftType;
|
let subGiftType = $this.gift.subGiftType;
|
||||||
@@ -1696,13 +1692,17 @@ export default {
|
|||||||
}
|
}
|
||||||
$('#sendDressId').val(sendDressId);
|
$('#sendDressId').val(sendDressId);
|
||||||
$('#receiveDressid').val(receiveDressId);
|
$('#receiveDressid').val(receiveDressId);
|
||||||
if ((sendDressTime && sendDressTime <= 5) || (receiveDressTime && receiveDressTime <= 5)) {
|
if ((sendDressTime && sendDressTime < 5) || (receiveDressTime && receiveDressTime < 5)) {
|
||||||
$("#tipMsg").text("装扮时长不能小于5分钟");
|
$("#tipMsg").text("装扮时长不能小于5分钟");
|
||||||
$("#tipModal").modal('show');
|
$("#tipModal").modal('show');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($("#giftForm").validationEngine('validate')) {
|
if ($("#giftForm").validationEngine('validate')) {
|
||||||
|
$('#giftType').removeAttr('disabled');
|
||||||
|
$('#subGiftType').removeAttr('disabled');
|
||||||
|
$('#baseGiftId').removeAttr('disabled');
|
||||||
|
$('#unlockNum').removeAttr('disabled');
|
||||||
$("#consumeType").removeAttr("disabled");
|
$("#consumeType").removeAttr("disabled");
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "post",
|
type: "post",
|
||||||
|
|||||||
Reference in New Issue
Block a user