库位管理修改传参

dev-scheduling
zhangdi 6 days ago
parent 8c683d64e4
commit c4bde6d665
  1. 18
      src/views/logisticsManagement/storagelocationBasic.vue

@ -157,15 +157,15 @@ export default {
row.locationStatus = Number(newStatus);
console.log(row,'更新状态');
// //
// locationUpdate(row)
// .then(() => {
// this.$message.success('');
// this.onLoad(this.page, this.query);
// })
// .catch(err => {
// this.$message.error('');
// console.error(err);
// });
locationUpdate(row)
.then(() => {
this.$message.success('状态修改成功');
this.onLoad(this.page, this.query);
})
.catch(err => {
this.$message.error('状态修改失败');
console.error(err);
});
})
.catch(() => {
//

Loading…
Cancel
Save