仓库样式

This commit is contained in:
zhangdingyu
2019-09-22 10:49:30 +08:00
parent 201a6d36f5
commit ac440f57d9
8 changed files with 57 additions and 56 deletions

View File

@@ -5,22 +5,22 @@
<el-button size="small" type="primary" icon="el-icon-circle-plus-outline" style="margin: 0 0 0 10px" @click="ADD()">新建仓库</el-button>
</div>
<el-table :data="tableData" border size="mini" style="width: 100%;max-height: 300px" height="300" @row-click="getWarehouse">
<el-table-column label="仓库编号" align="center" width="200">
<el-table-column label="仓库编号" align="center" width="90" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.仓库编号 }}
</template>
</el-table-column>
<el-table-column label="仓库名称" align="center" width="180">
<el-table-column label="仓库名称" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.仓库名称 }}
</template>
</el-table-column>
<el-table-column label="仓库描述" min-width="180" align="center">
<el-table-column label="仓库描述" min-width="120" align="center">
<template slot-scope="scope">
{{ scope.row.仓库描述 }}
</template>
</el-table-column>
<el-table-column label="地址" min-width="180" align="center">
<el-table-column label="地址" min-width="100" align="center" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.地址 }}
</template>
@@ -30,7 +30,7 @@
{{ scope.row.联系人 }}
</template>
</el-table-column>
<el-table-column label="备注" min-width="180" align="center">
<el-table-column label="备注" min-width="80" align="center" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.备注 }}
</template>
@@ -40,11 +40,13 @@
<el-button
size="mini"
icon="el-icon-edit"
type="primary"
plain
type="warning"
@click="handleEdit(scope.$index, scope.row, 'form')">修改</el-button>
<el-button
size="mini"
type="danger"
plain
icon="el-icon-delete"
@click="handleDelete(scope.row)">删除</el-button>
<el-button size="mini" type="primary" icon="el-icon-circle-plus-outline" style="margin: 0 0 0 10px" @click="ADDLocate()">增加货位</el-button>
@@ -54,12 +56,12 @@
</el-card>
<el-card>
<el-table v-loading="listLoading" :data="tableData2" border size="mini" style="width: 100%;max-height: 300px" height="300">
<el-table-column label="货位名称" align="center" width="200">
<el-table-column label="货位名称" align="center" width="100" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.货位名称 }}
</template>
</el-table-column>
<el-table-column label="工作中心" align="center" width="180">
<el-table-column label="工作中心" align="center" width="100" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.工作中心 }}
</template>