|
|
|
@ -215,10 +215,14 @@ export default { |
|
|
|
this.loading = true; |
|
|
|
this.loading = true; |
|
|
|
getWorkOrderByCardNo({ cardNo: this.cardNo }) |
|
|
|
getWorkOrderByCardNo({ cardNo: this.cardNo }) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
|
if (res.data.data) { |
|
|
|
this.cardNo = ''; |
|
|
|
|
|
|
|
if (Object.keys(res.data.data).length != 0) { |
|
|
|
this.rowItem = res.data.data; |
|
|
|
this.rowItem = res.data.data; |
|
|
|
this.editOpen = true; |
|
|
|
this.editOpen = true; |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
this.$message.error('未找到该流程卡号!'); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
.catch(err => { |
|
|
|
|