diff --git a/src/views/supplier/company/basicCompany.vue b/src/views/supplier/company/basicCompany.vue index c626a0a..5a9f469 100644 --- a/src/views/supplier/company/basicCompany.vue +++ b/src/views/supplier/company/basicCompany.vue @@ -578,19 +578,29 @@ export default { }); } else { //编辑保存 - if (val == 0) { - var str = "是否确定草稿保存?"; - } else if (val == 1) { - var str = "是否确定提交审核?"; - } else if (val == 2) { - var str = "企业信息已拒绝审核,是否确认重新提交审核?"; - } else if (val == 3) { - var str = "企业信息更变未确认,是否确认重新提交审核?"; - } else if (val == 0) { - var str = "企业信息未认证,是否确认提交审核?"; - }else { - var str = "企业信息已通过审核,是否确认重新提交审核?"; + if (val == 0 && this.inputQuery.auditStatus == 0 ) { + var str = "是否确定草稿保存?"; + }else if(val == 3 && this.inputQuery.auditStatus == 0) { + var str = "是否确定提交审核?"; + }else if(val == 3 && this.inputQuery.auditStatus == 2){ + var str = "企业信息已拒绝审核,是否确认重新提交审核?"; + }else if(val == 3 && this.inputQuery.auditStatus == 3){ + var str = "企业信息更变未确认,是否确认重新提交审核?"; + }else if(val ==6 && this.inputQuery.auditStatus == 1){ + var str = "企业信息已通过审核,是否确认重新提交审核?"; } + + // else if (val == 1) { + // var str = "是否确定提交审核?"; + // } else if (val == 2) { + // var str = "企业信息已拒绝审核,是否确认重新提交审核?"; + // } else if (val == 3) { + // var str = "企业信息更变未确认,是否确认重新提交审核?"; + // } else if (val == 0) { + // var str = "企业信息未认证,是否确认提交审核?"; + // }else { + // var str = "企业信息已通过审核,是否确认重新提交审核?"; + // } this.$refs["inputQuery"].validate((valid) => { if (valid) { this.$confirm(str, "提示", {