king
2 天以前 047dbd742341e268ca772eda8d2ff0b6ba09cb44
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,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',
@@ -543,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',
@@ -623,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',
@@ -706,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',
@@ -853,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',