This commit is contained in:
hedekun
2020-02-08 16:34:57 +08:00
parent 76db4ae54a
commit 79b356d649
28 changed files with 464 additions and 176 deletions

View File

@@ -49,8 +49,8 @@
width="50"/>
<el-table-column align="center" label="物料状态" min-width="90">
<template slot-scope="scope">
<el-tag v-if="scope.row.物料流水号===null" type="warning" size="mini">不存在</el-tag>
<el-tag v-if="scope.row.物料流水号!==null" type="primary" size="mini">存在</el-tag>
<span v-if="scope.row.物料流水号===null" type="warning" size="mini">不存在</span>
<span v-if="scope.row.物料流水号!==null" type="primary" size="mini">存在</span>
</template>
</el-table-column>
<el-table-column align="center" label="图号" min-width="120">
@@ -58,7 +58,7 @@
{{ scope.row.图号或者型号 }}
</template>
</el-table-column>
<el-table-column align="center" label="名称" min-width="80">
<el-table-column align="center" label="名称" min-width="80" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.名称 }}
</template>
@@ -137,8 +137,7 @@
size="mini"
highlight-current-row
height="150"
border
stripe>
border>
<el-table-column
label="序号"
align="center"
@@ -168,7 +167,8 @@
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
type="text"
icon="el-icon-sort"
@click="handle(scope.row)">替换
</el-button>
</template>
@@ -784,9 +784,9 @@ export default {
.el-table .warning-row {
background: red;
}
.rgb196{
background: palevioletred !important;
}
/*.rgb196{*/
/* background: palevioletred !important;*/
/*}*/
</style>
<style scoped>