king
2022-07-10 d5c0a5b70092002345d01a5fd9bcdfeac2e43016
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -931,7 +931,8 @@
      if (!configParam) {
        error = '打印模板解析错误!'
      } else {
        let control = configParam.elements.map(element => {
        let control = []
        configParam.elements.forEach(element => {
          let _field = element.field
          if (_field === 'other_field') {
@@ -967,11 +968,12 @@
            item.Trimming = ''
            if (!item.Width) {
              item.Width = item.BorderSize
              item.Left = item.Left - item.Width
              item.Left = item.Left - item.Width + 0.1
            } else if (!item.Height) {
              item.Height = item.BorderSize
              item.Top = item.Top - item.Height
              item.Top = item.Top - item.Height + 0.1
            }
            item.BackColor = element.borderColor
            item.BorderSize = 0
          } else if (item.Type === 'image') {
            item.ImageWidth = element.imgWidth
@@ -1011,7 +1013,7 @@
            }
          }
          return item
          control.push(item)
        })
        _configparam = {