编辑回显问题
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user