From 2d7dc4168bab2aaf94920704cd4237654fc96e57 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 14 十二月 2023 14:22:01 +0800 Subject: [PATCH] modified: src/views/basic/customizeparamtemplatetype/templatetype-form.vue modified: src/views/basic/location/location-form.vue modified: src/views/basic/warehouse/warehouse-form.vue modified: src/views/plan/productionschedul/index.vue --- src/views/basic/customizeparamtemplatetype/templatetype-form.vue | 6 ++++++ src/views/plan/productionschedul/index.vue | 4 ++-- src/views/basic/warehouse/warehouse-form.vue | 6 ++++++ src/views/basic/location/location-form.vue | 6 ++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/views/basic/customizeparamtemplatetype/templatetype-form.vue b/src/views/basic/customizeparamtemplatetype/templatetype-form.vue index 8acde63..927afd6 100644 --- a/src/views/basic/customizeparamtemplatetype/templatetype-form.vue +++ b/src/views/basic/customizeparamtemplatetype/templatetype-form.vue @@ -114,6 +114,9 @@ this.visible = false this.isSubmit = false this.$emit('refreshDataList') + }).catch(error=>{ + console.error(error); + this.isSubmit = false }) } else { addObj(this.dataForm).then((data) => { @@ -121,6 +124,9 @@ this.visible = false this.isSubmit = false this.$emit('refreshDataList') + }).catch(error=>{ + console.error(error); + this.isSubmit = false }) } } else { diff --git a/src/views/basic/location/location-form.vue b/src/views/basic/location/location-form.vue index 8871e84..11c4657 100644 --- a/src/views/basic/location/location-form.vue +++ b/src/views/basic/location/location-form.vue @@ -396,6 +396,9 @@ this.visible = false this.isSubmit = false this.$emit('refreshDataList') + }).catch(error=>{ + console.error(error); + this.isSubmit = false }) } else { addObj(this.dataForm).then((data) => { @@ -403,6 +406,9 @@ this.visible = false this.isSubmit = false this.$emit('refreshDataList') + }).catch(error=>{ + console.error(error); + this.isSubmit = false }) } } else { diff --git a/src/views/basic/warehouse/warehouse-form.vue b/src/views/basic/warehouse/warehouse-form.vue index ff506ac..6191877 100644 --- a/src/views/basic/warehouse/warehouse-form.vue +++ b/src/views/basic/warehouse/warehouse-form.vue @@ -322,6 +322,9 @@ this.visible = false this.isSubmit = false this.$emit('refreshDataList') + }).catch(error=>{ + console.error(error); + this.isSubmit = false }) } else { addObj(this.dataForm).then((data) => { @@ -329,6 +332,9 @@ this.visible = false this.isSubmit = false this.$emit('refreshDataList') + }).catch(error=>{ + console.error(error); + this.isSubmit = false }) } } else { diff --git a/src/views/plan/productionschedul/index.vue b/src/views/plan/productionschedul/index.vue index 6e620f6..2ae8a2b 100644 --- a/src/views/plan/productionschedul/index.vue +++ b/src/views/plan/productionschedul/index.vue @@ -572,8 +572,8 @@ } } </script> -<style scoped> -.el-tag--small{ +<style> +.avue-crud__tip{ display: none; } .basic-template-table .el-table__body .el-table__row td:first-child .cell { -- Gitblit v1.9.3