修改资质功能bug

tagView
zhengmingliang 2 years ago
parent 7527400e6d
commit 057f5a5704

@ -501,7 +501,7 @@ export default {
{required: true, message: "证书名称", trigger: "blur"} {required: true, message: "证书名称", trigger: "blur"}
], ],
need: [ need: [
{required: true, message: "请选择是否必传", trigger: "blur"} {required: true, message: "请选择是否禁用", trigger: "blur"}
], ],
}, },

@ -75,6 +75,7 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
:disabled="scope.row.auditStatus === 1"
@click.native.stop="deleteDialog(scope.row)" @click.native.stop="deleteDialog(scope.row)"
>删除 >删除
</el-button </el-button
@ -466,6 +467,11 @@ export default {
this.getRegistrationList(); this.getRegistrationList();
}, },
registrationDialog(row) { registrationDialog(row) {
if(this.currentManufacturer==null){
this.$message.error("请先选中生产企业!");
return
}
if (this.$isNotBlank(row)) { if (this.$isNotBlank(row)) {
this.registrationId = row.id; this.registrationId = row.id;
this.curProductQuery = row; this.curProductQuery = row;
@ -548,7 +554,7 @@ export default {
created() { created() {
this.fileUrl = BASE_URL + "/udiwms/image/register/file/getImage?type=image4&name="; this.fileUrl = BASE_URL + "/udiwms/image/register/file/getImage?type=image4&name=";
this.getList(); this.getList();
this.getRegistrationList(); // this.getRegistrationList();
}, },
} }
</script> </script>

Loading…
Cancel
Save