This commit is contained in:
bryan sun
2019-10-17 19:30:46 +08:00
parent 1989b23ce9
commit 98c67d3822
27 changed files with 128 additions and 122 deletions

View File

@@ -59,12 +59,12 @@
style="width: 100%;"
border>
<el-table-column label="序号" type="index" align="center" width="55"/>
<el-table-column label="零件图号" align="center" min-width="150px">
<el-table-column label="零件图号" sortable prop="零件图号" align="center" min-width="150px">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
</el-table-column>
<el-table-column label="零件名称" align="center" min-width="120px">
<el-table-column label="零件名称" sortable prop="零件名称" align="center" min-width="120px">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
@@ -74,12 +74,12 @@
{{ scope.row.完成数量 }}
</template>
</el-table-column>
<el-table-column label="工艺名称" align="center" min-width="70px">
<el-table-column label="工艺名称" sortable prop="工艺名称" align="center" min-width="90px">
<template slot-scope="scope">
{{ scope.row.工艺名称 }}
</template>
</el-table-column>
<el-table-column label="操作者" align="center" min-width="80px">
<el-table-column label="操作者" sortable prop="姓名" align="center" min-width="80px">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
@@ -115,12 +115,12 @@
<span v-else>{{ scope.row.修补工时 }}</span>
</template>
</el-table-column>
<el-table-column label="修补操作时间" align="center" min-width="160px">
<el-table-column label="修补操作时间" sortable prop="修补操作时间" align="center" min-width="160px">
<template slot-scope="scope">
{{ scope.row.修补操作时间 || '—' }}
</template>
</el-table-column>
<el-table-column label="修补人" align="center" min-width="100px">
<el-table-column label="修补人" sortable prop="修补人" align="center" min-width="100px">
<template slot-scope="scope">
{{ scope.row.修补人 || '—' }}
</template>

View File

@@ -27,18 +27,18 @@
type="selection"
width="55"
align="center"/>
<el-table-column label="打印状态" align="center">
<el-table-column label="打印状态" sortable prop="备料打印" align="center">
<template slot-scope="scope">
<el-tag v-if="scope.row.备料打印!=='0'" type="success" size="mini">已导出</el-tag>
<el-tag v-else type="warning" size="mini">未导出</el-tag>
</template>
</el-table-column>
<el-table-column label="零件名称" align="center" >
<el-table-column label="零件名称" sortable prop="零件名称" align="center" >
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="零件图号" align="center" >
<el-table-column label="零件图号" sortable prop="零件图号" align="center" >
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>

View File

@@ -102,17 +102,17 @@
type="selection"
align="center"
width="35"/>
<el-table-column label="零件号" align="center" min-width="220">
<el-table-column label="零件号" sortable prop="零件图号" align="center" min-width="220">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
</el-table-column>
<el-table-column label="零件名称" align="center">
<el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="规格" align="center">
<el-table-column label="规格" sortable prop="规格" align="center">
<template slot-scope="scope">
{{ scope.row.规格 }}
</template>
@@ -137,7 +137,7 @@
{{ scope.row.未投产数量 }}
</template>
</el-table-column>
<el-table-column label="零件类型" align="center" width="100">
<el-table-column label="零件类型" sortable prop="零件类型名称" align="center" width="120">
<template slot-scope="scope">
{{ scope.row.零件类型名称 }}
</template>
@@ -219,7 +219,9 @@
<template slot-scope="scope">{{ scope.row.零件图号 }}</template>
</el-table-column>
<el-table-column
label="零件名称">
sortable
prop="零件名称"
label="零件名称" >
<template slot-scope="scope">{{ scope.row.零件名称 }}</template>
</el-table-column>
<el-table-column

View File

@@ -35,12 +35,12 @@
<el-card>
<el-table v-loading="loading" :data="tableData" height="350" style="width: 100%;margin: 3px 0" size="mini" border stripe highlight-current-row element-loading-text="拼命加载中" @selection-change="handleSelectionChange2">
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="零件名称" align="center" width="220px">
<el-table-column label="零件名称" sortable prop="零件名称" align="center" width="220px">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="零件图号" align="center" width="280px">
<el-table-column label="零件图号" sortable prop="零件图号" align="center" width="280px">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
@@ -78,12 +78,12 @@
<el-card>
<el-table v-loading="loading2" :data="tableData2" height="350" style="width: 100%;margin: 3px 0" size="mini" border stripe highlight-current-row element-loading-text="拼命加载中" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="零件名称" align="center" width="220px">
<el-table-column label="零件名称" sortable prop="零件名称" align="center" width="220px">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="零件图号" align="center" width="240px">
<el-table-column label="零件图号" sortable prop="零件图号" align="center" width="240px">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>

