king
2022-09-06 fa381753ef2a2b25b1c0722549ac17e333da79be
src/views/printTemplate/option.js
@@ -134,6 +134,10 @@
  {
    text: 'qrcode',
    value: 'qrcode'
  },
  {
    text: 'datamatrix',
    value: 'datamatrix'
  }
]
@@ -256,6 +260,14 @@
      initval: config.height,
      min: 1,
      required: true
    },
    {
      type: 'select',
      key: 'rotate',
      label: '旋转角度',
      initval: config.rotate || 0,
      required: false,
      options: Rotate
    }
  ]
}
@@ -412,19 +424,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 +555,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
    },
@@ -704,19 +718,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
    },
@@ -850,19 +865,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
    },