king
2022-09-06 bdfec44c9f3a37dbbe05bf14a252ffec04132a86
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,14 +424,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 +555,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',
@@ -706,14 +718,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 +865,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',