diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue index 248960f..ae6b245 100644 --- a/src/components/Template/HandleFormItem.vue +++ b/src/components/Template/HandleFormItem.vue @@ -34,7 +34,7 @@
-
@@ -453,6 +453,18 @@ export default { } this.$emit("clickable", item) }, + //判断是否禁用复选框 + getCheckboxDisabled(){ + //只有qc能操作checkbox,其他都只能看。 + return this.templateFillType !== 'qc' + }, + //判断是否显示复选框图标 + getIsShowCheckboxIcon() { + if(this.templateFillType === 'qc'){ + return true; + } + return this.getChecked(); + }, //判断是否显示复制按钮 getIsShowCopyIcon() { const { copyFrom } = this.item;