From cb9ade2afd2a367ad767bc605ab7086c695dd010 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 09 十二月 2022 15:53:32 +0800 Subject: [PATCH] 2022-12-09 --- src/views/printTemplate/option.js | 98 +++++++++++++++++++++++++++++++++---------------- 1 files changed, 66 insertions(+), 32 deletions(-) diff --git a/src/views/printTemplate/option.js b/src/views/printTemplate/option.js index 1671000..f634781 100644 --- a/src/views/printTemplate/option.js +++ b/src/views/printTemplate/option.js @@ -134,6 +134,10 @@ { text: 'qrcode', value: 'qrcode' + }, + { + text: 'datamatrix', + value: 'datamatrix' } ] @@ -256,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 } ] } @@ -412,19 +433,20 @@ 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', label: '杈规瀹藉害', initval: item.borderSize, + tooltip: '娉細杈规瀹藉害鐨勮閲忓崟浣嶆槸姝e父鍊肩殑鍗佸垎涔嬩竴銆�', precision: 1, required: true }, @@ -542,19 +564,20 @@ 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', label: '杈规瀹藉害', initval: item.borderSize, + tooltip: '娉細杈规瀹藉害鐨勮閲忓崟浣嶆槸姝e父鍊肩殑鍗佸垎涔嬩竴銆�', precision: 1, required: true }, @@ -621,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', @@ -704,19 +736,20 @@ 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', label: '杈规瀹藉害', initval: item.borderSize, + tooltip: '娉細杈规瀹藉害鐨勮閲忓崟浣嶆槸姝e父鍊肩殑鍗佸垎涔嬩竴銆�', precision: 1, required: true }, @@ -850,19 +883,20 @@ 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', label: '杈规瀹藉害', initval: item.borderSize, + tooltip: '娉細杈规瀹藉害鐨勮閲忓崟浣嶆槸姝e父鍊肩殑鍗佸垎涔嬩竴銆�', precision: 1, required: true }, -- Gitblit v1.8.0