Showing
1 changed file
with
15 additions
and
7 deletions
1 | <template> | 1 | <template> |
2 | - <com-tab :rows="tab.rows" :active.sync="tab.active"></com-tab> | 2 | + <com-tab :rows="tab.rows" :active.sync="tab.active"></com-tab> |
3 | <template v-if="tab.active==0"> | 3 | <template v-if="tab.active==0"> |
4 | - <uc-import></uc-import> | 4 | + <uc-import :importData="import"></uc-import> |
5 | </template> | 5 | </template> |
6 | <template v-if="tab.active==1"> | 6 | <template v-if="tab.active==1"> |
7 | - <uc-export></uc-export> | 7 | + <uc-export :exportData="export"></uc-export> |
8 | </template> | 8 | </template> |
9 | </template> | 9 | </template> |
10 | 10 | ||
@@ -22,11 +22,19 @@ | @@ -22,11 +22,19 @@ | ||
22 | data(){ | 22 | data(){ |
23 | return { | 23 | return { |
24 | tab:{ | 24 | tab:{ |
25 | - rows:[ | ||
26 | - {name:"发货入库"}, | ||
27 | - {name:"请退出库"} | ||
28 | - ], | 25 | + rows:[{name:"发货入库"}, {name:"请退出库"}], |
29 | active:0 | 26 | active:0 |
27 | + }, | ||
28 | + import:{ | ||
29 | + card:[ | ||
30 | + {name:"库存总金额(元)",value:"89004.00"}, | ||
31 | + {name:"库存总金额(元)",value:"89004.00"}, | ||
32 | + {name:"库存总金额(元)",value:"89004.00"}, | ||
33 | + {name:"库存总金额(元)",value:"89004.00"} | ||
34 | + ] | ||
35 | + }, | ||
36 | + export:{ | ||
37 | + | ||
30 | } | 38 | } |
31 | } | 39 | } |
32 | } | 40 | } |
-
Please register or login to post a comment