123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445 |
- export default {
- panels: [
- {
- index: 0,
- height: 150,
- width: 241,
- paperCount: 222,
- printElements: [
- {
- options: {
- left: 0,
- top: 25,
- height: 27,
- width: 640,
- field: 'company',
- fontSize: 19,
- fontWeight: '600',
- fontFamily: '黑体,宋体,微软雅黑',
- textAlign: 'center',
- lineHeight: 26
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 25,
- top: 35,
- height: 13,
- lineHeight: 13,
- width: 328,
- fontSize: 12.5,
- title: '打印日期',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'nowDate',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 590,
- top: 35,
- height: 13,
- lineHeight: 13,
- width: 328,
- fontSize: 12.5,
- title: '打印次数',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'printNum',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- // {
- // "options": {
- // "left": 25,
- // "top": 35,
- // "height": 13,
- // "lineHeight": 13,
- // "width": 328,
- // "fontSize": 12.5,
- // "title": "经销商编码",
- // "fontFamily": '黑体,宋体,微软雅黑',
- // "field": "customerNumber",
- // "color": "#000",
- // "textAlign": "left"
- // }, "printElementType": { "title": "", "type": "text" }
- // },
- {
- options: {
- left: 25,
- top: 55,
- height: 13,
- lineHeight: 13,
- width: 640,
- fontSize: 12.5,
- title: '经销商',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'customerName',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 500,
- top: 55,
- height: 13,
- lineHeight: 13,
- width: 300,
- fontSize: 12.5,
- title: '提货方式',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'pickTypeName',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 25,
- top: 72,
- height: 13,
- lineHeight: 13,
- width: 150,
- fontSize: 12.5,
- title: '出库单号',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'salesId',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 300,
- top: 72,
- height: 13,
- lineHeight: 13,
- width: 200,
- fontSize: 12.5,
- title: '发货单号',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'invoiceId',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 500,
- top: 72,
- height: 13,
- lineHeight: 13,
- width: 300,
- fontSize: 12.5,
- title: '仓库',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'correspondName',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 25,
- top: 89,
- height: 13,
- lineHeight: 13,
- width: 328,
- fontSize: 12.5,
- title: '工程登录编号',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'refEnginRecordNo',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 300,
- top: 89,
- height: 13,
- lineHeight: 13,
- width: 410,
- fontSize: 12.5,
- title: '使用单位',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'refUseUnit',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 25,
- top: 106,
- height: 13,
- lineHeight: 13,
- width: 633,
- fontSize: 12.5,
- title: '备注',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'headerRemark',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text', fontSize: 8 }
- },
- {
- options: {
- left: 23,
- top: 123,
- height: 410,
- width: 630,
- fontSize: 12.5,
- field: 'table',
- fontFamily: '黑体,宋体,微软雅黑',
- lineHeight: 16,
- tableFooterRepeat: 'last',
- columns: [
- [
- {
- title: '订单号',
- field: 'enginOrderType',
- width: 60,
- align: 'left',
- colspan: 1,
- rowspan: 1,
- fontSize: 12.5
- },
- {
- title: '发货日期',
- field: 'createTime',
- width: 50,
- align: 'left',
- colspan: 1,
- rowspan: 1,
- fontSize: 12.5
- },
- {
- title: '存货名称',
- field: 'materialName',
- width: 100,
- align: 'left',
- colspan: 1,
- rowspan: 1,
- fontSize: 12.5
- },
- {
- title: '规格型号',
- field: 'specification',
- width: 140,
- align: 'left',
- overflow: 'hidden',
- colspan: 1,
- rowspan: 1,
- fontSize: 12.5
- },
- {
- title: '数量',
- field: 'refundableQty',
- width: 23,
- align: 'center',
- colspan: 1,
- rowspan: 1,
- fontSize: 12.5,
- tableSummary: 'sum'
- },
- // , {
- // "title": "订单备注",
- // "field": "headerRemark",
- // "width": 40,
- // "align": "center",
- // "colspan": 1,
- // "rowspan": 1,
- // "fontSize": 12.5,
- // }
- {
- title: '备注说明',
- field: 'pjxh1Text',
- width: 40,
- align: 'left',
- colspan: 2,
- rowspan: 1,
- fontSize: 12.5
- }
- ]
- ]
- },
- printElementType: {
- title: '表格',
- type: 'table',
- editable: true,
- columnDisplayEditable: true, // 列显示是否能编辑
- columnDisplayIndexEditable: true, // 列顺序显示是否能编辑
- columnTitleEditable: true, // 列标题是否能编辑
- columnResizable: true, // 列宽是否能调整
- columnAlignEditable: true, // 列对齐是否调整
- isEnableEditField: true, // 编辑字段
- isEnableContextMenu: true, // 开启右键菜单 默认true
- isEnableInsertRow: true, // 插入行
- isEnableDeleteRow: true, // 删除行
- isEnableInsertColumn: true, // 插入列
- isEnableDeleteColumn: true, // 删除列
- isEnableMergeCell: true // 合并单元格
- }
- },
- {
- options: {
- left: 25,
- top: 376,
- height: 13,
- lineHeight: 13,
- width: 218,
- fontSize: 12.5,
- title: '',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'takerName',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 25,
- top: 410,
- height: 13,
- lineHeight: 13,
- width: 218,
- fontSize: 12.5,
- title: '打单',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'createBy',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 238,
- top: 410,
- height: 13,
- lineHeight: 13,
- width: 218,
- fontSize: 12.5,
- title: '提单',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'takerDa',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 238,
- top: 376,
- height: 13,
- lineHeight: 13,
- width: 218,
- fontSize: 12.5,
- title: '联系方式',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'takerPhone',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 463,
- top: 376,
- height: 13,
- lineHeight: 13,
- width: 218,
- fontSize: 12.5,
- title: '车辆',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'pickCar',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 463,
- top: 410,
- height: 13,
- lineHeight: 13,
- width: 218,
- fontSize: 12.5,
- title: '仓库',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'correspondNames',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- },
- {
- options: {
- left: 25,
- top: 393,
- height: 13,
- lineHeight: 13,
- width: 640,
- fontSize: 12.5,
- title: "送货地址",
- fontFamily: "黑体,宋体,微软雅黑",
- field: "address",
- testData: "",
- color: "#000",
- textAlign: "left",
- },
- printElementType: { title: "", type: "text" },
- },
- {
- options: {
- left: 610,
- top: 410,
- height: 13,
- lineHeight: 13,
- width: 218,
- fontSize: 16,
- title: '',
- fontFamily: '黑体,宋体,微软雅黑',
- field: 'pageNumber',
- testData: '',
- color: '#000',
- textAlign: 'left'
- },
- printElementType: { title: '', type: 'text' }
- }
- ],
- paperNumberDisabled: true
- }
- ]
- }
|