| | |
| | | //业务方法------------------------Start------------------------------------- |
| | | //打印渲染js configElementTypeProvider方法 |
| | | //配置字段 |
| | | var datalist = [ |
| | | datalist = [ |
| | | { |
| | | "type": "text", |
| | | "title": "入库单号", |
| | |
| | | return function (options) { |
| | | //内容渲染 |
| | | var addElementTypes = function (context) { |
| | | context.testModule = []; |
| | | context.allElementTypes = []; |
| | | context.addPrintElementTypes( |
| | | "testModule", |
| | | [ |
| | | new hiprint.PrintElementTypeGroup("打印标签", datalist), |
| | | new hiprint.PrintElementTypeGroup("辅助", [ |
| | | // { |
| | | // tid: 'testModule.tableCustom', |
| | | // title: '自定义表格', |
| | | // type: 'tableCustom' |
| | | // }, |
| | | { |
| | | tid: 'testModule.tableCustom', |
| | | title: '自定义表格', |
| | | type: 'tableCustom' |
| | | }, |
| | | { tid: 'configModule.customText', title: '自定义文本', customText: '自定义文本', custom: true, type: 'text' }, |
| | | { tid: 'configModule.image', title: '图片', data: '../../js/hiprint/hi.png', type: 'image' }, |
| | | { |