style
This commit is contained in:
@@ -1,16 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-button size="small" type="primary" icon="el-icon-circle-plus-outline" style="margin: 0 0 0 10px" @click="ADD()">增加</el-button>
|
<div slot="header" class="clearfix">
|
||||||
</el-card>
|
<el-button size="small" type="primary" icon="el-icon-circle-plus-outline" style="margin: 0 0 0 10px" @click="ADD()">新建仓库</el-button>
|
||||||
<el-card>
|
</div>
|
||||||
<el-table
|
<el-table :data="tableData" border size="mini" style="width: 100%;max-height: 300px" height="300" @row-click="getWarehouse">
|
||||||
:data="tableData"
|
|
||||||
border
|
|
||||||
size="mini"
|
|
||||||
style="width: 100%;max-height: 400px"
|
|
||||||
height="400"
|
|
||||||
@row-click="getWarehouse">
|
|
||||||
<el-table-column label="仓库编号" align="center" width="200">
|
<el-table-column label="仓库编号" align="center" width="200">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.仓库编号 }}
|
{{ scope.row.仓库编号 }}
|
||||||
@@ -21,27 +15,27 @@
|
|||||||
{{ scope.row.仓库名称 }}
|
{{ scope.row.仓库名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="仓库描述" align="center" width="110">
|
<el-table-column label="仓库描述" min-width="180" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.仓库描述 }}
|
{{ scope.row.仓库描述 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="地址" align="center">
|
<el-table-column label="地址" min-width="180" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.地址 }}
|
{{ scope.row.地址 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="联系人" align="center">
|
<el-table-column label="联系人" width="100" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.联系人 }}
|
{{ scope.row.联系人 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="备注" width="180" align="center">
|
<el-table-column label="备注" min-width="180" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.备注 }}
|
{{ scope.row.备注 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" min-width="200" align="center" fixed="right">
|
<el-table-column label="操作" width="300" align="center" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -59,13 +53,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table
|
<el-table v-loading="listLoading" :data="tableData2" border size="mini" style="width: 100%;max-height: 300px" height="300">
|
||||||
v-loading="listLoading"
|
|
||||||
:data="tableData2"
|
|
||||||
border
|
|
||||||
size="mini"
|
|
||||||
style="width: 100%;max-height: 400px"
|
|
||||||
height="400">
|
|
||||||
<el-table-column label="货位名称" align="center" width="200">
|
<el-table-column label="货位名称" align="center" width="200">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.货位名称 }}
|
{{ scope.row.货位名称 }}
|
||||||
@@ -592,8 +580,20 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.code{
|
.code{
|
||||||
width:120px!important;
|
width:120px!important;
|
||||||
height: auto!important;
|
height: auto!important;
|
||||||
}
|
}
|
||||||
|
.el-card{
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
.el-select{
|
||||||
|
width:200px
|
||||||
|
}
|
||||||
|
.el-input{
|
||||||
|
width:200px
|
||||||
|
}
|
||||||
|
span{
|
||||||
|
margin: 10px 0 10px 10px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user