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

@@ -52,8 +52,8 @@
width="50"/>
<el-table-column align="center" label="物料状态" min-width="70">
<template slot-scope="scope">
<el-tag v-if="scope.row.物料流水号===null" type="warning" size="mini" style="margin: 0px">不存在</el-tag>
<el-tag v-if="scope.row.物料流水号!==null" type="primary" size="mini" style="margin: 0px">存在</el-tag>
<span v-if="scope.row.物料流水号===null" type="warning" size="mini" style="margin: 0px">不存在</span>
<span v-if="scope.row.物料流水号!==null" type="primary" size="mini" style="margin: 0px">存在</span>
</template>
</el-table-column>
<el-table-column align="center" label="图号" min-width="100" show-overflow-tooltip>
@@ -66,7 +66,7 @@
{{ scope.row.名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="材料" width="70">
<el-table-column align="center" label="材料" width="70" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.材料或者规格 }}
</template>
@@ -76,32 +76,32 @@
{{ scope.row.规格 }}
</template>
</el-table-column>
<el-table-column align="center" label="备件数量" width="70">
<el-table-column align="center" label="备件数量" width="70" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.备件数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="装机数量" width="70">
<el-table-column align="center" label="装机数量" width="70" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.装机数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="部件数量" width="70">
<el-table-column align="center" label="部件数量" width="70" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.部件数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="制造商" min-width="100">
<el-table-column align="center" label="制造商" min-width="100" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.制造商 }}
</template>
</el-table-column>
<el-table-column align="center" label="备注" width="80">
<el-table-column align="center" label="备注" width="80" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.备注 }}
</template>
</el-table-column>
<el-table-column align="center" label="分类码" width="80">
<el-table-column align="center" label="分类码" width="80" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.分类码 }}
</template>
@@ -142,8 +142,7 @@
size="mini"
height="530px"
highlight-current-row
border
stripe>
border>
<el-table-column align="center" label="物料名称" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料名称 }}
@@ -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>
@@ -657,9 +657,9 @@ export default {
</script>
<style>
.rgb196{
background: palevioletred !important;
}
/*.rgb196{*/
/* background: palevioletred !important;*/
/* }*/
</style>
<style scoped>