注册证,企业信息提示框修改

udims_mongo
anthonywj 4 years ago
parent eb926c7b91
commit 436a2c7c60

@ -538,13 +538,15 @@ export default {
if (response.code == 20000) { if (response.code == 20000) {
this.$emit("closeModifyRegister", true); this.$emit("closeModifyRegister", true);
} else { } else {
this.$emit("closeModifyRegister", false); this.$message.error(response.message);
// this.$emit("closeModifyRegister", false);
} }
this.loading = false; this.loading = false;
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;
this.$emit("closeModifyRegister", false); this.$message.error(response.message);
// this.$emit("closeModifyRegister", false);
}); });
} else { } else {
addEnterpriseCert(this.registertDetail) addEnterpriseCert(this.registertDetail)

@ -485,9 +485,6 @@ export default {
if (val) { if (val) {
this.$message.success("保存成功!"); this.$message.success("保存成功!");
this.getList(); this.getList();
} else if (val == null) {
} else {
this.$message.error("保存失败!");
} }
}, },

@ -171,11 +171,11 @@
<el-table v-loading="loading" :data="subList" border style="width: 100%"> <el-table v-loading="loading" :data="subList" border style="width: 100%">
<el-table-column label="序号" type="index" ></el-table-column> <el-table-column label="序号" type="index" ></el-table-column>
<el-table-column prop="status" label="状态 " width="100"> <!-- <el-table-column prop="status" label="状态 " width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ postStatus[scope.row.status] }}</span> <span>{{ postStatus[scope.row.status] }}</span>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column <el-table-column
prop="mainProductName" prop="mainProductName"

@ -13,7 +13,7 @@
<div class="itemTag"> <div class="itemTag">
<span>企业名称:&nbsp;</span> <span>企业名称:&nbsp;</span>
</div> </div>
<el-form-item prop="name"> <el-form-item prop="companyName">
<el-input <el-input
style="width: 80%" style="width: 80%"
size="small" size="small"
@ -256,7 +256,7 @@ export default {
options: regionDataPlus, options: regionDataPlus,
selectedOptions: [], selectedOptions: [],
rules: { rules: {
name: [{ required: true, message: "请输入企业名称", trigger: "blur" }], companyName: [{ required: true, message: "请输入企业名称", trigger: "blur" }],
creditCode: [ creditCode: [
{ {
required: true, required: true,

Loading…
Cancel
Save