This commit is contained in:
liushuai
2019-04-30 17:17:03 +08:00
parent 69780a2c87
commit 10d4e50b96
5 changed files with 47 additions and 17 deletions

View File

@@ -1172,9 +1172,9 @@ export default {
searchWYgongyi(this.check1, this.PN, this.check2, this.perNum, this.check3, this.date01, this.date02, this.check4, this.remark1).then(response => {
for (let i = 0; i < response.data.length; i++) {
this.tuhao.push({
value: response.data[i].零件图号,
label: response.data[i].零件图号,
name: response.data[i].零件名称,
num: response.data[i].工艺计划流水号
value: response.data[i].工艺计划流水号
})
}
})
@@ -1194,10 +1194,11 @@ export default {
numChange1() {
this.remark1 = ''
this.tableData4 = null
console.log(this.tuhaoValue)
for (let i = 0; i < this.tuhao.length; i++) {
if (this.tuhaoValue === this.tuhao[i].value) {
this.remark1 = this.tuhao[i].name
this.num = this.tuhao[i].num
this.num = this.tuhao[i].value
}
}
gongyiYQ(this.num).then(response => {

View File

@@ -89,6 +89,21 @@
<span :class="colorJudge(scope.row.发货节点)">{{ scope.row.发货节点 }}</span>
</template>
</el-table-column>
<el-table-column label="审图(计划开始)" align="center" min-width="170px">
<template slot-scope="scope">
{{ scope.row.审图计划开始时间 }}
</template>
</el-table-column>
<el-table-column label="审图(计划完成)" align="center" min-width="170px">
<template slot-scope="scope">
<span :class="colorJudge(scope.row.审图计划完成时间, scope.row.审图实际完成时间)">{{ scope.row.审图计划完成时间 }}</span>
</template>
</el-table-column>
<el-table-column label="审图(实际完成)" align="center" min-width="170px">
<template slot-scope="scope">
<span :class="colorActual(scope.row.审图计划完成时间, scope.row.审图实际完成时间)">{{ scope.row.审图实际完成时间 }}</span>
</template>
</el-table-column>
<el-table-column label="发图" align="center" min-width="140px">
<template slot-scope="scope">
<span :class="colorJudge(scope.row.机床设计完成时间, scope.row.机床设计实际完成时间)">{{ scope.row.机床设计完成时间.split(' ')[0] }}</span>