fixes ui order page

This commit is contained in:
rakesh 2023-05-19 12:15:05 +05:30
parent 36ed3aeec1
commit 9af28417d7
2 changed files with 24 additions and 14 deletions

View File

@ -87,7 +87,6 @@
isHovering ? ' bg-white text-primary' : 'bg-primary'
"
class="text-uppercase ls-0 body productpage-button"
@click="addToCart(product.sku, product.mq)"
>
<v-progress-circular
@ -186,7 +185,7 @@ export default {
async addToCart(sku, qty) {
if (sku) {
if (this.userAuth) {
debugger
debugger;
await this.$store
.dispatch("userCartProduct/addToCart", {
sku: sku,
@ -390,8 +389,6 @@ export default {
.filter-component-width .v-expansion-panels {
display: inline-block;
}
// .v-text-field__details {
// display: none;
// }
</style>
<style src="./RetailerSearchProducts.scss" lang="scss" scoped />

View File

@ -63,7 +63,20 @@
<div class="pt-7">-</div>
<v-col cols="12" sm="12" md="6" lg="5">
<v-menu
<v-text-field
type="date"
v-model="createdTo"
placeholder="To"
density="compact"
variant="outlined"
label="To"
color="primary pt-0"
>
</v-text-field>
<!-- <v-menu
v-model="menu2"
:close-on-content-click="false"
:nudge-right="40"
@ -90,7 +103,7 @@
v-model="createdTo"
@input="menu2 = false"
></v-date-picker>
</v-menu>
</v-menu>-->
</v-col>
<!-- <v-col cols="12" sm="12" md="12" lg="12">
@ -161,7 +174,7 @@
:headers="headers"
:items="OrderHistory"
:items-per-page="10"
class="elevation-1 pt-5"
class="elevation-1"
>
<template v-slot:item.date="{ item }">
<span>{{ isoStringToNormalDate(item.value.updatedAt) }}</span>
@ -223,12 +236,12 @@ export default {
dateAtFormatted:"",
dateToFormatted:"",
headers: [
{ title: "Date", key: "date" },
{ title: "Order #", key: "order" },
{ title: "Sales Rep Name", key: "salesrepname" },
{ title: "Status", key: "status" },
{ title: "PO Number", key: "POnumber" },
{ title: "Action", key: "actions" },
{ title: "Date", key: "date" , sortable: false },
{ title: "Order #", key: "order" , sortable: false},
{ title: "Sales Rep Name", key: "salesrepname" , sortable: false},
{ title: "Status", key: "status" , sortable: false},
{ title: "PO Number", key: "POnumber" , sortable: false},
{ title: "Action", key: "actions" , sortable: false},
],
}),
computed: {