king
3 天以前 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,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: '注:边框宽度的计量单位是正常值的十分之一。',
      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: '注:边框宽度的计量单位是正常值的十分之一。',
      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: '注:边框宽度的计量单位是正常值的十分之一。',
      precision: 1,
      required: true
    },
@@ -795,6 +828,14 @@
      required: false
    },
    {
      type: 'textarea',
      key: 'productValue',
      label: '正式地址',
      initval: item.productValue || '',
      tooltip: '正式系统使用的图片,为空时使用图片地址。',
      required: false
    },
    {
      type: 'select',
      key: 'field',
      label: '关联字段',
@@ -842,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: '注:边框宽度的计量单位是正常值的十分之一。',
      precision: 1,
      required: true
    },