<script setup lang="ts">
|
defineProps(['jsbarcode', 'getCustomRowNameList', 'getMaxRows', 'jnpfUniverRef', 'cellFromDialogValue', 'startColumn', 'startRow', 'dataSetList', 'queryList']);
|
|
const barcodeFormatOptions = [
|
{ id: 'code128', fullName: 'code128' },
|
{ id: 'ean13', fullName: 'ean13' },
|
{ id: 'ean8', fullName: 'ean8' },
|
{ id: 'ean5', fullName: 'ean5' },
|
{ id: 'ean2', fullName: 'ean2' },
|
{ id: 'code39', fullName: 'code39' },
|
{ id: 'itf14', fullName: 'itf14' },
|
{ id: 'msi10', fullName: 'msi10' },
|
{ id: 'msi11', fullName: 'msi11' },
|
{ id: 'pharmacode', fullName: 'pharmacode' },
|
{ id: 'upc', fullName: 'upc' },
|
{ id: 'codabar', fullName: 'codabar' },
|
];
|
</script>
|
|
<template>
|
<a-form-item label="编码格式">
|
<jnpf-select v-model:value="jsbarcode.jsbarcodeOption.format" :options="barcodeFormatOptions" />
|
</a-form-item>
|
<a-form-item label="条码颜色">
|
<jnpf-color-picker v-model:value="jsbarcode.jsbarcodeOption.lineColor" size="small" />
|
</a-form-item>
|
<a-form-item label="宽度">
|
<a-input-number v-model:value="jsbarcode.jsbarcodeOption.width" placeholder="最大值100" max="100" min="0" />
|
</a-form-item>
|
<a-form-item label="固定值">
|
<a-input v-model:value="jsbarcode.field" :maxlength="256" allow-clear />
|
</a-form-item>
|
</template>
|