diff --git a/src/views/main/Customer/addForm.vue b/src/views/main/Customer/addForm.vue index c8bbbcb..caf670c 100644 --- a/src/views/main/Customer/addForm.vue +++ b/src/views/main/Customer/addForm.vue @@ -389,7 +389,7 @@ export default { this.confirmLoading = false this.$emit('ok', values) } else { - this.$message.error('新增失败') // + res.message + this.$message.error(`新增失败,${res.message}`) } }) .finally(res => { diff --git a/src/views/main/Customer/editForm.vue b/src/views/main/Customer/editForm.vue index a4f40ed..1b4c9e5 100644 --- a/src/views/main/Customer/editForm.vue +++ b/src/views/main/Customer/editForm.vue @@ -378,11 +378,11 @@ export default { DjyCustomerEdit({ ...this.Data, ...values, contacts: this.ContactsData }) .then(res => { if (res.success) { - this.$message.success('新增成功') + this.$message.success('编辑成功') this.confirmLoading = false this.$emit('ok', values) } else { - this.$message.error('新增失败') // + res.message + this.$message.error(`编辑失败,${res.message}`) } }) .finally(res => { diff --git a/src/views/main/Customer/index.vue b/src/views/main/Customer/index.vue index 5a99c5b..d33e3ba 100644 --- a/src/views/main/Customer/index.vue +++ b/src/views/main/Customer/index.vue @@ -486,7 +486,7 @@ export default { this.$message.success('删除成功') this.FnGetData() } else { - this.$message.error('删除失败') // + res.message + this.$message.error(`删除失败,${res.message}`) } }) }, diff --git a/src/views/main/EDI/addForm.vue b/src/views/main/EDI/addForm.vue index 792966a..671f3f9 100644 --- a/src/views/main/EDI/addForm.vue +++ b/src/views/main/EDI/addForm.vue @@ -220,7 +220,7 @@ export default { this.$emit('ok', values) this.handleCancel() } else { - this.$message.error('新增失败') // + res.message + this.$message.error(`新增失败,${res.message}`) } }) .finally(res => { diff --git a/src/views/main/EDI/editForm.vue b/src/views/main/EDI/editForm.vue index ec44252..deee52c 100644 --- a/src/views/main/EDI/editForm.vue +++ b/src/views/main/EDI/editForm.vue @@ -225,7 +225,7 @@ export default { this.$emit('ok', values) this.handleCancel() } else { - this.$message.error('编辑失败') // + res.message + this.$message.error(`编辑失败,${res.message}`) } }) .finally(res => { diff --git a/src/views/main/EDI/index.vue b/src/views/main/EDI/index.vue index e720b3f..b3aa32d 100644 --- a/src/views/main/EDI/index.vue +++ b/src/views/main/EDI/index.vue @@ -252,7 +252,7 @@ export default { this.$message.success('删除成功') this.FnGetData() } else { - this.$message.error('删除失败') // + res.message + this.$message.error(`删除失败,${res.message}`) } }) }, diff --git a/src/views/main/Printing/addForm.vue b/src/views/main/Printing/addForm.vue index 55c96c6..8fc72b4 100644 --- a/src/views/main/Printing/addForm.vue +++ b/src/views/main/Printing/addForm.vue @@ -134,7 +134,7 @@ export default { this.$emit('ok', values) this.handleCancel() } else { - this.$message.error('新增失败') // + res.message + this.$message.error(`新增失败,${res.message}`) // + res.message } this.file = {} this.fileList = [] diff --git a/src/views/main/Printing/editForm.vue b/src/views/main/Printing/editForm.vue index 5a8a062..b2096d7 100644 --- a/src/views/main/Printing/editForm.vue +++ b/src/views/main/Printing/editForm.vue @@ -151,7 +151,7 @@ export default { this.$emit('ok', values) this.handleCancel() } else { - this.$message.error('编辑失败') // + res.message + this.$message.error(`编辑失败,${res.message}`) } this.file = {} this.fileList = [] diff --git a/src/views/main/Printing/index.vue b/src/views/main/Printing/index.vue index 3f72075..944d8cd 100644 --- a/src/views/main/Printing/index.vue +++ b/src/views/main/Printing/index.vue @@ -312,7 +312,7 @@ export default { this.$message.success('删除成功') this.FnGetData() } else { - this.$message.error('删除失败') // + res.message + this.$message.error(`删除失败,${res.message}`) } }) }, diff --git a/src/views/main/WebSiteaccount/addForm.vue b/src/views/main/WebSiteaccount/addForm.vue index 78c424e..001988c 100644 --- a/src/views/main/WebSiteaccount/addForm.vue +++ b/src/views/main/WebSiteaccount/addForm.vue @@ -134,7 +134,7 @@ export default { this.$emit('ok', values) this.handleCancel() } else { - this.$message.error('新增失败') // + res.message + this.$message.error(`新增失败,${res.message}`) } }) .finally(res => { diff --git a/src/views/main/WebSiteaccount/editForm.vue b/src/views/main/WebSiteaccount/editForm.vue index da9685a..fd86afa 100644 --- a/src/views/main/WebSiteaccount/editForm.vue +++ b/src/views/main/WebSiteaccount/editForm.vue @@ -128,7 +128,7 @@ export default { this.$emit('ok', values) this.handleCancel() } else { - this.$message.error('编辑失败') // + res.message + this.$message.error(`编辑失败,${res.message}`) } }) .finally(res => { diff --git a/src/views/main/WebSiteaccount/index.vue b/src/views/main/WebSiteaccount/index.vue index 943e745..9b0c8d1 100644 --- a/src/views/main/WebSiteaccount/index.vue +++ b/src/views/main/WebSiteaccount/index.vue @@ -199,7 +199,7 @@ export default { this.$message.success('删除成功') this.FnGetData() } else { - this.$message.error('删除失败') // + res.message + this.$message.error(`删除失败,${res.message}`) } }) },