delivery-slip-a4-hiprint.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. {
  2. "panels": [
  3. {
  4. "index": 0,
  5. "name": 1,
  6. "height": 297,
  7. "width": 210,
  8. "paperHeader": 0,
  9. "paperFooter": 780,
  10. "printElements": [
  11. {
  12. "options": {
  13. "left": 56,
  14. "top": 20,
  15. "height": 42,
  16. "width": 400,
  17. "title": "标题",
  18. "field": "title",
  19. "testData": "花掌柜 鲜花配送单",
  20. "fontSize": 29,
  21. "fontWeight": "bold",
  22. "textAlign": "center",
  23. "textContentVerticalAlign": "middle",
  24. "hideTitle": true,
  25. "fontFamily": "SimSun"
  26. },
  27. "printElementType": { "title": "文本", "type": "text" }
  28. },
  29. {
  30. "options": {
  31. "left": 420,
  32. "top": 28,
  33. "height": 32,
  34. "width": 140,
  35. "title": "批次号",
  36. "field": "batchNo",
  37. "testData": "#O24 [#3]",
  38. "fontSize": 19,
  39. "textAlign": "right",
  40. "textContentVerticalAlign": "middle",
  41. "hideTitle": true,
  42. "fontFamily": "SimSun"
  43. },
  44. "printElementType": { "title": "文本", "type": "text" }
  45. },
  46. {
  47. "options": {
  48. "left": 30,
  49. "top": 70,
  50. "height": 490,
  51. "width": 520,
  52. "borderWidth": 1
  53. },
  54. "printElementType": { "title": "矩形", "type": "rect" }
  55. },
  56. {
  57. "options": { "left": 30, "top": 134, "height": 1, "width": 520, "borderWidth": 1 },
  58. "printElementType": { "title": "横线", "type": "hline" }
  59. },
  60. {
  61. "options": { "left": 30, "top": 230, "height": 1, "width": 520, "borderWidth": 1 },
  62. "printElementType": { "title": "横线", "type": "hline" }
  63. },
  64. {
  65. "options": { "left": 30, "top": 294, "height": 1, "width": 520, "borderWidth": 1 },
  66. "printElementType": { "title": "横线", "type": "hline" }
  67. },
  68. {
  69. "options": { "left": 30, "top": 467, "height": 1, "width": 520, "borderWidth": 1 },
  70. "printElementType": { "title": "横线", "type": "hline" }
  71. },
  72. {
  73. "options": { "left": 130, "top": 70, "height": 64, "width": 1, "borderWidth": 1 },
  74. "printElementType": { "title": "竖线", "type": "vline" }
  75. },
  76. {
  77. "options": { "left": 290, "top": 70, "height": 64, "width": 1, "borderWidth": 1 },
  78. "printElementType": { "title": "竖线", "type": "vline" }
  79. },
  80. {
  81. "options": { "left": 390, "top": 70, "height": 64, "width": 1, "borderWidth": 1 },
  82. "printElementType": { "title": "竖线", "type": "vline" }
  83. },
  84. {
  85. "options": { "left": 130, "top": 134, "height": 96, "width": 1, "borderWidth": 1 },
  86. "printElementType": { "title": "竖线", "type": "vline" }
  87. },
  88. {
  89. "options": { "left": 130, "top": 230, "height": 64, "width": 1, "borderWidth": 1 },
  90. "printElementType": { "title": "竖线", "type": "vline" }
  91. },
  92. {
  93. "options": { "left": 130, "top": 294, "height": 173, "width": 1, "borderWidth": 1 },
  94. "printElementType": { "title": "竖线", "type": "vline" }
  95. },
  96. {
  97. "options": { "left": 130, "top": 467, "height": 93, "width": 1, "borderWidth": 1 },
  98. "printElementType": { "title": "竖线", "type": "vline" }
  99. },
  100. {
  101. "options": {
  102. "left": 30,
  103. "top": 70,
  104. "height": 64,
  105. "width": 100,
  106. "title": "顾客姓名",
  107. "testData": "顾客姓名",
  108. "fontSize": 20,
  109. "fontWeight": "bold",
  110. "textAlign": "center",
  111. "textContentVerticalAlign": "middle",
  112. "hideTitle": true,
  113. "fontFamily": "SimSun"
  114. },
  115. "printElementType": { "title": "文本", "type": "text" }
  116. },
  117. {
  118. "options": {
  119. "left": 130,
  120. "top": 70,
  121. "height": 64,
  122. "width": 160,
  123. "title": "姓名",
  124. "field": "receiveUserName",
  125. "testData": "张女士",
  126. "fontSize": 21,
  127. "textAlign": "left",
  128. "textContentVerticalAlign": "middle",
  129. "hideTitle": true,
  130. "fontFamily": "SimSun"
  131. },
  132. "printElementType": { "title": "文本", "type": "text" }
  133. },
  134. {
  135. "options": {
  136. "left": 290,
  137. "top": 70,
  138. "height": 64,
  139. "width": 100,
  140. "title": "顾客电话",
  141. "testData": "顾客电话",
  142. "fontSize": 20,
  143. "fontWeight": "bold",
  144. "textAlign": "center",
  145. "textContentVerticalAlign": "middle",
  146. "hideTitle": true,
  147. "fontFamily": "SimSun"
  148. },
  149. "printElementType": { "title": "文本", "type": "text" }
  150. },
  151. {
  152. "options": {
  153. "left": 390,
  154. "top": 70,
  155. "height": 64,
  156. "width": 160,
  157. "title": "电话",
  158. "field": "receiveMobile",
  159. "testData": "13800138000",
  160. "fontSize": 21,
  161. "fontWeight": "bold",
  162. "textAlign": "left",
  163. "textContentVerticalAlign": "middle",
  164. "hideTitle": true,
  165. "fontFamily": "SimSun"
  166. },
  167. "printElementType": { "title": "文本", "type": "text" }
  168. },
  169. {
  170. "options": {
  171. "left": 30,
  172. "top": 134,
  173. "height": 96,
  174. "width": 100,
  175. "title": "顾客地址",
  176. "testData": "顾客地址",
  177. "fontSize": 20,
  178. "fontWeight": "bold",
  179. "textAlign": "center",
  180. "textContentVerticalAlign": "middle",
  181. "hideTitle": true,
  182. "fontFamily": "SimSun"
  183. },
  184. "printElementType": { "title": "文本", "type": "text" }
  185. },
  186. {
  187. "options": {
  188. "left": 135,
  189. "top": 134,
  190. "height": 96,
  191. "width": 410,
  192. "title": "地址",
  193. "field": "addressBlock",
  194. "testData": "福建省厦门市集美区前山路147号",
  195. "fontSize": 20,
  196. "fontWeight": "bold",
  197. "lineHeight": 29,
  198. "textAlign": "left",
  199. "textContentVerticalAlign": "middle",
  200. "hideTitle": true,
  201. "fontFamily": "SimSun"
  202. },
  203. "printElementType": { "title": "文本", "type": "text" }
  204. },
  205. {
  206. "options": {
  207. "left": 30,
  208. "top": 230,
  209. "height": 64,
  210. "width": 100,
  211. "title": "配送时间",
  212. "testData": "配送时间",
  213. "fontSize": 20,
  214. "fontWeight": "bold",
  215. "textAlign": "center",
  216. "textContentVerticalAlign": "middle",
  217. "hideTitle": true,
  218. "fontFamily": "SimSun"
  219. },
  220. "printElementType": { "title": "文本", "type": "text" }
  221. },
  222. {
  223. "options": {
  224. "left": 135,
  225. "top": 230,
  226. "height": 64,
  227. "width": 410,
  228. "title": "时间",
  229. "field": "reachTimeText",
  230. "testData": "预约配送 03月15日 下午",
  231. "fontSize": 21,
  232. "fontWeight": "bold",
  233. "textAlign": "left",
  234. "textContentVerticalAlign": "middle",
  235. "hideTitle": true,
  236. "fontFamily": "SimSun"
  237. },
  238. "printElementType": { "title": "文本", "type": "text" }
  239. },
  240. {
  241. "options": {
  242. "left": 30,
  243. "top": 340,
  244. "height": 36,
  245. "width": 100,
  246. "title": "商品描述",
  247. "testData": "商品描述",
  248. "fontSize": 19,
  249. "fontWeight": "bold",
  250. "textAlign": "center",
  251. "textContentVerticalAlign": "middle",
  252. "hideTitle": true,
  253. "fontFamily": "SimSun"
  254. },
  255. "printElementType": { "title": "文本", "type": "text" }
  256. },
  257. {
  258. "options": {
  259. "left": 30,
  260. "top": 380,
  261. "height": 36,
  262. "width": 100,
  263. "title": "参考照片",
  264. "testData": "参考照片",
  265. "fontSize": 19,
  266. "fontWeight": "bold",
  267. "textAlign": "center",
  268. "textContentVerticalAlign": "middle",
  269. "hideTitle": true,
  270. "fontFamily": "SimSun"
  271. },
  272. "printElementType": { "title": "文本", "type": "text" }
  273. },
  274. {
  275. "options": {
  276. "left": 145,
  277. "top": 308,
  278. "height": 147,
  279. "width": 133,
  280. "field": "productImage",
  281. "src": "",
  282. "fit": "cover"
  283. },
  284. "printElementType": { "title": "图片", "type": "image" }
  285. },
  286. {
  287. "options": {
  288. "left": 290,
  289. "top": 330,
  290. "height": 40,
  291. "width": 240,
  292. "title": "商品名",
  293. "field": "productName",
  294. "testData": "韩式抱抱桶",
  295. "fontSize": 21,
  296. "fontWeight": "bold",
  297. "textAlign": "left",
  298. "textContentVerticalAlign": "top",
  299. "hideTitle": true,
  300. "fontFamily": "SimSun"
  301. },
  302. "printElementType": { "title": "文本", "type": "text" }
  303. },
  304. {
  305. "options": {
  306. "left": 290,
  307. "top": 390,
  308. "height": 48,
  309. "width": 240,
  310. "title": "数量",
  311. "field": "productCountText",
  312. "testData": "共 1 个",
  313. "fontSize": 27,
  314. "fontWeight": "bold",
  315. "textAlign": "left",
  316. "textContentVerticalAlign": "top",
  317. "hideTitle": true,
  318. "fontFamily": "SimSun"
  319. },
  320. "printElementType": { "title": "文本", "type": "text" }
  321. },
  322. {
  323. "options": {
  324. "left": 30,
  325. "top": 467,
  326. "height": 93,
  327. "width": 100,
  328. "title": "贺卡内容",
  329. "testData": "贺卡内容",
  330. "fontSize": 20,
  331. "fontWeight": "bold",
  332. "textAlign": "center",
  333. "textContentVerticalAlign": "middle",
  334. "hideTitle": true,
  335. "fontFamily": "SimSun"
  336. },
  337. "printElementType": { "title": "文本", "type": "text" }
  338. },
  339. {
  340. "options": {
  341. "left": 135,
  342. "top": 467,
  343. "height": 93,
  344. "width": 410,
  345. "title": "贺卡",
  346. "field": "cardInfo",
  347. "testData": "生日快乐,愿你被鲜花和温柔包围。",
  348. "fontSize": 20,
  349. "lineHeight": 29,
  350. "textAlign": "left",
  351. "textContentVerticalAlign": "middle",
  352. "hideTitle": true,
  353. "fontFamily": "SimSun"
  354. },
  355. "printElementType": { "title": "文本", "type": "text" }
  356. },
  357. {
  358. "options": {
  359. "left": 30,
  360. "top": 580,
  361. "height": 36,
  362. "width": 520,
  363. "title": "客服提示",
  364. "field": "serviceTip",
  365. "testData": "如在制作,配送环节出现问题或疑问,欢迎随时致电: 400-000-0000",
  366. "fontSize": 16,
  367. "fontWeight": "bold",
  368. "textAlign": "center",
  369. "hideTitle": true,
  370. "fontFamily": "SimSun"
  371. },
  372. "printElementType": { "title": "文本", "type": "text" }
  373. },
  374. {
  375. "options": {
  376. "left": 222,
  377. "top": 640,
  378. "height": 133,
  379. "width": 133,
  380. "borderWidth": 3
  381. },
  382. "printElementType": { "title": "椭圆", "type": "oval" }
  383. },
  384. {
  385. "options": {
  386. "left": 222,
  387. "top": 640,
  388. "height": 133,
  389. "width": 133,
  390. "title": "货号",
  391. "field": "sendNum",
  392. "testData": "3",
  393. "fontSize": 48,
  394. "fontWeight": "bold",
  395. "textAlign": "center",
  396. "textContentVerticalAlign": "middle",
  397. "hideTitle": true,
  398. "fontFamily": "SimSun"
  399. },
  400. "printElementType": { "title": "文本", "type": "text" }
  401. }
  402. ],
  403. "paperNumberLeft": 565,
  404. "paperNumberTop": 819,
  405. "paperNumberDisabled": true,
  406. "paperNumberContinue": true,
  407. "fontFamily": "SimSun",
  408. "watermarkOptions": {
  409. "content": "",
  410. "rotate": 25,
  411. "timestamp": false,
  412. "format": "YYYY-MM-DD HH:mm",
  413. "fillStyle": "rgba(184, 184, 184, 0.3)",
  414. "fontSize": "14px",
  415. "width": 200,
  416. "height": 200
  417. },
  418. "panelLayoutOptions": {
  419. "layoutType": "column",
  420. "layoutRowGap": 0,
  421. "layoutColumnGap": 0
  422. }
  423. }
  424. ]
  425. }