|
|
|
@ -207,11 +207,18 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
getRework(){ |
|
|
|
getRework(this.saveRework).then(({data})=>{ |
|
|
|
let params = { |
|
|
|
seqNo: this.saveRework.seqNo |
|
|
|
} |
|
|
|
getRework(params).then(({data})=>{ |
|
|
|
if (data && data.code === 0){ |
|
|
|
this.saveRework = data.row; |
|
|
|
this.reportWorkDialog = true |
|
|
|
this.seqNoReworkRecordDialog = false; |
|
|
|
this.reportWorkDialog = true |
|
|
|
this.$nextTick(()=>{ |
|
|
|
this.saveRework = data.row; |
|
|
|
this.saveRework.reworkStartDate = new Date() |
|
|
|
this.saveRework.reworkEndDate = new Date() |
|
|
|
}) |
|
|
|
}else { |
|
|
|
this.$alert(data.msg, '错误信息', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
|