Browse Source

1.修改报损图片上传

dev-warehouse
0.0 1 year ago
parent
commit
93b90eab3f
  1. 5
      src/views/basicdata/warehouse/tray/basicdataTray.vue

5
src/views/basicdata/warehouse/tray/basicdataTray.vue

@ -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);

Loading…
Cancel
Save