|
|
@ -178,12 +178,17 @@ |
|
|
|
submitForm(){ |
|
|
|
submitForm(){ |
|
|
|
let row = {} |
|
|
|
let row = {} |
|
|
|
row.id = this.damagedform.id |
|
|
|
row.id = this.damagedform.id |
|
|
|
|
|
|
|
row.trayStatus=3 |
|
|
|
|
|
|
|
row.damagedPhotos = this.damagedform.damagedPhotos.join(",") |
|
|
|
|
|
|
|
row.damagedNote = this.damagedform.damagedNote |
|
|
|
console.log("更新参数>>>>>>>>",row); |
|
|
|
console.log("更新参数>>>>>>>>",row); |
|
|
|
update(row).then(() => { |
|
|
|
update(row).then(() => { |
|
|
|
this.$message({ |
|
|
|
this.$message({ |
|
|
|
type: "success", |
|
|
|
type: "success", |
|
|
|
message: "操作成功!" |
|
|
|
message: "操作成功!" |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
this.damagedBox = false; |
|
|
|
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
}, error => { |
|
|
|
}, error => { |
|
|
|
loading(); |
|
|
|
loading(); |
|
|
|
console.log(error); |
|
|
|
console.log(error); |
|
|
|