From 2d704fb62459923206071b319f8423c3381145f8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 11 六月 2025 00:18:20 +0800 Subject: [PATCH] 2025-06-11 --- src/views/printTemplate/option.js | 90 +++++++++++++++++++++++++++++---------------- 1 files changed, 58 insertions(+), 32 deletions(-) diff --git a/src/views/printTemplate/option.js b/src/views/printTemplate/option.js index 1f57cf2..f634781 100644 --- a/src/views/printTemplate/option.js +++ b/src/views/printTemplate/option.js @@ -260,6 +260,23 @@ initval: config.height, min: 1, required: true + }, + { + type: 'select', + key: 'rotate', + label: '鏃嬭浆瑙掑害', + initval: config.rotate || 0, + required: false, + options: Rotate + }, + { + type: 'number', + key: 'gap', + label: '闂撮殭', + initval: config.gap || '', + tooltip: 'RFID鏍囩闂撮殭銆�', + min: 0, + required: false } ] } @@ -416,14 +433,14 @@ required: false, options: Fontfamily }, - { - type: 'select', - key: 'rotate', - label: '鏃嬭浆瑙掑害', - initval: item.rotate, - required: false, - options: Rotate - }, + // { + // type: 'select', + // key: 'rotate', + // label: '鏃嬭浆瑙掑害', + // initval: item.rotate, + // required: false, + // options: Rotate + // }, { type: 'number', key: 'borderSize', @@ -547,14 +564,14 @@ precision: 0, required: true }, - { - type: 'select', - key: 'rotate', - label: '鏃嬭浆瑙掑害', - initval: item.rotate, - required: false, - options: Rotate - }, + // { + // type: 'select', + // key: 'rotate', + // label: '鏃嬭浆瑙掑害', + // initval: item.rotate, + // required: false, + // options: Rotate + // }, { type: 'number', key: 'borderSize', @@ -627,6 +644,15 @@ initval: item.fontSize, precision: 0, required: true + }, + { + type: 'number', + key: 'narrowWidth', + label: '鍗曞厓瀹藉害', + initval: item.narrowWidth, + tooltip: '娉細RFID鏉$爜鍗曞厓瀹藉害锛岄粯璁ゅ�间负2銆�', + precision: 0, + required: false }, { type: 'select', @@ -710,14 +736,14 @@ precision: 0, required: true }, - { - type: 'select', - key: 'rotate', - label: '鏃嬭浆瑙掑害', - initval: item.rotate, - required: false, - options: Rotate - }, + // { + // type: 'select', + // key: 'rotate', + // label: '鏃嬭浆瑙掑害', + // initval: item.rotate, + // required: false, + // options: Rotate + // }, { type: 'number', key: 'borderSize', @@ -857,14 +883,14 @@ precision: 0, required: true }, - { - type: 'select', - key: 'rotate', - label: '鏃嬭浆瑙掑害', - initval: item.rotate, - required: false, - options: Rotate - }, + // { + // type: 'select', + // key: 'rotate', + // label: '鏃嬭浆瑙掑害', + // initval: item.rotate, + // required: false, + // options: Rotate + // }, { type: 'number', key: 'borderSize', -- Gitblit v1.8.0