View File

@@ -32,27 +32,27 @@
</el-card>
<el-card>
<el-table :data="tableData" border size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="250px" @row-click="searchPart">
<el-table-column label="项目名称" align="center">
<el-table-column label="项目名称" sortable prop="项目名称" align="center">
<template slot-scope="scope">
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<el-table-column label="机床编号" align="center">
<el-table-column label="机床编号" sortable prop="机床图号" align="center">
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column label="机床名称" align="center">
<el-table-column label="机床名称" sortable prop="机床名称" align="center">
<template slot-scope="scope">
{{ scope.row.机床名称 }}
</template>
</el-table-column>
<el-table-column label="组号" align="center">
<el-table-column label="组号" sortable prop="组号" align="center">
<template slot-scope="scope">
{{ scope.row.组号 }}
</template>
</el-table-column>
<el-table-column label="组件名称" align="center">
<el-table-column label="组件名称" sortable prop="组件名称" align="center">
<template slot-scope="scope">
{{ scope.row.组件名称 }}
</template>

View File

@@ -53,22 +53,22 @@
type="selection"
align="center"
width="55"/>
<el-table-column label="机床号" align="center">
<el-table-column label="机床号" sortable prop="机床图号" align="center">
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column label="组号" align="center">
<el-table-column label="组号" sortable prop="组号" align="center">
<template slot-scope="scope">
{{ scope.row.组号 }}
</template>
</el-table-column>
<el-table-column label="零件图号" align="center">
<el-table-column label="零件图号" sortable prop="零件图号" align="center">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
</el-table-column>
<el-table-column label="零件名称" align="center">
<el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
@@ -78,7 +78,7 @@
{{ scope.row.批次数量 }}
</template>
</el-table-column>
<el-table-column label="工艺员" align="center">
<el-table-column label="工艺员" sortable prop="工艺员" align="center">
<template slot-scope="scope">
{{ scope.row.工艺员 }}
</template>

View File

@@ -40,12 +40,12 @@
stripe
@selection-change="handleSelectionChange">
<el-table-column align="center" type="selection"/>
<el-table-column align="center" label="零件号" min-width="160">
<el-table-column align="center" label="零件号" sortable prop="零件号" min-width="160">
<template slot-scope="scope">
{{ scope.row.零件号 }}
</template>
</el-table-column>
<el-table-column align="center" label="零件名称">
<el-table-column align="center" sortable prop="零件名称" label="零件名称">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>

View File

@@ -65,12 +65,12 @@
type="selection"
align="center"
width="50"/>
<el-table-column label="零件图号" align="center" width="200">
<el-table-column label="零件图号" sortable prop="零件图号" align="center" width="200">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
</el-table-column>
<el-table-column label="零件名称" align="center" width="300">
<el-table-column label="零件名称" sortable prop="零件名称" align="center" width="300">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>

View File

@@ -49,14 +49,16 @@
@current-change="fetchTableData2">
<el-table-column
align="center"
prop="province1"
sortable
prop="零件图号"
label="零件号"
>
<template slot-scope="scope">{{ scope.row.零件图号 }}</template>
</el-table-column>
<el-table-column
align="center"
prop="province2"
sortable
prop="零件名称"
label="零件名称"
>
<template slot-scope="scope">{{ scope.row.零件名称 }}</template>

View File

@@ -11,17 +11,17 @@
<el-card>
<el-table :data="List" border size="small" stripe highlight-current-row height="500px">
<el-table-column label="设备名称" align="center" >
<el-table-column label="设备名称" sortable prop="设备名称" align="center" >
<template slot-scope="scope">
{{ scope.row.设备名称 }}
</template>
</el-table-column>
<el-table-column label="设备编号" align="center" >
<el-table-column label="设备编号" sortable prop="设备编号" align="center" >
<template slot-scope="scope">
{{ scope.row.设备编号 }}
</template>
</el-table-column>
<el-table-column label="设备型号" align="center" >
<el-table-column label="设备型号" sortable prop="设备型号" align="center" >
<template slot-scope="scope">
{{ scope.row.设备型号 }}
</template>