|
|
<template>
|
|
|
<com-tab :rows="tab.rows" :active.sync="tab.active"></com-tab>
|
|
|
<template v-if="tab.active==0">
|
|
|
<uc-import :importData="import"></uc-import>
|
|
|
</template>
|
|
|
<template v-if="tab.active==1">
|
|
|
<uc-export :exportData="export"></uc-export>
|
|
|
</template>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import tab from '../../../../components/tab/index';
|
|
|
import ucImportStock from './importStock';
|
|
|
import ucExportStock from './exportStock';
|
|
|
|
|
|
export default{
|
|
|
components:{
|
|
|
comTab: tab,
|
|
|
ucImport:ucImportStock,
|
|
|
ucExport:ucExportStock
|
|
|
},
|
|
|
data(){
|
|
|
return {
|
|
|
tab:{
|
|
|
rows:[{name:"发货入库"}, {name:"请退出库"}],
|
|
|
active:0
|
|
|
},
|
|
|
import:{
|
|
|
card:[
|
|
|
{name:"库存总金额(元)",value:"89004.00"},
|
|
|
{name:"库存总金额(元)",value:"89004.00"},
|
|
|
{name:"库存总金额(元)",value:"89004.00"},
|
|
|
{name:"库存总金额(元)",value:"89004.00"}
|
|
|
]
|
|
|
},
|
|
|
export:{
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script> |
|
|
\ No newline at end of file |
...
|
...
|
|