|
|
<template>
|
|
|
<com-tab :rows="tab.rows" :active.sync="tab.active"></com-tab>
|
|
|
<com-tab :rows="tab.rows" :active.sync="tab.active"></com-tab>
|
|
|
<template v-if="tab.active==0">
|
|
|
<uc-import></uc-import>
|
|
|
<uc-import :importData="import"></uc-import>
|
|
|
</template>
|
|
|
<template v-if="tab.active==1">
|
|
|
<uc-export></uc-export>
|
|
|
<uc-export :exportData="export"></uc-export>
|
|
|
</template>
|
|
|
</template>
|
|
|
|
...
|
...
|
@@ -22,11 +22,19 @@ |
|
|
data(){
|
|
|
return {
|
|
|
tab:{
|
|
|
rows:[
|
|
|
{name:"发货入库"},
|
|
|
{name:"请退出库"}
|
|
|
],
|
|
|
rows:[{name:"发货入库"}, {name:"请退出库"}],
|
|
|
active:0
|
|
|
},
|
|
|
import:{
|
|
|
card:[
|
|
|
{name:"库存总金额(元)",value:"89004.00"},
|
|
|
{name:"库存总金额(元)",value:"89004.00"},
|
|
|
{name:"库存总金额(元)",value:"89004.00"},
|
|
|
{name:"库存总金额(元)",value:"89004.00"}
|
|
|
]
|
|
|
},
|
|
|
export:{
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|