|
|
@@ -1,38 +1,333 @@
|
|
|
const panel = {
|
|
|
- "panels": [
|
|
|
- {
|
|
|
- "index": 0,
|
|
|
- "paperType": "A4",
|
|
|
- "height": 297,
|
|
|
- "width": 210,
|
|
|
- "paperHeader": 0,
|
|
|
- "paperFooter": 841.8897637795277,
|
|
|
- "printElements": [
|
|
|
- {
|
|
|
- "options": {
|
|
|
- "left": 231,
|
|
|
- "top": 21,
|
|
|
- "height": 9.75,
|
|
|
- "width": 120,
|
|
|
- "title": "经销项目协议",
|
|
|
- "coordinateSync": false,
|
|
|
- "widthHeightSync": false,
|
|
|
- "fontSize": 18,
|
|
|
- "qrCodeLevel": 0,
|
|
|
- "right": 350.25,
|
|
|
- "bottom": 30,
|
|
|
- "vCenter": 290.25,
|
|
|
- "hCenter": 25.125
|
|
|
- },
|
|
|
- "printElementType": {
|
|
|
- "title": "文本",
|
|
|
- "type": "text"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
- "topOffset": 30
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "index": 0,
|
|
|
+ "paperType": "A4",
|
|
|
+ "height": 297,
|
|
|
+ "width": 210,
|
|
|
+ "paperHeader": 0,
|
|
|
+ "paperFooter": 841.8897637795277,
|
|
|
+ "printElements": [
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 231,
|
|
|
+ "top": 21,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 120,
|
|
|
+ "hCenter": 25.875,
|
|
|
+ "bottom": 30.75,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "right": 351,
|
|
|
+ "title": "购 销 合 同",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "fontSize": 18,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "vCenter": 291
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 337.5,
|
|
|
+ "top": 66,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 120,
|
|
|
+ "hCenter": 71.625,
|
|
|
+ "bottom": 76.5,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 456.75,
|
|
|
+ "title": "合同编号",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "vCenter": 396.75
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 33,
|
|
|
+ "top": 66,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 120,
|
|
|
+ "hCenter": 70.875,
|
|
|
+ "bottom": 75.75,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 150.75,
|
|
|
+ "title": "采购方",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "vCenter": 90.75
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 33,
|
|
|
+ "top": 96,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 120,
|
|
|
+ "hCenter": 100.875,
|
|
|
+ "bottom": 105.75,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "right": 153,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "title": "供应方",
|
|
|
+ "vCenter": 93,
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 337.5,
|
|
|
+ "top": 96,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 120,
|
|
|
+ "hCenter": 100.125,
|
|
|
+ "bottom": 105,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 457.5,
|
|
|
+ "title": "签定地点",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "vCenter": 397.5
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 33,
|
|
|
+ "top": 129,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 120,
|
|
|
+ "hCenter": 130.125,
|
|
|
+ "bottom": 135,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "right": 152.25,
|
|
|
+ "title": "项目名称",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "vCenter": 92.25,
|
|
|
+ "fontWeight": "bold"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 337.5,
|
|
|
+ "top": 129,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 120,
|
|
|
+ "hCenter": 133.875,
|
|
|
+ "bottom": 138.75,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 458.25,
|
|
|
+ "title": "签定时间",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "vCenter": 398.25
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 33,
|
|
|
+ "top": 171,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 352.5,
|
|
|
+ "hCenter": 175.125,
|
|
|
+ "bottom": 180,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 386.25,
|
|
|
+ "title": "1.产品名称、型号规格、数量、单价、金额、交货期限",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "vCenter": 210
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 33,
|
|
|
+ "top": 192,
|
|
|
+ "height": 72,
|
|
|
+ "width": 538.5,
|
|
|
+ "hCenter": 227.25,
|
|
|
+ "textAlign": "center",
|
|
|
+ "bottom": 263.25,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "right": 582.25,
|
|
|
+ "field": "table2",
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "vCenter": 307.25,
|
|
|
+ "columns": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "width": 68.53636363636363,
|
|
|
+ "title": "序号",
|
|
|
+ "field": "id",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "id",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableColumnHeight": 30,
|
|
|
+ "tableTextType": "text",
|
|
|
+ "tableBarcodeMode": "CODE128A",
|
|
|
+ "tableQRCodeLevel": 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 71.26808707009951,
|
|
|
+ "title": "货物名称",
|
|
|
+ "field": "",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableColumnHeight": 30,
|
|
|
+ "tableTextType": "text",
|
|
|
+ "tableBarcodeMode": "CODE128A",
|
|
|
+ "tableQRCodeLevel": 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 76.4773382045342,
|
|
|
+ "title": "规格",
|
|
|
+ "field": "",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableColumnHeight": 30,
|
|
|
+ "tableTextType": "text",
|
|
|
+ "tableBarcodeMode": "CODE128A",
|
|
|
+ "tableQRCodeLevel": 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 86.26904641213642,
|
|
|
+ "title": "数量",
|
|
|
+ "checked": true,
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableColumnHeight": "30",
|
|
|
+ "tableTextType": "text",
|
|
|
+ "tableBarcodeMode": "CODE128A",
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": "count"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 84.28552174312941,
|
|
|
+ "title": "单价",
|
|
|
+ "checked": true,
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableColumnHeight": 30,
|
|
|
+ "tableTextType": "text",
|
|
|
+ "tableBarcodeMode": "CODE128A",
|
|
|
+ "tableQRCodeLevel": 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 70.6354297675926,
|
|
|
+ "title": "金 额",
|
|
|
+ "checked": true,
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableColumnHeight": "30",
|
|
|
+ "tableTextType": "text",
|
|
|
+ "tableBarcodeMode": "CODE128A",
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": "sum"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 81.02821316614418,
|
|
|
+ "title": "交货期限",
|
|
|
+ "checked": true,
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableColumnHeight": "30",
|
|
|
+ "tableTextType": "text",
|
|
|
+ "tableBarcodeMode": "CODE128A",
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "表格",
|
|
|
+ "type": "table",
|
|
|
+ "editable": true,
|
|
|
+ "columnDisplayEditable": true,
|
|
|
+ "columnDisplayIndexEditable": true,
|
|
|
+ "columnTitleEditable": true,
|
|
|
+ "columnResizable": true,
|
|
|
+ "columnAlignEditable": true,
|
|
|
+ "isEnableEditField": true,
|
|
|
+ "isEnableContextMenu": true,
|
|
|
+ "isEnableInsertRow": true,
|
|
|
+ "isEnableDeleteRow": true,
|
|
|
+ "isEnableInsertColumn": true,
|
|
|
+ "isEnableDeleteColumn": true,
|
|
|
+ "isEnableMergeCell": true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 33,
|
|
|
+ "top": 259.5,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 396,
|
|
|
+ "hCenter": 266.625,
|
|
|
+ "bottom": 271.5,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "right": 429,
|
|
|
+ "title": "备注:1、出货资料一式**份,资料随货同时到现场,或提前邮寄(地址:****)。)。",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "vCenter": 231,
|
|
|
+ "fontWeight": "bold"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ "topOffset": 30
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
export default panel
|
|
|
|