From 449d8aaad477c96b9d8eec2a386906fcd82f04ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 20 Mar 2022 15:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xm/core/xmProduct/XmProductAdd.vue | 4 ++-- src/views/xm/core/xmProject/XmProjectAdd.vue | 3 ++- src/views/xm/core/xmProject/XmProjectForLinkComplex.vue | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/xm/core/xmProduct/XmProductAdd.vue b/src/views/xm/core/xmProduct/XmProductAdd.vue index 801646e6..75eca47a 100644 --- a/src/views/xm/core/xmProduct/XmProductAdd.vue +++ b/src/views/xm/core/xmProduct/XmProductAdd.vue @@ -121,8 +121,8 @@ this.$refs.addForm.validate((valid) => { if (valid) { - - this.$confirm('确认提交吗?', '提示', {}).then(() => { + var msg=this.selProject&&this.selProject.id?'将自动关联项目【'+this.selProject.name+'】':''; + this.$confirm('确认提交吗?'+msg, '提示', {}).then(() => { this.load.add=true let params = Object.assign({}, this.addForm); if(this.selProject &&this.selProject.id){ diff --git a/src/views/xm/core/xmProject/XmProjectAdd.vue b/src/views/xm/core/xmProject/XmProjectAdd.vue index 8efac035..859993f9 100644 --- a/src/views/xm/core/xmProject/XmProjectAdd.vue +++ b/src/views/xm/core/xmProject/XmProjectAdd.vue @@ -385,7 +385,8 @@ } this.$refs.addForm.validate((valid) => { if (valid) { - this.$confirm('确认提交吗?', '提示', {}).then(() => { + var msg=this.xmProduct&&this.xmProduct.id?'将自动关联产品【'+this.xmProduct.productName+'】':''; + this.$confirm('确认提交吗?'+msg, '提示', {}).then(() => { this.load.add=true let params = Object.assign({}, this.addForm); if(this.xmProduct && this.xmProduct.id){ diff --git a/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue b/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue index 5718ce56..02715e63 100644 --- a/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue +++ b/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue @@ -23,7 +23,7 @@ v-model="projectAddVisible" trigger="manual"> - + 项目