报废零件查询
This commit is contained in:
@@ -23,11 +23,9 @@
|
||||
<el-button v-positive="'loading'" :disabled="false" type="success" icon="el-icon-download" size="small" plain style="margin-left: 10px" @click="exportExcel()">导出</el-button>
|
||||
</el-row>
|
||||
</el-card>
|
||||
<el-row>
|
||||
<el-col>
|
||||
<el-card style="margin-top: 15px">
|
||||
<el-table v-loading="listLoading" :data="tableData" style="width: 100%" stripe size="small" height="590" highlight-current-row border @row-click="fetchTableData2">
|
||||
<el-table-column align="center" label="机床图号" width="120px" show-overflow-tooltip fixed>
|
||||
<el-table v-loading="listLoading" :data="tableData" style="width: 100%" stripe size="small" height="590" highlight-current-row border>
|
||||
<el-table-column align="center" label="机床图号" width="80px" show-overflow-tooltip fixed>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.机床图号 }}
|
||||
</template>
|
||||
@@ -57,7 +55,7 @@
|
||||
{{ scope.row.报废时间 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="报废人" width="85px">
|
||||
<el-table-column align="center" label="报废人" width="80px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.报废人 }}
|
||||
</template>
|
||||
@@ -87,7 +85,7 @@
|
||||
{{ scope.row.质检人 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="报废工时(分)" width="105px">
|
||||
<el-table-column align="center" label="报废工时(分)" width="80px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.报废工时 }}
|
||||
</template>
|
||||
@@ -97,11 +95,16 @@
|
||||
{{ scope.row.补投时间 ? scope.row.补投时间.split(' ')[0] : '' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="补投人" width="85px">
|
||||
<el-table-column align="center" label="补投人" width="80px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.补投人 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="80px">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="text" plain size="small" @click="fetchTableData2(scope.row)">加工过程</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="block" style="margin-top: 10px">
|
||||
<el-pagination
|
||||
@@ -114,9 +117,7 @@
|
||||
@current-change="handleCurrentChange"/>
|
||||
</div>
|
||||
</el-card>
|
||||
</el-col>
|
||||
<el-col>
|
||||
<el-card>
|
||||
<el-dialog :visible.sync="dialogVisible" title="离线合同请款" center style="min-height: 300px" width="1000px">
|
||||
<el-table :data="tableData2" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" element-loading-background="rgba(226,223,223,1)" height="630" border style="width: 430px">
|
||||
<el-table-column
|
||||
width="50px"
|
||||
@@ -171,9 +172,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -182,6 +181,7 @@ import { searchMachine, searchTable1, searchTable2, TableDta2Select } from '@/ap
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
dialogVisible: false,
|
||||
pageCurrent: 1,
|
||||
pageSize: 20,
|
||||
total: 0,
|
||||
@@ -248,6 +248,7 @@ export default {
|
||||
fetchTableData2(row) {
|
||||
TableDta2Select(row.补投流水号).then(response => {
|
||||
this.tableData2 = response.data
|
||||
this.dialogVisible = true
|
||||
})
|
||||
},
|
||||
exportExcel() {
|
||||
|
||||
Reference in New Issue
Block a user