| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- {
- "panels": [
- {
- "index": 0,
- "name": 1,
- "height": 297,
- "width": 210,
- "paperHeader": 0,
- "paperFooter": 780,
- "printElements": [
- {
- "options": {
- "left": 56,
- "top": 20,
- "height": 42,
- "width": 400,
- "title": "标题",
- "field": "title",
- "testData": "花掌柜 鲜花配送单",
- "fontSize": 29,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 420,
- "top": 28,
- "height": 32,
- "width": 140,
- "title": "批次号",
- "field": "batchNo",
- "testData": "#O24 [#3]",
- "fontSize": 19,
- "textAlign": "right",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 30,
- "top": 70,
- "height": 490,
- "width": 520,
- "borderWidth": 1
- },
- "printElementType": { "title": "矩形", "type": "rect" }
- },
- {
- "options": { "left": 30, "top": 134, "height": 1, "width": 520, "borderWidth": 1 },
- "printElementType": { "title": "横线", "type": "hline" }
- },
- {
- "options": { "left": 30, "top": 230, "height": 1, "width": 520, "borderWidth": 1 },
- "printElementType": { "title": "横线", "type": "hline" }
- },
- {
- "options": { "left": 30, "top": 294, "height": 1, "width": 520, "borderWidth": 1 },
- "printElementType": { "title": "横线", "type": "hline" }
- },
- {
- "options": { "left": 30, "top": 467, "height": 1, "width": 520, "borderWidth": 1 },
- "printElementType": { "title": "横线", "type": "hline" }
- },
- {
- "options": { "left": 130, "top": 70, "height": 64, "width": 1, "borderWidth": 1 },
- "printElementType": { "title": "竖线", "type": "vline" }
- },
- {
- "options": { "left": 290, "top": 70, "height": 64, "width": 1, "borderWidth": 1 },
- "printElementType": { "title": "竖线", "type": "vline" }
- },
- {
- "options": { "left": 390, "top": 70, "height": 64, "width": 1, "borderWidth": 1 },
- "printElementType": { "title": "竖线", "type": "vline" }
- },
- {
- "options": { "left": 130, "top": 134, "height": 96, "width": 1, "borderWidth": 1 },
- "printElementType": { "title": "竖线", "type": "vline" }
- },
- {
- "options": { "left": 130, "top": 230, "height": 64, "width": 1, "borderWidth": 1 },
- "printElementType": { "title": "竖线", "type": "vline" }
- },
- {
- "options": { "left": 130, "top": 294, "height": 173, "width": 1, "borderWidth": 1 },
- "printElementType": { "title": "竖线", "type": "vline" }
- },
- {
- "options": { "left": 130, "top": 467, "height": 93, "width": 1, "borderWidth": 1 },
- "printElementType": { "title": "竖线", "type": "vline" }
- },
- {
- "options": {
- "left": 30,
- "top": 70,
- "height": 64,
- "width": 100,
- "title": "顾客姓名",
- "testData": "顾客姓名",
- "fontSize": 20,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 130,
- "top": 70,
- "height": 64,
- "width": 160,
- "title": "姓名",
- "field": "receiveUserName",
- "testData": "张女士",
- "fontSize": 21,
- "textAlign": "left",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 290,
- "top": 70,
- "height": 64,
- "width": 100,
- "title": "顾客电话",
- "testData": "顾客电话",
- "fontSize": 20,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 390,
- "top": 70,
- "height": 64,
- "width": 160,
- "title": "电话",
- "field": "receiveMobile",
- "testData": "13800138000",
- "fontSize": 21,
- "fontWeight": "bold",
- "textAlign": "left",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 30,
- "top": 134,
- "height": 96,
- "width": 100,
- "title": "顾客地址",
- "testData": "顾客地址",
- "fontSize": 20,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 135,
- "top": 134,
- "height": 96,
- "width": 410,
- "title": "地址",
- "field": "addressBlock",
- "testData": "福建省厦门市集美区前山路147号",
- "fontSize": 20,
- "fontWeight": "bold",
- "lineHeight": 29,
- "textAlign": "left",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 30,
- "top": 230,
- "height": 64,
- "width": 100,
- "title": "配送时间",
- "testData": "配送时间",
- "fontSize": 20,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 135,
- "top": 230,
- "height": 64,
- "width": 410,
- "title": "时间",
- "field": "reachTimeText",
- "testData": "预约配送 03月15日 下午",
- "fontSize": 21,
- "fontWeight": "bold",
- "textAlign": "left",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 30,
- "top": 340,
- "height": 36,
- "width": 100,
- "title": "商品描述",
- "testData": "商品描述",
- "fontSize": 19,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 30,
- "top": 380,
- "height": 36,
- "width": 100,
- "title": "参考照片",
- "testData": "参考照片",
- "fontSize": 19,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 145,
- "top": 308,
- "height": 147,
- "width": 133,
- "field": "productImage",
- "src": "",
- "fit": "cover"
- },
- "printElementType": { "title": "图片", "type": "image" }
- },
- {
- "options": {
- "left": 290,
- "top": 330,
- "height": 40,
- "width": 240,
- "title": "商品名",
- "field": "productName",
- "testData": "韩式抱抱桶",
- "fontSize": 21,
- "fontWeight": "bold",
- "textAlign": "left",
- "textContentVerticalAlign": "top",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 290,
- "top": 390,
- "height": 48,
- "width": 240,
- "title": "数量",
- "field": "productCountText",
- "testData": "共 1 个",
- "fontSize": 27,
- "fontWeight": "bold",
- "textAlign": "left",
- "textContentVerticalAlign": "top",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 30,
- "top": 467,
- "height": 93,
- "width": 100,
- "title": "贺卡内容",
- "testData": "贺卡内容",
- "fontSize": 20,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 135,
- "top": 467,
- "height": 93,
- "width": 410,
- "title": "贺卡",
- "field": "cardInfo",
- "testData": "生日快乐,愿你被鲜花和温柔包围。",
- "fontSize": 20,
- "lineHeight": 29,
- "textAlign": "left",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 30,
- "top": 580,
- "height": 36,
- "width": 520,
- "title": "客服提示",
- "field": "serviceTip",
- "testData": "如在制作,配送环节出现问题或疑问,欢迎随时致电: 400-000-0000",
- "fontSize": 16,
- "fontWeight": "bold",
- "textAlign": "center",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- },
- {
- "options": {
- "left": 222,
- "top": 640,
- "height": 133,
- "width": 133,
- "borderWidth": 3
- },
- "printElementType": { "title": "椭圆", "type": "oval" }
- },
- {
- "options": {
- "left": 222,
- "top": 640,
- "height": 133,
- "width": 133,
- "title": "货号",
- "field": "sendNum",
- "testData": "3",
- "fontSize": 48,
- "fontWeight": "bold",
- "textAlign": "center",
- "textContentVerticalAlign": "middle",
- "hideTitle": true,
- "fontFamily": "SimSun"
- },
- "printElementType": { "title": "文本", "type": "text" }
- }
- ],
- "paperNumberLeft": 565,
- "paperNumberTop": 819,
- "paperNumberDisabled": true,
- "paperNumberContinue": true,
- "fontFamily": "SimSun",
- "watermarkOptions": {
- "content": "",
- "rotate": 25,
- "timestamp": false,
- "format": "YYYY-MM-DD HH:mm",
- "fillStyle": "rgba(184, 184, 184, 0.3)",
- "fontSize": "14px",
- "width": 200,
- "height": 200
- },
- "panelLayoutOptions": {
- "layoutType": "column",
- "layoutRowGap": 0,
- "layoutColumnGap": 0
- }
- }
- ]
- }
|