|
|
|
@ -237,11 +237,9 @@ export default { |
|
|
|
|
cancelButtonText: "取消", |
|
|
|
|
type: "warning" |
|
|
|
|
}).then(() => { |
|
|
|
|
alert(this.form.istatus) |
|
|
|
|
if (this.form.istatus==1){ |
|
|
|
|
this.form.cancelReason=""; |
|
|
|
|
} |
|
|
|
|
alert(this.form.cancelReason) |
|
|
|
|
update(this.form).then(() => { |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: "/inspection/inspectionobject", |
|
|
|
|