|
|
@@ -18,9 +18,54 @@
|
|
|
<div class="title">
|
|
|
<i class="el-icon-arrow-down" v-if="0"></i>
|
|
|
<i class="el-icon-arrow-up" v-else></i>
|
|
|
+ <span>一号库区</span>
|
|
|
+ <i class="el-icon-plus tiny"></i>
|
|
|
+ <i class="el-icon-edit tiny"></i>
|
|
|
+ </div>
|
|
|
+ <ul class="area">
|
|
|
+ <li>库房A 编号:000668</li>
|
|
|
+ <li>库房A 编号:000668</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="conten_right">
|
|
|
+ <div class="title">
|
|
|
+ <b>库房A</b>
|
|
|
+ <span>仓库编号:000668</span>
|
|
|
+ <i class="el-icon-plus"></i>
|
|
|
+ <i class="el-icon-edit"></i>
|
|
|
+ <i class="el-icon-delete"></i>
|
|
|
+ </div>
|
|
|
+ <!-- 表格 -->
|
|
|
+ <div class="table">
|
|
|
+ <el-table
|
|
|
+ :header-cell-style="{ background: '#eef1f6', color: '#606266' }"
|
|
|
+ :data="tableData"
|
|
|
+ border
|
|
|
+ style="width: 100%"
|
|
|
+ >
|
|
|
+ <el-table-column prop="name" label="货架编号" width="150"></el-table-column>
|
|
|
+ <el-table-column prop="name" label="货架名称" width="150"></el-table-column>
|
|
|
+ <el-table-column prop="name" label="行数" width="100"></el-table-column>
|
|
|
+ <el-table-column prop="name" label="列数" width="100"></el-table-column>
|
|
|
+ <el-table-column prop="address" label="备注"></el-table-column>
|
|
|
+ <el-table-column label="操作" width="140">
|
|
|
+ <template #default>
|
|
|
+ <i class="el-icon-edit"></i>
|
|
|
+ <i class="el-icon-delete"></i>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ <!-- 分页器 -->
|
|
|
+ <div class="paging">
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ layout="prev, pager, next,sizes,jumper"
|
|
|
+ :total="30"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="conten_right"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -34,7 +79,21 @@ export default {
|
|
|
components: { TabList },
|
|
|
data () {
|
|
|
// 这里存放数据
|
|
|
- return {}
|
|
|
+ return {
|
|
|
+ // 表格数据
|
|
|
+ tableData: [
|
|
|
+ {
|
|
|
+ date: '2016-05-03',
|
|
|
+ name: '王小虎',
|
|
|
+ address: '上海市普陀区金沙江路 1518 弄'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date: '2016-05-02',
|
|
|
+ name: '王小虎',
|
|
|
+ address: '上海市普陀区金沙江路 1518 弄'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
// 监听属性 类似于data概念
|
|
|
computed: {},
|
|
|
@@ -94,14 +153,80 @@ export default {
|
|
|
height: 80px;
|
|
|
}
|
|
|
.title {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
height: 55px;
|
|
|
background-color: #f2f2f2;
|
|
|
+ color: black;
|
|
|
+ & > span {
|
|
|
+ margin: 0 170px 0 20px;
|
|
|
+ }
|
|
|
+ & > i {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 30px;
|
|
|
+ }
|
|
|
+ .tiny {
|
|
|
+ margin: 0 10px;
|
|
|
+ font-size: 24px;
|
|
|
+ color: #a5acb3;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .area {
|
|
|
+ color: black;
|
|
|
+ li {
|
|
|
+ cursor: pointer;
|
|
|
+ width: 100%;
|
|
|
+ height: 33px;
|
|
|
+ line-height: 33px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ li:hover {
|
|
|
+ color: #1890ff;
|
|
|
+ }
|
|
|
+ .active {
|
|
|
+ color: #1890ff;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.conten_right {
|
|
|
+ position: relative;
|
|
|
+ .table{
|
|
|
+ max-height: 500px;
|
|
|
+ overflow: auto;
|
|
|
+ i {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 24px;
|
|
|
+ color: black;
|
|
|
+ margin-left: 15px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .paging{
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ bottom: 20px;
|
|
|
+ }
|
|
|
flex: 1;
|
|
|
height: 650px;
|
|
|
border: 1px solid #ccc;
|
|
|
+ .title{
|
|
|
+ height: 75px;
|
|
|
+ color: black;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ &>b{
|
|
|
+ font-size: 24px;
|
|
|
+ margin: 0 20px;
|
|
|
+ }
|
|
|
+ &>span {
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ &>i {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 24px;
|
|
|
+ margin: 0 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|