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 => {