lx
This commit is contained in:
@@ -244,7 +244,7 @@
|
||||
align="center"
|
||||
type="index"
|
||||
width="50"/>
|
||||
<el-table-column label="物料名称" align="center" min-width="80">
|
||||
<el-table-column label="名称" align="center" min-width="80">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.物料名称 }}
|
||||
</template>
|
||||
@@ -259,6 +259,11 @@
|
||||
{{ scope.row.物料型号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="零件图号" align="center" min-width="80">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.零件图号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="项目名称" align="center" min-width="80">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.项目名称 }}
|
||||
@@ -327,7 +332,7 @@
|
||||
align="center"
|
||||
type="index"
|
||||
width="50"/>
|
||||
<el-table-column label="物料名称" align="center" min-width="80">
|
||||
<el-table-column label="名称" align="center" min-width="80">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.物料名称 }}
|
||||
</template>
|
||||
@@ -667,6 +672,17 @@ export default {
|
||||
response.data.rows[i].类型名称 = response.data.rows[i].外购件类型
|
||||
}
|
||||
}
|
||||
for (let i = 0; i < response.data.rows.length; i++) {
|
||||
if (response.data.rows[i].组件零件流水号 === '0') {
|
||||
response.data.rows[i].物料名称 = response.data.rows[i].零件名称
|
||||
response.data.rows[i].项目名称 = response.data.rows[i].基本件项目名称
|
||||
response.data.rows[i].机床图号 = response.data.rows[i].基本件机床图号
|
||||
response.data.rows[i].组号 = response.data.rows[i].基本件组号
|
||||
response.data.rows[i].项目流水号 = response.data.rows[i].基本件项目流水号
|
||||
response.data.rows[i].机床流水号 = response.data.rows[i].基本件机床流水号
|
||||
response.data.rows[i].组件流水号 = response.data.rows[i].基本件组件流水号
|
||||
}
|
||||
}
|
||||
this.tableDataPurchase = response.data.rows
|
||||
this.listLoading = false
|
||||
this.total1 = response.data.total
|
||||
|
||||
Reference in New Issue
Block a user