fixes
This commit is contained in:
parent
66e790b4c9
commit
ccc0c77a54
|
@ -1 +1 @@
|
||||||
{"branch_name":"dev","last_commit_date":"2022-02-05T10:19:06.000Z","last_commit_author":"anjujangid","last_commit_hash":"74d3d0c4faa541b6dfdfa28e187885658ae11448"}
|
{"branch_name":"beta","last_commit_date":"2022-02-11T07:31:45.000Z","last_commit_author":"anjujangid","last_commit_hash":"66e790b4c9a8e1c1bbeecd26f05563fa626c2e69"}
|
|
@ -10,7 +10,7 @@
|
||||||
justify-md-start
|
justify-md-start
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<v-col cols="12" sm="12" md="12" lg="12">
|
<!--<v-col cols="12" sm="12" md="12" lg="12">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
label="Order Number"
|
label="Order Number"
|
||||||
persistent-hint
|
persistent-hint
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
Search
|
Search
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-hover>
|
</v-hover>
|
||||||
</v-col>
|
</v-col>--->
|
||||||
<v-col cols="12" sm="12" md="6" lg="3">
|
<v-col cols="12" sm="12" md="6" lg="3">
|
||||||
<v-hover v-slot:default="{ hover }">
|
<v-hover v-slot:default="{ hover }">
|
||||||
<router-link
|
<router-link
|
||||||
|
@ -142,6 +142,12 @@
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:item.order="{ item }">
|
<template v-slot:item.order="{ item }">
|
||||||
<span>{{ item.items[0].orderId }}</span>
|
<span>{{ item.items[0].orderId }}</span>
|
||||||
|
</template>
|
||||||
|
<template v-slot:item.retailername="{ item }">
|
||||||
|
<span>{{ `-` }}</span>
|
||||||
|
</template>
|
||||||
|
<template v-slot:item.salesrepname="{ item }">
|
||||||
|
<span>{{ `-` }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:item.status="{ item }">
|
<template v-slot:item.status="{ item }">
|
||||||
<span>{{ item.status }}</span>
|
<span>{{ item.status }}</span>
|
||||||
|
@ -168,13 +174,11 @@
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-form>
|
</v-form>
|
||||||
<!-- <ul v-for="(listorder, index) in OrderHistory" v-bind:key="index">
|
|
||||||
<li> {{ listorder.items[0].orderId}}</li>
|
|
||||||
</ul> -->
|
|
||||||
|
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
/* eslint-disable no-alert, no-console , no-debugger */
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "BoxedOrderHistoryPage",
|
name: "BoxedOrderHistoryPage",
|
||||||
components: {},
|
components: {},
|
||||||
|
@ -237,11 +241,22 @@ export default {
|
||||||
searchOrder(value) {
|
searchOrder(value) {
|
||||||
value.preventDeafult();
|
value.preventDeafult();
|
||||||
},
|
},
|
||||||
},
|
orderlistApi() {
|
||||||
created() {
|
if(this.customerId && this.customerId.id)
|
||||||
|
{
|
||||||
this.$store.dispatch("orderlist/fetchOrderList",this.customerId.id);
|
this.$store.dispatch("orderlist/fetchOrderList",this.customerId.id);
|
||||||
|
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
watch:
|
||||||
|
{
|
||||||
|
customerId()
|
||||||
|
{
|
||||||
|
this.orderlistApi();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style src="./boxed_order_history.scss" lang="scss" scoped/>
|
<style src="./boxed_order_history.scss" lang="scss" scoped/>
|
||||||
|
|
Loading…
Reference in New Issue