diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 96be52c..84133b0 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1535,15 +1535,6 @@ export default { $this.gift.giftId = entity.giftId; $this.gift.giftType = entity.giftType; $this.gift.subGiftType = entity.subGiftType; - if (entity.giftType == 16) { - $('#giftType').attr('disabled', 'disabled'); - $('#subGiftType').attr('disabled', 'disabled'); - $('#baseGiftId').attr('disabled', 'disabled'); - $('#unlockNum').attr('disabled', 'disabled'); - } else if (entity.giftType == 17) { - $this.changeDressType('send'); - $this.changeDressType('receive'); - } $('#sendDressType').val(entity.sendDressType); $('#sendDressId').val(entity.sendDressId); $('#sendDressTime').val(entity.sendDressTime); @@ -1561,6 +1552,15 @@ export default { $('#bannerSkipUrl').val(entity.bannerSkipUrl); $('#sendDressIdBak').val(entity.sendDressId); $('#receiveDressIdBak').val(entity.receiveDressId); + if (entity.giftType == 16) { + $('#giftType').attr('disabled', 'disabled'); + $('#subGiftType').attr('disabled', 'disabled'); + $('#baseGiftId').attr('disabled', 'disabled'); + $('#unlockNum').attr('disabled', 'disabled'); + } else if (entity.giftType == 17) { + $this.changeDressType('send'); + $this.changeDressType('receive'); + } // 打开编辑弹窗 $("#giftModal").modal('show'); } else {