mirror of
https://github.com/frappe/books.git
synced 2025-01-10 18:24:40 +00:00
227133c1ab
- SalesInvoice List with badges in Status column - QuickEdit view in InvoiceForm and ListView - Native Date control for now - Wrap Quick Edit and Invoice Form in keep-alive
25 lines
649 B
Vue
25 lines
649 B
Vue
<template>
|
|
<div class="flex">
|
|
<Sidebar class="w-56" />
|
|
<div class="flex flex-1 overflow-y-hidden">
|
|
<keep-alive exclude="ListView">
|
|
<router-view class="flex-1" :key="$route.fullPath" />
|
|
</keep-alive>
|
|
<div class="flex" v-if="$route.query.edit && $route.query.doctype && $route.query.name">
|
|
<keep-alive>
|
|
<router-view name="edit" class="w-80 flex-1" :key="$route.query.doctype + $route.query.name"/>
|
|
</keep-alive>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import Sidebar from '../components/Sidebar';
|
|
export default {
|
|
name: 'Desk',
|
|
components: {
|
|
Sidebar
|
|
}
|
|
};
|
|
</script>
|