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
|
||||
"
|
||||
>
|
||||
<v-col cols="12" sm="12" md="12" lg="12">
|
||||
<!--<v-col cols="12" sm="12" md="12" lg="12">
|
||||
<v-text-field
|
||||
label="Order Number"
|
||||
persistent-hint
|
||||
|
@ -107,7 +107,7 @@
|
|||
Search
|
||||
</v-btn>
|
||||
</v-hover>
|
||||
</v-col>
|
||||
</v-col>--->
|
||||
<v-col cols="12" sm="12" md="6" lg="3">
|
||||
<v-hover v-slot:default="{ hover }">
|
||||
<router-link
|
||||
|
@ -142,6 +142,12 @@
|
|||
</template>
|
||||
<template v-slot:item.order="{ item }">
|
||||
<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 v-slot:item.status="{ item }">
|
||||
<span>{{ item.status }}</span>
|
||||
|
@ -168,13 +174,11 @@
|
|||
</v-col>
|
||||
</v-row>
|
||||
</v-form>
|
||||
<!-- <ul v-for="(listorder, index) in OrderHistory" v-bind:key="index">
|
||||
<li> {{ listorder.items[0].orderId}}</li>
|
||||
</ul> -->
|
||||
|
||||
</v-container>
|
||||
</template>
|
||||
<script>
|
||||
/* eslint-disable no-alert, no-console , no-debugger */
|
||||
|
||||
export default {
|
||||
name: "BoxedOrderHistoryPage",
|
||||
components: {},
|
||||
|
@ -237,11 +241,22 @@ export default {
|
|||
searchOrder(value) {
|
||||
value.preventDeafult();
|
||||
},
|
||||
},
|
||||
created() {
|
||||
orderlistApi() {
|
||||
if(this.customerId && this.customerId.id)
|
||||
{
|
||||
this.$store.dispatch("orderlist/fetchOrderList",this.customerId.id);
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
},
|
||||
watch:
|
||||
{
|
||||
customerId()
|
||||
{
|
||||
this.orderlistApi();
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
</script>
|
||||
<style src="./boxed_order_history.scss" lang="scss" scoped/>
|
||||
|
|
Loading…
Reference in New Issue