This commit is contained in:
parent
c29cf811fc
commit
731faf5367
|
|
@ -15,7 +15,7 @@
|
|||
<el-input v-model="filter.email" size="small" placeholder="{{ __('customer.email') }}"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="{{ __('customer.customer_group') }}">
|
||||
<el-select size="small" v-model="filter.customer_group" placeholder="{{ __('common.please_choose') }}">
|
||||
<el-select size="small" v-model="filter.customer_group_id" placeholder="{{ __('common.please_choose') }}">
|
||||
<el-option v-for="item in source.customer_group" :key="item.id" :label="item.name"
|
||||
:value="item.id + ''">
|
||||
</el-option>
|
||||
|
|
@ -153,7 +153,7 @@
|
|||
filter: {
|
||||
email: bk.getQueryString('email'),
|
||||
name: bk.getQueryString('name'),
|
||||
customer_group: bk.getQueryString('customer_group'),
|
||||
customer_group_id: bk.getQueryString('customer_group_id'),
|
||||
status: bk.getQueryString('status'),
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -85,32 +85,36 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="quantity-btns d-flex">
|
||||
<div class="quantity-wrap">
|
||||
<input type="text" class="form-control" :disabled="!product.quantity" onkeyup="this.value=this.value.replace(/\D/g,'')" v-model="quantity" name="quantity">
|
||||
<div class="right">
|
||||
<i class="bi bi-chevron-up"></i>
|
||||
<i class="bi bi-chevron-down"></i>
|
||||
@if ($product['active'])
|
||||
<div class="quantity-btns d-flex">
|
||||
<div class="quantity-wrap">
|
||||
<input type="text" class="form-control" :disabled="!product.quantity" onkeyup="this.value=this.value.replace(/\D/g,'')" v-model="quantity" name="quantity">
|
||||
<div class="right">
|
||||
<i class="bi bi-chevron-up"></i>
|
||||
<i class="bi bi-chevron-down"></i>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
class="btn btn-outline-dark ms-3 add-cart"
|
||||
:disabled="!product.quantity"
|
||||
@click="addCart(false, this)"
|
||||
><i class="bi bi-cart-fill me-1"></i>{{ __('shop/products.add_to_cart') }}
|
||||
</button>
|
||||
<button
|
||||
class="btn btn-dark ms-3"
|
||||
:disabled="!product.quantity"
|
||||
@click="addCart(true, this)"
|
||||
><i class="bi bi-bag-fill me-1"></i>{{ __('shop/products.buy_now') }}
|
||||
</button>
|
||||
</div>
|
||||
<button
|
||||
class="btn btn-outline-dark ms-3 add-cart"
|
||||
:disabled="!product.quantity"
|
||||
@click="addCart(false, this)"
|
||||
><i class="bi bi-cart-fill me-1"></i>{{ __('shop/products.add_to_cart') }}
|
||||
</button>
|
||||
<button
|
||||
class="btn btn-dark ms-3"
|
||||
:disabled="!product.quantity"
|
||||
@click="addCart(true, this)"
|
||||
><i class="bi bi-bag-fill me-1"></i>{{ __('shop/products.buy_now') }}
|
||||
</button>
|
||||
</div>
|
||||
<div class="add-wishlist">
|
||||
<button class="btn btn-link ps-0 text-dark" data-in-wishlist="{{ $product['in_wishlist'] }}" onclick="bk.addWishlist('{{ $product['id'] }}', this)">
|
||||
<i class="bi bi-heart{{ $product['in_wishlist'] ? '-fill' : '' }} me-1"></i> {{ __('shop/products.add_to_favorites') }}
|
||||
</button>
|
||||
</div>
|
||||
<div class="add-wishlist">
|
||||
<button class="btn btn-link ps-0 text-dark" data-in-wishlist="{{ $product['in_wishlist'] }}" onclick="bk.addWishlist('{{ $product['id'] }}', this)">
|
||||
<i class="bi bi-heart{{ $product['in_wishlist'] ? '-fill' : '' }} me-1"></i> {{ __('shop/products.add_to_favorites') }}
|
||||
</button>
|
||||
</div>
|
||||
@else
|
||||
<div class="text-danger"><i class="bi bi-exclamation-circle-fill"></i> {{ __('product.has_been_inactive') }}</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue