diff --git a/src/views/basicdata/warehouse/tray/basicdataTray.vue b/src/views/basicdata/warehouse/tray/basicdataTray.vue index 6c6a21ad..42f2ee77 100644 --- a/src/views/basicdata/warehouse/tray/basicdataTray.vue +++ b/src/views/basicdata/warehouse/tray/basicdataTray.vue @@ -34,9 +34,9 @@ @@ -228,6 +228,24 @@ .catch(_ => { }); }, + addable(row){ + this.$confirm('确认启用?') + .then(_ => { + row.disableType =1 + update(row).then(() => { + this.onLoad(this.page); + this.$message({ + type: "success", + message: "操作成功!" + }); + }, error => { + loading(); + console.log(error); + }); + }) + .catch(_ => { + }); + }, Details(row){ this.$router.push({ path: '/basicdata/warehouse/tray/basicdataTrayedt',