|
|
@ -12,7 +12,7 @@
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
本企业信息审核状态:
|
|
|
|
本企业信息审核状态:
|
|
|
|
<el-tag :type="(inputQuery.auditStatus) | statusFilterType">
|
|
|
|
<el-tag :type="(inputQuery.auditStatus) | statusFilterType">
|
|
|
|
{{ checkFlag[inputQuery.auditStatus] }}
|
|
|
|
{{ checkSupFlag[inputQuery.auditStatus] }}
|
|
|
|
</el-tag>
|
|
|
|
</el-tag>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -142,7 +142,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" v-show="inputQuery.auditStatus==2" class="el-row" type="flex" style="margin-top: 0px">
|
|
|
|
<el-row :gutter="20" v-show="inputQuery.auditStatus==2" class="el-row" type="flex" style="margin-top: 0px">
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
<el-form-item label="驳回意见:" label-width="150px" prop="mobile">
|
|
|
|
<el-form-item label="结果说明:" label-width="150px" prop="mobile">
|
|
|
|
<el-input size="small" v-model="inputQuery.auditComment" disabled></el-input>
|
|
|
|
<el-input size="small" v-model="inputQuery.auditComment" disabled></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -179,6 +179,8 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="状态" prop="status" width="120">
|
|
|
|
<el-table-column label="状态" prop="status" width="120">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
@ -195,8 +197,12 @@
|
|
|
|
<el-button type="text" size="small" @click.native="addCert(scope.row)">编辑</el-button>
|
|
|
|
<el-button type="text" size="small" @click.native="addCert(scope.row)">编辑</el-button>
|
|
|
|
<el-button type="text" size="small" @click.native="toViewCompanyCert(scope.row)">预览</el-button>
|
|
|
|
<el-button type="text" size="small" @click.native="toViewCompanyCert(scope.row)">预览</el-button>
|
|
|
|
<el-button type="text" size="small"
|
|
|
|
<el-button type="text" size="small"
|
|
|
|
v-if="scope.row.auditStatus == 0 || scope.row.auditStatus == 2|| scope.row.auditStatus == 6" @click.native="deleteCompanyCert(scope.row)">删除</el-button>
|
|
|
|
v-if="scope.row.auditStatus == 0 || scope.row.auditStatus == 2|| scope.row.auditStatus == 6"
|
|
|
|
<el-button type="text" size="small" v-if="scope.row.auditStatus == 2" @click.native="explainCompanyCert(scope.row)">说明</el-button>
|
|
|
|
@click.native="deleteCompanyCert(scope.row)">删除
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
<el-button type="text" size="small" v-if="scope.row.auditStatus == 2"
|
|
|
|
|
|
|
|
@click.native="explainCompanyCert(scope.row)">说明
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -266,7 +272,7 @@
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import {modifyCompany, addCompany, getSubCompany} from "@/api/supplier/supCompany";
|
|
|
|
import {modifyCompany, addCompany, getSubCompany} from "@/api/supplier/supCompany";
|
|
|
|
import store from "@/store/index";
|
|
|
|
import store from "@/store/index";
|
|
|
|
import { regionDataPlus, CodeToText, } from "element-china-area-data";
|
|
|
|
import {regionDataPlus, CodeToText,} from "element-china-area-data";
|
|
|
|
import {filterCompanyCert, deleteCompanyCert, updateCompanyCert} from "@/api/purchase/companyCert";
|
|
|
|
import {filterCompanyCert, deleteCompanyCert, updateCompanyCert} from "@/api/purchase/companyCert";
|
|
|
|
import companyAddCert from "@/views/purchase/cert/supCertAddDialog";
|
|
|
|
import companyAddCert from "@/views/purchase/cert/supCertAddDialog";
|
|
|
|
import supCertSetSelectDialog from "@/views/purchase/cert/supCertSetSelectDialog";
|
|
|
|
import supCertSetSelectDialog from "@/views/purchase/cert/supCertSetSelectDialog";
|
|
|
@ -390,8 +396,8 @@ export default {
|
|
|
|
productLoading: false,
|
|
|
|
productLoading: false,
|
|
|
|
uuid: null,
|
|
|
|
uuid: null,
|
|
|
|
companyApplyUpdateVisible: false,
|
|
|
|
companyApplyUpdateVisible: false,
|
|
|
|
explainCertVisible:false,
|
|
|
|
explainCertVisible: false,
|
|
|
|
explainMsg:'',
|
|
|
|
explainMsg: '',
|
|
|
|
companyEditDisabled: true,
|
|
|
|
companyEditDisabled: true,
|
|
|
|
companyEditButtonStr: "编辑",
|
|
|
|
companyEditButtonStr: "编辑",
|
|
|
|
addType: "1", //证书类型:1:供应商;2.生产企业;3.产品品种
|
|
|
|
addType: "1", //证书类型:1:供应商;2.生产企业;3.产品品种
|
|
|
@ -403,7 +409,13 @@ export default {
|
|
|
|
3: "变更未确认",
|
|
|
|
3: "变更未确认",
|
|
|
|
6: "未确认",
|
|
|
|
6: "未确认",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
checkSupFlag: {
|
|
|
|
|
|
|
|
0: "草稿",
|
|
|
|
|
|
|
|
1: "已审核",
|
|
|
|
|
|
|
|
2: "已拒绝",
|
|
|
|
|
|
|
|
3: "变更未审核",
|
|
|
|
|
|
|
|
6: "未审核",
|
|
|
|
|
|
|
|
},
|
|
|
|
statusFlag: {
|
|
|
|
statusFlag: {
|
|
|
|
0: "有效",
|
|
|
|
0: "有效",
|
|
|
|
1: "失效",
|
|
|
|
1: "失效",
|
|
|
@ -434,8 +446,8 @@ export default {
|
|
|
|
getCompany(query)
|
|
|
|
getCompany(query)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.inputQuery = response.data;
|
|
|
|
this.inputQuery = response.data;
|
|
|
|
if(this.inputQuery.auditStatus ==null){
|
|
|
|
if (this.inputQuery.auditStatus == null) {
|
|
|
|
this.inputQuery.auditStatus=0;
|
|
|
|
this.inputQuery.auditStatus = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.getCompanyCertList();
|
|
|
|
this.getCompanyCertList();
|
|
|
|
this.selectedOptions = this.inputQuery.areaCode.split(",");
|
|
|
|
this.selectedOptions = this.inputQuery.areaCode.split(",");
|
|
|
@ -445,7 +457,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
onModifySubmit(val) {
|
|
|
|
onModifySubmit(val) {
|
|
|
|
var status= this.inputQuery.auditStatus;
|
|
|
|
var status = this.inputQuery.auditStatus;
|
|
|
|
if (this.editType == 0) { //新增保存
|
|
|
|
if (this.editType == 0) { //新增保存
|
|
|
|
|
|
|
|
|
|
|
|
this.$refs["inputQuery"].validate(valid => {
|
|
|
|
this.$refs["inputQuery"].validate(valid => {
|
|
|
@ -464,7 +476,7 @@ export default {
|
|
|
|
this.closeDialog();
|
|
|
|
this.closeDialog();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.inputQuery.auditStatus=status;
|
|
|
|
this.inputQuery.auditStatus = status;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}).catch(() => {
|
|
|
|
}).catch(() => {
|
|
|
@ -474,7 +486,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else { //编辑保存
|
|
|
|
} else { //编辑保存
|
|
|
|
if(val==0 || val==6) {
|
|
|
|
if (val == 0 || val == 6) {
|
|
|
|
var str = "是否确定提交保存?";
|
|
|
|
var str = "是否确定提交保存?";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
var str = "企业信息已通过审核,是否确认重新提交审核?";
|
|
|
|
var str = "企业信息已通过审核,是否确认重新提交审核?";
|
|
|
@ -495,7 +507,7 @@ export default {
|
|
|
|
this.closeDialog();
|
|
|
|
this.closeDialog();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.inputQuery.auditStatus=status;
|
|
|
|
this.inputQuery.auditStatus = status;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}).catch(() => {
|
|
|
|
}).catch(() => {
|
|
|
@ -549,7 +561,7 @@ export default {
|
|
|
|
this.editTye = 2;
|
|
|
|
this.editTye = 2;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.formName = 1;
|
|
|
|
this.formName = 1;
|
|
|
|
this.inputQuery.formData={};
|
|
|
|
this.inputQuery.formData = {};
|
|
|
|
this.editTye = 1;
|
|
|
|
this.editTye = 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.addCertVisible = true;
|
|
|
|
this.addCertVisible = true;
|
|
|
@ -577,7 +589,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
this.certLoading = false;
|
|
|
|
this.certLoading = false;
|
|
|
|
this.certList = response.data.list || [];
|
|
|
|
this.certList = response.data.list || [];
|
|
|
|
this.certTotal=response.data.total;
|
|
|
|
this.certTotal = response.data.total;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {
|
|
|
|
.catch(() => {
|
|
|
|
this.certLoading = false;
|
|
|
|
this.certLoading = false;
|
|
|
|