info.vue
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<template>
<layout-body>
<order-info ref="info" :id="id"></order-info>
<layout-action>
<Button @click="back">返回发货入库列表</Button>
</layout-action>
<layout-list>
<Tabs type="card" :animated="false" @on-click="onTabsClick">
<Tab-pane label="已选商品">
<product-list ref="selectProduct"
:oid="id"
:brandId="brandId"
:selected="true"
:show="true">
</product-list>
</Tab-pane>
</Tabs>
</layout-list>
</layout-body>
</template>
<script>
import ProductList from './components/product-list';
import OrderInfo from './components/order-info';
export default {
data() {
return {
id: '',
};
},
created() {
this.id = this.$route.params.id;
},
methods: {
back() {
this.$router.push({name: 'repository.invoice.list'});
},
},
components: {
ProductList,
OrderInfo
}
};
</script>