富茂A端打印模板内嵌编辑器
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

29 řádky
901 B

  1. export const getDefaultProps = () => ({
  2. uuid: '',
  3. type: 'braid-txt',
  4. name: '',
  5. isEdit: true,
  6. dragable: true, // 是否可拖拽
  7. resizable: true, // 尺寸是否可变
  8. width: 120,
  9. height: 40,
  10. left: 50,
  11. top: 0,
  12. value: '自定义文本',
  13. title: '自定义文本',
  14. defaultValue: '自定义文本',
  15. style: { zIndex: 1 }
  16. })
  17. export const getCodeTypeArray = () => (['128A', '128B', '128C', '128Auto', 'EAN8', 'EAN13', 'EAN128A', 'EAN128B', 'EAN128C', 'Code39', '39Extended', '2_5interleaved', '2_5industrial', '2_5matrix', 'UPC_A', 'UPC_E0', 'UPC_E1', 'UPCsupp2', 'UPCsupp5', 'Code93', '93Extended', 'MSI', 'PostNet', 'Codabar', 'QRCode', 'PDF417'])
  18. export const getItemTypeArray = () => ([
  19. { label: '普通项', value: 0 },
  20. { label: '页眉页脚', value: 1 },
  21. { label: '页号项', value: 2 },
  22. { label: '页数项', value: 3 },
  23. { label: '多页项', value: 4 },
  24. ])