修改证书显示审核提交bug

tagView
zhengmingliang 3 years ago
parent fe8871768f
commit 8c1af93579

@ -484,13 +484,15 @@ export default {
if (this.$isNotBlank(row)) {
this.registrationId = row.id;
this.curProductQuery = row;
this.curProductQuery.cuStatus=this.currentManufacturer.auditStatus;
this.formName = "update";
this.editProductType = 1;
} else {
this.editProductType = 0;
this.formName = "add";
this.curProductQuery = {
auditStatus: 0
auditStatus: 0,
cuStatus:this.currentManufacturer.auditStatus
};
}
this.registrationVisible = true;

@ -196,6 +196,11 @@
<el-table-column label="有效期" prop="vailDate"></el-table-column>
<el-table-column label="失效期" prop="expireDate"></el-table-column>
<el-table-column label="备注" prop="remark"></el-table-column>
<el-table-column label="证书状态" prop="status">
<template slot-scope="scope">
{{ supStatus[scope.row.status] }}
</template>
</el-table-column>
<el-table-column label="审核状态" prop="auditStatus" width="120">
<template slot-scope="scope">
<el-tag :type="(scope.row.auditStatus) | statusFilterType">
@ -403,6 +408,10 @@ export default {
3: "变更未审核",
6: "未审核",
},
supStatus: {
0: "有效",
1: "失效",
},
certAuditVisible: false,
currentAudit: {},
};

@ -211,6 +211,11 @@
<el-table-column label="有效期" prop="vailDate"></el-table-column>
<el-table-column label="失效期" prop="expireDate"></el-table-column>
<el-table-column label="备注" prop="remark"></el-table-column>
<el-table-column label="证书状态" prop="status">
<template slot-scope="scope">
{{ supStatus[scope.row.status] }}
</template>
</el-table-column>
<el-table-column label="审核状态" prop="auditStatus" width="120">
<template slot-scope="scope">
<el-tag :type="(scope.row.auditStatus) | statusFilterType">
@ -423,7 +428,10 @@ export default {
3: "变更未审核",
6: "未审核",
},
supStatus: {
0: "有效",
1: "失效",
},
certAuditVisible: false,
currentAudit: {},
};

@ -424,6 +424,7 @@ export default {
},
loading: false,
classesDisplay: false,
cuStatus:0,
selectedOptions: [],
selectedOptions2: [],
options: regionDataPlus,
@ -543,6 +544,7 @@ export default {
this.pmQuery.customerId = this.inputQuery.customerId;
}
this.cuStatus=this.inputQuery.cuStatus;
this.manufacturerId = this.inputQuery.manufacturerIdFk
this.productId = this.inputQuery.productId
this.findMethod();
@ -555,6 +557,12 @@ export default {
},
methods: {
onModifySubmit(val) {
if(val!=0){
if(this.cuStatus!=1){
this.$message.error("生产企业未通过审核不能提交!");
return;
}
}
this.$refs['inputQuery'].validate(valid => {
if (valid) {

Loading…
Cancel
Save