From 6ff8e23e592bca56afeab0724a3ba3a9b237b2ca Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Wed, 13 Dec 2023 17:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A4=BC=E7=89=A9=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/GiftManageView.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 32e4ecb..3e79653 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -164,7 +164,7 @@
- @@ -548,7 +548,6 @@ import TableHelper from '@/utils/bootstrap-table-helper'; import ComboboxHelper from '@/assets/plugins/bootstrap-combobox/js/bootstrap-combobox-helper'; import { formatTime, showLoading, hideLoading } from '@/utils/maintainer'; -//ComboboxHelper.build(null, '#giftType'); //ComboboxHelper.build(null, '#condition_type'); //ComboboxHelper.build(null, '#nobleId'); export default { @@ -562,7 +561,7 @@ export default { $('.noble').removeClass("hidden"); } if (val == 3) { - ComboboxHelper.setDef("#giftType", 2); + $('#giftType').val(2); $("#giftType").attr('readonly', true); $('#roomFreeGift').removeClass("hidden"); } else { @@ -849,7 +848,7 @@ export default { // $("#goldPrice").attr('readonly', false); $("#nobleId").btComboBox('disable'); ComboboxHelper.setDef("#nobleId", '0'); - ComboboxHelper.setDef("#giftType", '2'); + $('#giftType').val(2); $("input:radio[name='giftStatus']")[1].checked = true; $("input:radio[name='hasEffect']")[1].checked = true; $("input:radio[name='hasVggPic']")[1].checked = true; @@ -1131,7 +1130,6 @@ export default { $("#consumeType").val(consumeType); $("#consumeType").attr("disabled", true); - ComboboxHelper.setDef("#giftType", json.entity.giftType); $('#giftType').val(json.entity.giftType); if (consumeType == 1) { ComboboxHelper.setDef("#nobleId", '0');