From 6dd8269bfe19f5e0ed29aeb0d68cbea3ec36e6a4 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Mon, 19 Jan 2026 21:44:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?= =?UTF-8?q?ate]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/HandleFormItem.vue | 14 ++++++++++++-- src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue | 4 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue index b6d7bac..bae6a91 100644 --- a/src/components/Template/HandleFormItem.vue +++ b/src/components/Template/HandleFormItem.vue @@ -33,7 +33,7 @@
-
@@ -161,7 +161,7 @@ export default { currentRecordType: '', // 当前悬停的记录类型(replyRecord 或 modifyRecord) replyContent: '', // 回复内容 visible: false,//是否显示弹窗 - checked: false,//是否选中 + checkboxValue: this.getChecked(),//是否选中 } }, watch: { @@ -278,6 +278,16 @@ export default { }, // 复选框变化处理 onCheckboxChange(val) { + //有提出意见就不能勾选 + if (this.templateFillType == 'qc' && this.getQuestionColor()=== "orange") { + this.checkboxValue = false; + this.$message({ + message: '该表单还有质疑项未处理,无法勾选', + type: 'error' + }); + return ; + } + this.checkboxValue = val; // 触发修改记录事件 EventBus.$emit('onModifyRecord', { type: "checkbox", diff --git a/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue b/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue index e9bc898..d567134 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue @@ -11,7 +11,7 @@ + :dataSource="yqResource" /> @@ -236,7 +236,7 @@ export default { data() { return { resource: [], - resourceData1: [], + yqResource: [], sysjColumns: [ { label: 'template.common.reagentName', prop: "mc" },//名称 { label: 'template.common.reagentCode', prop: "bh" },//编号