update admin view for last mile intergration

This commit is contained in:
edmondlang
2022-04-04 14:21:59 +08:00
parent bf4830ba7a
commit ab141ae160
2 changed files with 3 additions and 15 deletions
@@ -64,9 +64,6 @@
</template>
<script>
export default {
// components: {
// Vuetable
// },
props: {
company_id: {
type: Number,
+3 -12
View File
@@ -1,7 +1,7 @@
<div class="row d-none" :class="[{'d-flex': $store.getters.isAdmin}]" v-if="$store.getters.isAdmin">
<div class="col">
<div class="row">
<div class="col-6">
<div class="col-12">
<div class="row p-b-5 b-b b-grey m-b-10 m-l-0 m-r-0">
<div class="col no-padding">
<h6>Orders List</h6>
@@ -9,16 +9,7 @@
</div>
<div class="row m-l-0 m-r-0">
<div class="col">
<list-component key="2" section="customerWithoutConfirmedOrdersListSection" :endpoint="route('api.company.list')" :options="{'has_business_module_type': 1, 'created_after': '18-09-2021','without_confirmed_orders': true}">
<template slot="list" slot-scope="{data}">
<company-component :data="data"></company-component>
</template>
</list-component>
<list-component section="searchOrderListSection" :endpoint="route('api.order.list')" :options="{reference_like:query, with_packing_lists: true}" :columns=3 v-if="$store.getters.isShowing('searchOrderSection')">
<template slot="list" slot-scope="{data}">
<order-component :data="data"></order-component>
</template>
</list-component>
<delivery-orders-table-section-component></delivery-orders-table-section-component>
</div>
</div>
</div>
@@ -30,7 +21,7 @@
</div>
<div class="row m-l-0 m-r-0">
<div class="col">
<list-component key="2" section="customerListSection" :endpoint="route('api.company.list')" :options="{'has_business_module_type': 1}">
<list-component key="2" section="customerListSection" :endpoint="route('api.company.list')" :options="{'has_business_module_type': 7}">
<template slot="list" slot-scope="{data}">
<company-component :data="data"></company-component>
</template>