diff --git a/src/views/logisticsManagement/storagelocationBasic.vue b/src/views/logisticsManagement/storagelocationBasic.vue index 90c76d7..4875b59 100644 --- a/src/views/logisticsManagement/storagelocationBasic.vue +++ b/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(() => { // 用户取消