diff --git a/pkg-video/views/county-lottery.vue b/pkg-video/views/county-lottery.vue index 43db79e..57e758e 100644 --- a/pkg-video/views/county-lottery.vue +++ b/pkg-video/views/county-lottery.vue @@ -123,7 +123,7 @@ :cartNum="cart_num" :hideQuantityControls="true" :showOk="true" - :okText="currentGoodsItem && Number(currentGoodsItem.isGiftCard) === 1 ? '送给朋友' : '立即下单'" + :okText="currentGoodsItem && Number(currentGoodsItem.isGiftCard) === 1 ? '立即下单' : '立即下单'" @changeFun="changeFun" @ok="submitFromSku()" /> @@ -369,7 +369,9 @@ export default { ...(productSelect || {}), ...(this.attr.productSelect || {}) } - const isGiftOrder = Number(this.currentGoodsItem && this.currentGoodsItem.isGiftCard) === 1 + // const isGiftOrder = Number(this.currentGoodsItem && this.currentGoodsItem.isGiftCard) === 1 + const isGiftOrder = false + const stock = Number(currentSelect.stock || 0) const hasNo = (this.attr.productAttr.length && !productSelect && this.isOpen) || stock <= 0 if (hasNo) {