diff --git a/src/api/DesignForm/types.ts b/src/api/DesignForm/types.ts index 9a5d84a..c3aecee 100644 --- a/src/api/DesignForm/types.ts +++ b/src/api/DesignForm/types.ts @@ -110,6 +110,8 @@ export interface formData{ qrCodeFlag: boolean, qrCodeInside:boolean, qrCodeOutside:boolean, + qrCodePrintStyle:any, + qrCodeShowFields:any, }; config: any; events?:any; diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index 882d83e..bbaaaea 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -2151,6 +2151,19 @@ function getQrCodeImgInside() { }, }); } +/* const qrCodeOutPrintConfigFlag = ref(false) +function showQrCodeOutPrintConfig(){ + qrCodeOutPrintConfigFlag.value = true +} */ +function handleMaxSelect(){ + console.log(formData.value.qrCodeShowFields.length) + if(formData.value.qrCodeShowFields.length>5){ + alert("最多可选择5个字段") + } + while (formData.value.qrCodeShowFields.length > 5) { + formData.value.qrCodeShowFields.pop(); + } +} //liwenxuan20250103 qrCode end //liwenxuan20240403 associatedForms start import AssociatedFormsTinyace from "@/widget/associatedforms/associatedFormsTinyace.vue"; @@ -4624,6 +4637,39 @@ const radioChangeSet = (val: any) => { 查看外部二维码图片 + + + + + + 图片 + 表格卡片 + + + + + + + + 表单整体布局 @@ -4997,6 +5043,29 @@ const radioChangeSet = (val: any) => { + +