king
2023-02-09 f93a4ef15e3a273b247234af5a713cef333252a3
2023-02-09
1个文件已修改
10 ■■■■■ 已修改文件
src/tabviews/zshare/actionList/printbutton/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -321,6 +321,16 @@
          // 自定义打印
          if (btn.verify.printMode === 'custom') {
            result.list.forEach(cell => {
              Object.keys(cell).forEach(key => {
                let _key = key.toLowerCase()
                if (['printtype', 'printcount'].includes(_key)) {
                  cell[_key] = cell[key]
                }
              })
              cell.printType = cell.printtype || ''
              cell.printCount = +(cell.printcount || 1)
            })
            this.execCustomPrint(result.list, formdata)
            resolve(false)
            return