| | |
| | | /* |
| | | * mock 存放全局静态数据 |
| | | */ |
| | | import Vue from 'vue'; |
| | | const allMock = { |
| | | test: ['静态数据'], |
| | | //面单数据 |
| | | order_data: { |
| | | MATNR: "1200128-10055", |
| | | MAKTX: "X5S-4-M03/333", |
| | | MODI_TIME: "2023-04-24 15:25:32", |
| | | CUSTOMER_CODE: "00001", |
| | | CUSTOMER_NAME: "宋小姐", |
| | | BILL_CODE: "JYM100005228492", |
| | | PRINT_DATE_REAL:"2020-09-08 17:31:21", |
| | | SEND_MAN: "城南旧事", |
| | | SEND_MAN_PHONE: "176xxxx7418", |
| | | SEND_PROVINCE: "广东省", |
| | | SEND_CITY: "xx市", |
| | | SEND_COUNTY: "xx区", |
| | | SEND_MAN_COMPANY: "城南往事", |
| | | ACCEPT_MAN: "董小姐", |
| | | ACCEPT_MAN_PHONE: "176xxxx7418", |
| | | ACCEPT_MAN_ADDRESS: "广东省xxxxxxxxxxxxxxxxxxxxxxxx", |
| | | PIECE_NUMBER: "11", |
| | | PAYMENT_TYPE: "到付", |
| | | RETURN_BILL_TYPE: "邮寄", |
| | | SETTLEMENT_WEIGHT: "11kg", |
| | | // TRANSFER_CODE: "JDVX9999999999999", |
| | | REMARK: "次物品小心配送,易碎品,备注这是备注这是备注这是备注这是备注注这是备注这是备注注", |
| | | PACK_TYPE: "货物类", |
| | | FREIGHT: "120", |
| | | //https://bkimg.cdn.bcebos.com/pic/2934349b033b5bb571dc8c5133d3d539b600bc12?x-bce-process=image/resize,m_lfit,w_268,limit_1/format,f_jpg |
| | | QR_CODE_IMAGE:"", |
| | | }, |
| | | printTemplate: { |
| | | "pagConfig": { |
| | | "pageLeft": "0", |
| | | "pageTop": "0", |
| | | "pageHeight": "48", |
| | | "pageWidth": "74" |
| | | }, |
| | | "printItem": [ |
| | | // 上边框 |
| | | { |
| | | "top": "2", |
| | | "left": "0", |
| | | "textAlign": "start", |
| | | "width": "270", |
| | | "text": "", |
| | | "type": "cross", |
| | | "fontWeight": "400", |
| | | "height": "3" |
| | | }, |
| | | // 下边框 |
| | | { |
| | | "top": "180", |
| | | "left": "0", |
| | | "textAlign": "start", |
| | | "width": "270", |
| | | "text": "", |
| | | "type": "cross", |
| | | "fontWeight": "400", |
| | | "height": "3" |
| | | }, |
| | | // 左边框 |
| | | { |
| | | "top": "2", |
| | | "left": "0", |
| | | "textAlign": "start", |
| | | "width": "3", |
| | | "text": "", |
| | | "type": "vertical", |
| | | "fontWeight": "400", |
| | | "height": "176" |
| | | }, |
| | | // 右边框 |
| | | { |
| | | "top": "2", |
| | | "left": "270", |
| | | "textAlign": "start", |
| | | "width": "3", |
| | | "text": "", |
| | | "type": "vertical", |
| | | "fontWeight": "400", |
| | | "height": "176" |
| | | }, |
| | | // 横线1 |
| | | { |
| | | "top": "70", |
| | | "left": "0", |
| | | "textAlign": "start", |
| | | "width": "140", |
| | | "text": "", |
| | | "type": "cross", |
| | | "fontWeight": "400", |
| | | "height": "4" |
| | | }, |
| | | // 横线2 |
| | | { |
| | | "top": "144", |
| | | "left": "0", |
| | | "textAlign": "start", |
| | | "width": "270", |
| | | "text": "", |
| | | "type": "cross", |
| | | "fontWeight": "400", |
| | | "height": "4" |
| | | }, |
| | | // 竖线1 |
| | | { |
| | | "top": "2", |
| | | "left": "40", |
| | | "textAlign": "start", |
| | | "width": "3", |
| | | "text": "", |
| | | "type": "vertical", |
| | | "fontWeight": "400", |
| | | "height": "176" |
| | | }, |
| | | // 竖线2 |
| | | { |
| | | "top": "2", |
| | | "left": "140", |
| | | "textAlign": "start", |
| | | "width": "3", |
| | | "text": "", |
| | | "type": "vertical", |
| | | "fontWeight": "400", |
| | | "height": "140" |
| | | }, |
| | | { |
| | | "top": "30", |
| | | "left": "10", |
| | | "textAlign": "left", |
| | | "width": "54", |
| | | "fontSize": 9, |
| | | "text": "料号", |
| | | "type": "text", |
| | | "fontWeight": "400", |
| | | "height": "19" |
| | | }, |
| | | { |
| | | "top": "105", |
| | | "left": "10", |
| | | "textAlign": "left", |
| | | "width": "54", |
| | | "fontSize": 9, |
| | | "text": "商品", |
| | | "type": "text", |
| | | "fontWeight": "400", |
| | | "height": "19" |
| | | }, |
| | | { |
| | | "top": "155", |
| | | "left": "10", |
| | | "textAlign": "left", |
| | | "width": "54", |
| | | "fontSize": 9, |
| | | "text": "日期", |
| | | "type": "text", |
| | | "fontWeight": "400", |
| | | "height": "19" |
| | | }, |
| | | // 二维码 |
| | | { |
| | | "imgUrl": "/static/img/order/ewm.png", |
| | | "dataId": "MATNR", |
| | | "top": "12", |
| | | "left": "152", |
| | | "textAlign": "start", |
| | | "width": "66", |
| | | "text": "料号号二维码", |
| | | "type": "qrCode", |
| | | "fontWeight": "400", |
| | | "height": "66" |
| | | }, |
| | | // 料号 |
| | | { |
| | | "dataId": "MATNR", |
| | | "top": "30", |
| | | "left": "55", |
| | | "textAlign": "start", |
| | | "width": "152", |
| | | "fontSize": "8", |
| | | "text": "料号", |
| | | "type": "field", |
| | | "fontWeight": "400", |
| | | "height": "19" |
| | | }, |
| | | // 商品名称 |
| | | { |
| | | "dataId": "MAKTX", |
| | | "top": "105", |
| | | "left": "55", |
| | | "textAlign": "start", |
| | | "width": "152", |
| | | "fontSize": "7", |
| | | "text": "商品", |
| | | "type": "field", |
| | | "fontWeight": "400", |
| | | "height": "19" |
| | | }, |
| | | // 日期 |
| | | { |
| | | "dataId": "MODI_TIME", |
| | | "top": "155", |
| | | "left": "100", |
| | | "textAlign": "start", |
| | | "width": "152", |
| | | "fontSize": "8", |
| | | "text": "商品", |
| | | "type": "field", |
| | | "fontWeight": "400", |
| | | "height": "19" |
| | | }, |
| | | // { |
| | | // "top": "304", |
| | | // "left": "0", |
| | | // "textAlign": "start", |
| | | // "width": "281", |
| | | // "text": "", |
| | | // "type": "cross", |
| | | // "fontWeight": "400", |
| | | // "height": "4" |
| | | // }, |
| | | // { |
| | | // "top": "342", |
| | | // "left": "0", |
| | | // "textAlign": "start", |
| | | // "width": "281", |
| | | // "text": "", |
| | | // "type": "cross", |
| | | // "fontWeight": "400", |
| | | // "height": "4" |
| | | // }, |
| | | // { |
| | | // "top": "380", |
| | | // "left": "0", |
| | | // "textAlign": "start", |
| | | // "width": "281", |
| | | // "text": "", |
| | | // "type": "cross", |
| | | // "fontWeight": "400", |
| | | // "height": "4" |
| | | // }, |
| | | // { |
| | | // "top": "102.6", |
| | | // "left": "22.8", |
| | | // "textAlign": "start", |
| | | // "width": "4", |
| | | // "text": "", |
| | | // "type": "vertical", |
| | | // "fontWeight": "400", |
| | | // "height": "277" |
| | | // }, |
| | | // { |
| | | // "top": "190", |
| | | // "left": "178.6", |
| | | // "textAlign": "start", |
| | | // "width": "3", |
| | | // "text": "", |
| | | // "type": "vertical", |
| | | // "fontWeight": "400", |
| | | // "height": "114" |
| | | // }, |
| | | // { |
| | | // "dataId": "CUSTOMER_CODE", |
| | | // "top": "15.2", |
| | | // "left": "125.4", |
| | | // "textAlign": "start", |
| | | // "width": "152", |
| | | // "fontSize": "7", |
| | | // "text": "寄件客户编号", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "15.2", |
| | | // "left": "95", |
| | | // "textAlign": "left", |
| | | // "width": "34", |
| | | // "fontSize": 9, |
| | | // "text": "客编: ", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "CUSTOMER_NAME", |
| | | // "top": "30.4", |
| | | // "left": "95", |
| | | // "textAlign": "start", |
| | | // "width": "148", |
| | | // "fontSize": 9, |
| | | // "text": "寄件客户名称", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "imgUrl": "/static/img/order/barCode-1.png", |
| | | // "dataId": "BILL_CODE", |
| | | // "top": "53.2", |
| | | // "left": "83.6", |
| | | // "textAlign": "start", |
| | | // "barcodetype": "128Auto", |
| | | // "width": "200", |
| | | // "text": "运单号条码", |
| | | // "type": "barCode", |
| | | // "fontWeight": "400", |
| | | // "height": "34" |
| | | // }, |
| | | // { |
| | | // "dataId": "PRINT_DATE_REAL", |
| | | // "top": "38", |
| | | // "left": "174.8", |
| | | // "textAlign": "start", |
| | | // "width": "99", |
| | | // "fontSize": "2", |
| | | // "text": "2019-5-31 18:35:30", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "15" |
| | | // }, |
| | | // { |
| | | // "top": "83.6", |
| | | // "left": "7.6", |
| | | // "textAlign": "left", |
| | | // "barcodetype": "128Auto", |
| | | // "width": "38", |
| | | // "fontSize": 9, |
| | | // "text": "寄件联", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "133", |
| | | // "left": "7.6", |
| | | // "textAlign": "left", |
| | | // "width": "15", |
| | | // "fontSize": 9, |
| | | // "text": "寄件", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "38" |
| | | // }, |
| | | // { |
| | | // "top": "307.8", |
| | | // "left": "7.6", |
| | | // "textAlign": "left", |
| | | // "width": "15", |
| | | // "fontSize": 9, |
| | | // "text": "收件", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "38" |
| | | // }, |
| | | // { |
| | | // "top": "224.2", |
| | | // "left": "7.6", |
| | | // "textAlign": "left", |
| | | // "width": "15", |
| | | // "fontSize": 9, |
| | | // "text": "运单", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "38" |
| | | // }, |
| | | // { |
| | | // "top": "342", |
| | | // "left": "7.6", |
| | | // "textAlign": "left", |
| | | // "width": "15", |
| | | // "fontSize": 9, |
| | | // "text": "备注", |
| | | // "type": "text", |
| | | // "fontWeight": "700", |
| | | // "height": "38" |
| | | // }, |
| | | // { |
| | | // "dataId": "SEND_MAN", |
| | | // "top": "106.4", |
| | | // "left": "26.6", |
| | | // "textAlign": "start", |
| | | // "width": "76", |
| | | // "fontSize": 9, |
| | | // "text": "寄件人", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "SEND_MAN_PHONE", |
| | | // "top": "106.4", |
| | | // "left": "102.6", |
| | | // "textAlign": "start", |
| | | // "width": "164", |
| | | // "fontSize": 9, |
| | | // "text": "寄件电话", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "SEND_PROVINCE", |
| | | // "top": "144.4", |
| | | // "left": "26.6", |
| | | // "textAlign": "start", |
| | | // "width": "148", |
| | | // "fontSize": 9, |
| | | // "text": "寄件-省/州", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "SEND_CITY", |
| | | // "top": "144.4", |
| | | // "left": "79.8", |
| | | // "textAlign": "start", |
| | | // "width": "80", |
| | | // "fontSize": 9, |
| | | // "text": "寄件-市", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "SEND_COUNTY", |
| | | // "top": "144.4", |
| | | // "left": "144.4", |
| | | // "textAlign": "start", |
| | | // "width": "137", |
| | | // "fontSize": 9, |
| | | // "text": "寄件-区/县", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "SEND_MAN_COMPANY", |
| | | // "top": "163.4", |
| | | // "left": "26.6", |
| | | // "textAlign": "start", |
| | | // "width": "148", |
| | | // "fontSize": 9, |
| | | // "text": "寄件公司", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "ACCEPT_MAN", |
| | | // "top": "197.6", |
| | | // "left": "30.4", |
| | | // "textAlign": "start", |
| | | // "width": "57", |
| | | // "fontSize": "7", |
| | | // "text": "收件人", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "ACCEPT_MAN_PHONE", |
| | | // "top": "197.6", |
| | | // "left": "79.8", |
| | | // "textAlign": "start", |
| | | // "width": "150", |
| | | // "fontSize": "9", |
| | | // "text": "收件电话", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "ACCEPT_MAN_ADDRESS", |
| | | // "top": "228", |
| | | // "left": "30.4", |
| | | // "textAlign": "start", |
| | | // "width": "149", |
| | | // "fontSize": "9", |
| | | // "text": "收件地址", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "PIECE_NUMBER", |
| | | // "top": "197.6", |
| | | // "left": "235.6", |
| | | // "textAlign": "start", |
| | | // "width": "26", |
| | | // "fontSize": "9", |
| | | // "text": "件数", |
| | | // "type": "field", |
| | | // "fontWeight": "700", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "197.6", |
| | | // "left": "182.4", |
| | | // "textAlign": "left", |
| | | // "width": "54", |
| | | // "fontSize": 9, |
| | | // "text": "一票多件", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "PAYMENT_TYPE", |
| | | // "top": "220.4", |
| | | // "left": "216.6", |
| | | // "textAlign": "start", |
| | | // "width": "34", |
| | | // "fontSize": 9, |
| | | // "text": "付款方式", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "220.4", |
| | | // "left": "182.4", |
| | | // "textAlign": "left", |
| | | // "width": "35", |
| | | // "fontSize": 9, |
| | | // "text": "到付:", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "RETURN_BILL_TYPE", |
| | | // "top": "243.2", |
| | | // "left": "216.6", |
| | | // "textAlign": "start", |
| | | // "width": "30", |
| | | // "fontSize": "4", |
| | | // "text": "回单类型", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "243.2", |
| | | // "left": "182.4", |
| | | // "textAlign": "left", |
| | | // "width": "35", |
| | | // "fontSize": "4", |
| | | // "text": "回单:", |
| | | // "type": "text", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "311.6", |
| | | // "left": "26.6", |
| | | // "textAlign": "left", |
| | | // "width": "57", |
| | | // "fontSize": 9, |
| | | // "text": "月结重量:", |
| | | // "type": "text", |
| | | // "fontWeight": "700", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "311.6", |
| | | // "left": "106.4", |
| | | // "textAlign": "left", |
| | | // "width": "38", |
| | | // "fontSize": 9, |
| | | // "text": "运费:", |
| | | // "type": "text", |
| | | // "fontWeight": "700", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "top": "326.8", |
| | | // "left": "26.6", |
| | | // "textAlign": "left", |
| | | // "width": "38", |
| | | // "fontSize": 9, |
| | | // "text": "品名:", |
| | | // "type": "text", |
| | | // "fontWeight": "700", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "SETTLEMENT_WEIGHT", |
| | | // "top": "311.6", |
| | | // "left": "79.8", |
| | | // "textAlign": "start", |
| | | // "width": "46", |
| | | // "fontSize": 9, |
| | | // "text": "货物总重量", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // // { |
| | | // // "dataId": "TRANSFER_CODE", |
| | | // // "top": "76", |
| | | // // "left": "95", |
| | | // // "textAlign": "start", |
| | | // // "width": "200", |
| | | // // "fontSize": 9, |
| | | // // "text": "JDVX9999999999999", |
| | | // // "type": "field", |
| | | // // "fontWeight": "400", |
| | | // // "height": "19" |
| | | // // }, |
| | | // { |
| | | // "dataId": "REMARK", |
| | | // "top": "345.8", |
| | | // "left": "26.6", |
| | | // "textAlign": "center", |
| | | // "width": "247", |
| | | // "fontSize": 9, |
| | | // "text": "这是备注这是备注这是备注这是备注这是备注注这是备注这是备注注", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "30" |
| | | // }, |
| | | // { |
| | | // "dataId": "PACK_TYPE", |
| | | // "top": "326.8", |
| | | // "left": "64.6", |
| | | // "textAlign": "start", |
| | | // "width": "148", |
| | | // "fontSize": 9, |
| | | // "text": "包装类型", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "dataId": "FREIGHT", |
| | | // "top": "311.6", |
| | | // "left": "140.6", |
| | | // "textAlign": "start", |
| | | // "width": "72", |
| | | // "fontSize": 9, |
| | | // "text": "111111¥", |
| | | // "type": "field", |
| | | // "fontWeight": "400", |
| | | // "height": "19" |
| | | // }, |
| | | // { |
| | | // "imgUrl": "/unauth/download/group1/M00/00/32/CgAAA18VQ76AbbAxAAAUC5IVDw0960.png", |
| | | // "dataId": "undefined", |
| | | // "top": "0", |
| | | // "left": "0", |
| | | // "textAlign": "left", |
| | | // "width": "10", |
| | | // "text": "静态图片", |
| | | // "type": "img", |
| | | // "fontWeight": "100", |
| | | // "height": "10" |
| | | // }, |
| | | // { |
| | | // "imgUrl": "/static/img/order/img.jpg", |
| | | // "dataId": "QR_CODE_IMAGE", |
| | | // "top": "262.2", |
| | | // "left": "186.2", |
| | | // "textAlign": "left", |
| | | // "width": "38", |
| | | // "text": "快递小哥二维码", |
| | | // "type": "img", |
| | | // "fontWeight": "400", |
| | | // "height": "38" |
| | | // }, |
| | | // { |
| | | // "imgUrl": "/static/img/order/ewm.png", |
| | | // "dataId": "BILL_CODE", |
| | | // "top": "262.2", |
| | | // "left": "228", |
| | | // "textAlign": "start", |
| | | // "width": "38", |
| | | // "text": "运单号二维码", |
| | | // "type": "qrCode", |
| | | // "fontWeight": "400", |
| | | // "height": "38" |
| | | // } |
| | | ] |
| | | } |
| | | } |
| | | |
| | | export default allMock; |
| | | /*
|
| | | * mock 存放全局静态数据
|
| | | */
|
| | | import Vue from 'vue';
|
| | | const allMock = {
|
| | | test: ['静态数据'],
|
| | | //面单数据
|
| | | order_data: {
|
| | | MATNR: "1200128-10055",
|
| | | MAKTX: "X5S-4-M03/333",
|
| | | MODI_TIME: "2023-04-24 15:25:32",
|
| | | CUSTOMER_CODE: "00001",
|
| | | CUSTOMER_NAME: "宋小姐",
|
| | | BILL_CODE: "JYM100005228492",
|
| | | PRINT_DATE_REAL:"2020-09-08 17:31:21",
|
| | | SEND_MAN: "城南旧事",
|
| | | SEND_MAN_PHONE: "176xxxx7418",
|
| | | SEND_PROVINCE: "广东省",
|
| | | SEND_CITY: "xx市",
|
| | | SEND_COUNTY: "xx区",
|
| | | SEND_MAN_COMPANY: "城南往事",
|
| | | ACCEPT_MAN: "董小姐",
|
| | | ACCEPT_MAN_PHONE: "176xxxx7418",
|
| | | ACCEPT_MAN_ADDRESS: "广东省xxxxxxxxxxxxxxxxxxxxxxxx",
|
| | | PIECE_NUMBER: "11",
|
| | | PAYMENT_TYPE: "到付",
|
| | | RETURN_BILL_TYPE: "邮寄",
|
| | | SETTLEMENT_WEIGHT: "11kg",
|
| | | // TRANSFER_CODE: "JDVX9999999999999",
|
| | | REMARK: "次物品小心配送,易碎品,备注这是备注这是备注这是备注这是备注注这是备注这是备注注",
|
| | | PACK_TYPE: "货物类",
|
| | | FREIGHT: "120",
|
| | | //https://bkimg.cdn.bcebos.com/pic/2934349b033b5bb571dc8c5133d3d539b600bc12?x-bce-process=image/resize,m_lfit,w_268,limit_1/format,f_jpg
|
| | | QR_CODE_IMAGE:"",
|
| | | },
|
| | | printTemplate: {
|
| | | "pagConfig": {
|
| | | "pageLeft": "0",
|
| | | "pageTop": "0",
|
| | | "pageHeight": "48",
|
| | | "pageWidth": "74"
|
| | | },
|
| | | "printItem": [
|
| | | // 上边框
|
| | | {
|
| | | "top": "2",
|
| | | "left": "0",
|
| | | "textAlign": "start",
|
| | | "width": "270",
|
| | | "text": "",
|
| | | "type": "cross",
|
| | | "fontWeight": "400",
|
| | | "height": "3"
|
| | | },
|
| | | // 下边框
|
| | | {
|
| | | "top": "180",
|
| | | "left": "0",
|
| | | "textAlign": "start",
|
| | | "width": "270",
|
| | | "text": "",
|
| | | "type": "cross",
|
| | | "fontWeight": "400",
|
| | | "height": "3"
|
| | | },
|
| | | // 左边框
|
| | | {
|
| | | "top": "2",
|
| | | "left": "0",
|
| | | "textAlign": "start",
|
| | | "width": "3",
|
| | | "text": "",
|
| | | "type": "vertical",
|
| | | "fontWeight": "400",
|
| | | "height": "176"
|
| | | },
|
| | | // 右边框
|
| | | {
|
| | | "top": "2",
|
| | | "left": "270",
|
| | | "textAlign": "start",
|
| | | "width": "3",
|
| | | "text": "",
|
| | | "type": "vertical",
|
| | | "fontWeight": "400",
|
| | | "height": "176"
|
| | | },
|
| | | // 横线1
|
| | | {
|
| | | "top": "70",
|
| | | "left": "0",
|
| | | "textAlign": "start",
|
| | | "width": "140",
|
| | | "text": "",
|
| | | "type": "cross",
|
| | | "fontWeight": "400",
|
| | | "height": "4"
|
| | | },
|
| | | // 横线2
|
| | | {
|
| | | "top": "144",
|
| | | "left": "0",
|
| | | "textAlign": "start",
|
| | | "width": "270",
|
| | | "text": "",
|
| | | "type": "cross",
|
| | | "fontWeight": "400",
|
| | | "height": "4"
|
| | | },
|
| | | // 竖线1
|
| | | {
|
| | | "top": "2",
|
| | | "left": "40",
|
| | | "textAlign": "start",
|
| | | "width": "3",
|
| | | "text": "",
|
| | | "type": "vertical",
|
| | | "fontWeight": "400",
|
| | | "height": "176"
|
| | | },
|
| | | // 竖线2
|
| | | {
|
| | | "top": "2",
|
| | | "left": "140",
|
| | | "textAlign": "start",
|
| | | "width": "3",
|
| | | "text": "",
|
| | | "type": "vertical",
|
| | | "fontWeight": "400",
|
| | | "height": "140"
|
| | | },
|
| | | {
|
| | | "top": "30",
|
| | | "left": "10",
|
| | | "textAlign": "left",
|
| | | "width": "54",
|
| | | "fontSize": 9,
|
| | | "text": "料号",
|
| | | "type": "text",
|
| | | "fontWeight": "400",
|
| | | "height": "19"
|
| | | },
|
| | | {
|
| | | "top": "105",
|
| | | "left": "10",
|
| | | "textAlign": "left",
|
| | | "width": "54",
|
| | | "fontSize": 9,
|
| | | "text": "商品",
|
| | | "type": "text",
|
| | | "fontWeight": "400",
|
| | | "height": "19"
|
| | | },
|
| | | {
|
| | | "top": "155",
|
| | | "left": "10",
|
| | | "textAlign": "left",
|
| | | "width": "54",
|
| | | "fontSize": 9,
|
| | | "text": "日期",
|
| | | "type": "text",
|
| | | "fontWeight": "400",
|
| | | "height": "19"
|
| | | },
|
| | | // 二维码
|
| | | {
|
| | | "imgUrl": "/static/img/order/ewm.png",
|
| | | "dataId": "MATNR",
|
| | | "top": "12",
|
| | | "left": "152",
|
| | | "textAlign": "start",
|
| | | "width": "66",
|
| | | "text": "料号号二维码",
|
| | | "type": "qrCode",
|
| | | "fontWeight": "400",
|
| | | "height": "66"
|
| | | },
|
| | | // 料号
|
| | | {
|
| | | "dataId": "MATNR",
|
| | | "top": "30",
|
| | | "left": "55",
|
| | | "textAlign": "start",
|
| | | "width": "152",
|
| | | "fontSize": "8",
|
| | | "text": "料号",
|
| | | "type": "field",
|
| | | "fontWeight": "400",
|
| | | "height": "19"
|
| | | },
|
| | | // 商品名称
|
| | | {
|
| | | "dataId": "MAKTX",
|
| | | "top": "105",
|
| | | "left": "55",
|
| | | "textAlign": "start",
|
| | | "width": "152",
|
| | | "fontSize": "7",
|
| | | "text": "商品",
|
| | | "type": "field",
|
| | | "fontWeight": "400",
|
| | | "height": "19"
|
| | | },
|
| | | // 日期
|
| | | {
|
| | | "dataId": "MODI_TIME",
|
| | | "top": "155",
|
| | | "left": "100",
|
| | | "textAlign": "start",
|
| | | "width": "152",
|
| | | "fontSize": "8",
|
| | | "text": "商品",
|
| | | "type": "field",
|
| | | "fontWeight": "400",
|
| | | "height": "19"
|
| | | },
|
| | | // {
|
| | | // "top": "304",
|
| | | // "left": "0",
|
| | | // "textAlign": "start",
|
| | | // "width": "281",
|
| | | // "text": "",
|
| | | // "type": "cross",
|
| | | // "fontWeight": "400",
|
| | | // "height": "4"
|
| | | // },
|
| | | // {
|
| | | // "top": "342",
|
| | | // "left": "0",
|
| | | // "textAlign": "start",
|
| | | // "width": "281",
|
| | | // "text": "",
|
| | | // "type": "cross",
|
| | | // "fontWeight": "400",
|
| | | // "height": "4"
|
| | | // },
|
| | | // {
|
| | | // "top": "380",
|
| | | // "left": "0",
|
| | | // "textAlign": "start",
|
| | | // "width": "281",
|
| | | // "text": "",
|
| | | // "type": "cross",
|
| | | // "fontWeight": "400",
|
| | | // "height": "4"
|
| | | // },
|
| | | // {
|
| | | // "top": "102.6",
|
| | | // "left": "22.8",
|
| | | // "textAlign": "start",
|
| | | // "width": "4",
|
| | | // "text": "",
|
| | | // "type": "vertical",
|
| | | // "fontWeight": "400",
|
| | | // "height": "277"
|
| | | // },
|
| | | // {
|
| | | // "top": "190",
|
| | | // "left": "178.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "3",
|
| | | // "text": "",
|
| | | // "type": "vertical",
|
| | | // "fontWeight": "400",
|
| | | // "height": "114"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "CUSTOMER_CODE",
|
| | | // "top": "15.2",
|
| | | // "left": "125.4",
|
| | | // "textAlign": "start",
|
| | | // "width": "152",
|
| | | // "fontSize": "7",
|
| | | // "text": "寄件客户编号",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "15.2",
|
| | | // "left": "95",
|
| | | // "textAlign": "left",
|
| | | // "width": "34",
|
| | | // "fontSize": 9,
|
| | | // "text": "客编: ",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "CUSTOMER_NAME",
|
| | | // "top": "30.4",
|
| | | // "left": "95",
|
| | | // "textAlign": "start",
|
| | | // "width": "148",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件客户名称",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "imgUrl": "/static/img/order/barCode-1.png",
|
| | | // "dataId": "BILL_CODE",
|
| | | // "top": "53.2",
|
| | | // "left": "83.6",
|
| | | // "textAlign": "start",
|
| | | // "barcodetype": "128Auto",
|
| | | // "width": "200",
|
| | | // "text": "运单号条码",
|
| | | // "type": "barCode",
|
| | | // "fontWeight": "400",
|
| | | // "height": "34"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "PRINT_DATE_REAL",
|
| | | // "top": "38",
|
| | | // "left": "174.8",
|
| | | // "textAlign": "start",
|
| | | // "width": "99",
|
| | | // "fontSize": "2",
|
| | | // "text": "2019-5-31 18:35:30",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "15"
|
| | | // },
|
| | | // {
|
| | | // "top": "83.6",
|
| | | // "left": "7.6",
|
| | | // "textAlign": "left",
|
| | | // "barcodetype": "128Auto",
|
| | | // "width": "38",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件联",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "133",
|
| | | // "left": "7.6",
|
| | | // "textAlign": "left",
|
| | | // "width": "15",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "38"
|
| | | // },
|
| | | // {
|
| | | // "top": "307.8",
|
| | | // "left": "7.6",
|
| | | // "textAlign": "left",
|
| | | // "width": "15",
|
| | | // "fontSize": 9,
|
| | | // "text": "收件",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "38"
|
| | | // },
|
| | | // {
|
| | | // "top": "224.2",
|
| | | // "left": "7.6",
|
| | | // "textAlign": "left",
|
| | | // "width": "15",
|
| | | // "fontSize": 9,
|
| | | // "text": "运单",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "38"
|
| | | // },
|
| | | // {
|
| | | // "top": "342",
|
| | | // "left": "7.6",
|
| | | // "textAlign": "left",
|
| | | // "width": "15",
|
| | | // "fontSize": 9,
|
| | | // "text": "备注",
|
| | | // "type": "text",
|
| | | // "fontWeight": "700",
|
| | | // "height": "38"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "SEND_MAN",
|
| | | // "top": "106.4",
|
| | | // "left": "26.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "76",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件人",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "SEND_MAN_PHONE",
|
| | | // "top": "106.4",
|
| | | // "left": "102.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "164",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件电话",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "SEND_PROVINCE",
|
| | | // "top": "144.4",
|
| | | // "left": "26.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "148",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件-省/州",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "SEND_CITY",
|
| | | // "top": "144.4",
|
| | | // "left": "79.8",
|
| | | // "textAlign": "start",
|
| | | // "width": "80",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件-市",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "SEND_COUNTY",
|
| | | // "top": "144.4",
|
| | | // "left": "144.4",
|
| | | // "textAlign": "start",
|
| | | // "width": "137",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件-区/县",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "SEND_MAN_COMPANY",
|
| | | // "top": "163.4",
|
| | | // "left": "26.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "148",
|
| | | // "fontSize": 9,
|
| | | // "text": "寄件公司",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "ACCEPT_MAN",
|
| | | // "top": "197.6",
|
| | | // "left": "30.4",
|
| | | // "textAlign": "start",
|
| | | // "width": "57",
|
| | | // "fontSize": "7",
|
| | | // "text": "收件人",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "ACCEPT_MAN_PHONE",
|
| | | // "top": "197.6",
|
| | | // "left": "79.8",
|
| | | // "textAlign": "start",
|
| | | // "width": "150",
|
| | | // "fontSize": "9",
|
| | | // "text": "收件电话",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "ACCEPT_MAN_ADDRESS",
|
| | | // "top": "228",
|
| | | // "left": "30.4",
|
| | | // "textAlign": "start",
|
| | | // "width": "149",
|
| | | // "fontSize": "9",
|
| | | // "text": "收件地址",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "PIECE_NUMBER",
|
| | | // "top": "197.6",
|
| | | // "left": "235.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "26",
|
| | | // "fontSize": "9",
|
| | | // "text": "件数",
|
| | | // "type": "field",
|
| | | // "fontWeight": "700",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "197.6",
|
| | | // "left": "182.4",
|
| | | // "textAlign": "left",
|
| | | // "width": "54",
|
| | | // "fontSize": 9,
|
| | | // "text": "一票多件",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "PAYMENT_TYPE",
|
| | | // "top": "220.4",
|
| | | // "left": "216.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "34",
|
| | | // "fontSize": 9,
|
| | | // "text": "付款方式",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "220.4",
|
| | | // "left": "182.4",
|
| | | // "textAlign": "left",
|
| | | // "width": "35",
|
| | | // "fontSize": 9,
|
| | | // "text": "到付:",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "RETURN_BILL_TYPE",
|
| | | // "top": "243.2",
|
| | | // "left": "216.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "30",
|
| | | // "fontSize": "4",
|
| | | // "text": "回单类型",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "243.2",
|
| | | // "left": "182.4",
|
| | | // "textAlign": "left",
|
| | | // "width": "35",
|
| | | // "fontSize": "4",
|
| | | // "text": "回单:",
|
| | | // "type": "text",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "311.6",
|
| | | // "left": "26.6",
|
| | | // "textAlign": "left",
|
| | | // "width": "57",
|
| | | // "fontSize": 9,
|
| | | // "text": "月结重量:",
|
| | | // "type": "text",
|
| | | // "fontWeight": "700",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "311.6",
|
| | | // "left": "106.4",
|
| | | // "textAlign": "left",
|
| | | // "width": "38",
|
| | | // "fontSize": 9,
|
| | | // "text": "运费:",
|
| | | // "type": "text",
|
| | | // "fontWeight": "700",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "top": "326.8",
|
| | | // "left": "26.6",
|
| | | // "textAlign": "left",
|
| | | // "width": "38",
|
| | | // "fontSize": 9,
|
| | | // "text": "品名:",
|
| | | // "type": "text",
|
| | | // "fontWeight": "700",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "SETTLEMENT_WEIGHT",
|
| | | // "top": "311.6",
|
| | | // "left": "79.8",
|
| | | // "textAlign": "start",
|
| | | // "width": "46",
|
| | | // "fontSize": 9,
|
| | | // "text": "货物总重量",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // // {
|
| | | // // "dataId": "TRANSFER_CODE",
|
| | | // // "top": "76",
|
| | | // // "left": "95",
|
| | | // // "textAlign": "start",
|
| | | // // "width": "200",
|
| | | // // "fontSize": 9,
|
| | | // // "text": "JDVX9999999999999",
|
| | | // // "type": "field",
|
| | | // // "fontWeight": "400",
|
| | | // // "height": "19"
|
| | | // // },
|
| | | // {
|
| | | // "dataId": "REMARK",
|
| | | // "top": "345.8",
|
| | | // "left": "26.6",
|
| | | // "textAlign": "center",
|
| | | // "width": "247",
|
| | | // "fontSize": 9,
|
| | | // "text": "这是备注这是备注这是备注这是备注这是备注注这是备注这是备注注",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "30"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "PACK_TYPE",
|
| | | // "top": "326.8",
|
| | | // "left": "64.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "148",
|
| | | // "fontSize": 9,
|
| | | // "text": "包装类型",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "dataId": "FREIGHT",
|
| | | // "top": "311.6",
|
| | | // "left": "140.6",
|
| | | // "textAlign": "start",
|
| | | // "width": "72",
|
| | | // "fontSize": 9,
|
| | | // "text": "111111¥",
|
| | | // "type": "field",
|
| | | // "fontWeight": "400",
|
| | | // "height": "19"
|
| | | // },
|
| | | // {
|
| | | // "imgUrl": "/unauth/download/group1/M00/00/32/CgAAA18VQ76AbbAxAAAUC5IVDw0960.png",
|
| | | // "dataId": "undefined",
|
| | | // "top": "0",
|
| | | // "left": "0",
|
| | | // "textAlign": "left",
|
| | | // "width": "10",
|
| | | // "text": "静态图片",
|
| | | // "type": "img",
|
| | | // "fontWeight": "100",
|
| | | // "height": "10"
|
| | | // },
|
| | | // {
|
| | | // "imgUrl": "/static/img/order/img.jpg",
|
| | | // "dataId": "QR_CODE_IMAGE",
|
| | | // "top": "262.2",
|
| | | // "left": "186.2",
|
| | | // "textAlign": "left",
|
| | | // "width": "38",
|
| | | // "text": "快递小哥二维码",
|
| | | // "type": "img",
|
| | | // "fontWeight": "400",
|
| | | // "height": "38"
|
| | | // },
|
| | | // {
|
| | | // "imgUrl": "/static/img/order/ewm.png",
|
| | | // "dataId": "BILL_CODE",
|
| | | // "top": "262.2",
|
| | | // "left": "228",
|
| | | // "textAlign": "start",
|
| | | // "width": "38",
|
| | | // "text": "运单号二维码",
|
| | | // "type": "qrCode",
|
| | | // "fontWeight": "400",
|
| | | // "height": "38"
|
| | | // }
|
| | | ]
|
| | | }
|
| | | }
|
| | |
|
| | | export default allMock;
|