|
@@ -9,20 +9,25 @@
|
|
|
cart-total
|
|
|
cart-items
|
|
|
tab-content(title="Seleccione un cliente")
|
|
|
+ customer-searcher
|
|
|
customers-grid
|
|
|
tab-content(title="Vea un resumen de su operación")
|
|
|
- .results
|
|
|
+ summary
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import { FormWizard, TabContent } from 'vue-form-wizard'
|
|
|
+ import 'vue-form-wizard/dist/vue-form-wizard.min.css'
|
|
|
+
|
|
|
import ProductsSearcher from '@/components/ProductsSearcher'
|
|
|
import ProductsGrid from '@/components/ProductsGrid'
|
|
|
import CartTotal from '@/components/CartTotal'
|
|
|
import CartItems from '@/components/CartItems'
|
|
|
import CartItem from '@/components/CartItem'
|
|
|
+ import CustomerSearcher from '@/components/CustomerSearcher'
|
|
|
import CustomersGrid from '@/components/CustomersGrid'
|
|
|
- import 'vue-form-wizard/dist/vue-form-wizard.min.css'
|
|
|
+ import Summary from '@/components/Summary'
|
|
|
+
|
|
|
import { mapActions } from 'vuex'
|
|
|
import Vuex from 'vuex'
|
|
|
|
|
@@ -35,7 +40,9 @@
|
|
|
'cart-total': CartTotal,
|
|
|
'cart-items': CartItems,
|
|
|
'cart-item': CartItem,
|
|
|
- 'customers-grid': CustomersGrid
|
|
|
+ 'customer-searcher': CustomerSearcher,
|
|
|
+ 'customers-grid': CustomersGrid,
|
|
|
+ 'summary': Summary
|
|
|
},
|
|
|
methods: mapActions([
|
|
|
'fetchCompany',
|