print.vue 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720
  1. <template>
  2. <!--工单打印【弹窗】-->
  3. <el-dialog v-model="visibie" title="生产工单打印" style="width: 40%">
  4. <el-row>
  5. <el-form-item label="工单编号:" prop="currentProcess" class="mab">
  6. <el-input v-model="form['gdbh']" @keydown="cp_print_ProductValue" style="width: 200px" />
  7. </el-form-item>
  8. </el-row>
  9. <el-row>
  10. <el-form-item label="印件号:" prop="yjno" class="mab" label-width="70">
  11. <el-select v-model="form['yjno']" placeholder="请选择印件号" style="width: 120px;" @change="getmc">
  12. <el-option
  13. v-for="item in yjlist"
  14. :label="item.印件号"
  15. :value="item.印件号"
  16. />
  17. </el-select>
  18. </el-form-item>
  19. <el-form-item label="终止工序号:" prop="currentProcess" class="mab" label-width="100">
  20. <el-select v-model="form['gxh']" placeholder="请选择工序号" style="width: 120px;">
  21. <el-option
  22. v-for="item in gxlist"
  23. :label="item.工序号"
  24. :value="item.工序号"
  25. />
  26. </el-select>
  27. </el-form-item>
  28. </el-row>
  29. <el-row>
  30. <el-form-item label="印件名称:" prop="currentProcess" class="mab" >
  31. <el-input v-model="form['yjmc']" placeholder="" style="width: 500px;" />
  32. </el-form-item>
  33. </el-row>
  34. <el-row>
  35. <el-form-item label="制单:" prop="currentProcess" class="mab" label-width="70">
  36. <el-input v-model="form['zd']" placeholder="" style="width: 500px;" />
  37. </el-form-item>
  38. </el-row>
  39. <el-row>
  40. <el-form-item label="审核:" prop="currentProcess" class="mab" label-width="70">
  41. <el-input v-model="form['sh']" placeholder="" style="width: 500px;"/>
  42. </el-form-item>
  43. </el-row>
  44. <div class="dialog-footer" style="text-align: right; margin-top: 30px;">
  45. <el-button @click="() => visibie = false">取消</el-button>
  46. <el-button type="primary" @click="cp_print_handleConfirm">确认</el-button>
  47. </div>
  48. </el-dialog>
  49. </template>
  50. <script setup>
  51. import { ref, reactive } from 'vue'
  52. import {ElMessage} from "element-plus";
  53. import {PrintCodeList, PrintJobOrder, ProcessCodeList} from "@/api/yunyin/yunying";
  54. import {hiprint} from "vue-plugin-hiprint";
  55. const visibie = ref(false)
  56. const form = reactive({})
  57. const id = ref()
  58. const yjlist = ref([])
  59. const gxlist = ref([])
  60. const getmc = async (v) => {
  61. const res = await ProcessCodeList({workOrder: id.value, yjno: v})
  62. const row = yjlist.value.find(item => item.印件号 === v)
  63. form['yjmc'] = row.印件名称;
  64. gxlist.value = res.data
  65. }
  66. const open = (gongdanId) => {
  67. if (gongdanId == null) {
  68. ElMessage({type: 'warning',message: '请选择具体的工单后,再操作此功能'});
  69. } else {
  70. id.value = gongdanId
  71. form['gdbh'] = gongdanId;
  72. form['zd'] = "刘玲";
  73. form['sh'] ="谭鸿忠";
  74. form['gxh'] = 1;
  75. _PrintCodeList();
  76. visibie.value = true;
  77. }
  78. }
  79. //工单打印回车
  80. const cp_print_ProductValue = async (e) => {
  81. if (e.key=='Tab' || e.key=='Enter') {
  82. _PrintCodeList();
  83. }
  84. }
  85. //打印作业通知单->工单印件及工序列表
  86. const _PrintCodeList = async () => {
  87. const workOrder = form['gdbh'];
  88. const PrintCodeList_list = await PrintCodeList({workOrder:workOrder});
  89. if(PrintCodeList_list.data.length === 0){
  90. ElMessage({type: 'warning',message: '工单编号错误 或 印件资料为空'});
  91. }else{
  92. yjlist.value = PrintCodeList_list.data
  93. form['yjno'] = PrintCodeList_list.data[0].印件号;
  94. form['yjmc'] = PrintCodeList_list.data[0].印件名称;
  95. const res = await ProcessCodeList({workOrder:workOrder, yjno: form['yjno']});
  96. gxlist.value = res.data
  97. }
  98. }
  99. //json打印表格数据
  100. const jsondata = {
  101. "panels": [
  102. {
  103. "index": 0,
  104. "name": 1,
  105. "paperType": "A4",
  106. "height": 210,
  107. "width": 297,
  108. "paperHeader": 162,
  109. "paperFooter": 516,
  110. "printElements": [
  111. {
  112. "options": {
  113. "left": 15,
  114. "top": 6,
  115. "height": 40,
  116. "width": 40,
  117. "field": "minong",
  118. "src": "https://shangbiaopic.11467.com/13/85/13855845.jpg",
  119. "fit": "contain",
  120. "coordinateSync": false,
  121. "widthHeightSync": false,
  122. "right": 65,
  123. "bottom": 50.807688786433296,
  124. "vCenter": 40,
  125. "hCenter": 25.807688786433292
  126. },
  127. "printElementType": {
  128. "title": "图片",
  129. "type": "image"
  130. }
  131. },
  132. {
  133. "options": {
  134. "left": 510,
  135. "top": 6,
  136. "height": 40.5,
  137. "width": 211.5,
  138. "title": "文本",
  139. "right": 723.75,
  140. "bottom": 46.5,
  141. "vCenter": 618,
  142. "hCenter": 26.25,
  143. "field": "ztlx",
  144. "coordinateSync": false,
  145. "widthHeightSync": false,
  146. "hideTitle": true,
  147. "fontSize": 21,
  148. "fontWeight": "bold",
  149. "color": "#ff1414",
  150. "textAlign": "center",
  151. "textContentVerticalAlign": "middle",
  152. "qrCodeLevel": 0
  153. },
  154. "printElementType": {
  155. "title": "文本",
  156. "type": "text"
  157. }
  158. },
  159. {
  160. "options": {
  161. "left": 756,
  162. "top": 10.5,
  163. "height": 56,
  164. "width": 56,
  165. "textAlign": "center",
  166. "title": "二维码",
  167. "right": 817.6363761208273,
  168. "bottom": 54.13636363636363,
  169. "vCenter": 789.8863761208273,
  170. "hCenter": 26.386363636363637,
  171. "field": "printcode",
  172. "testData": "2401191",
  173. "coordinateSync": false,
  174. "widthHeightSync": false,
  175. "hideTitle": true
  176. },
  177. "printElementType": {
  178. "title": "二维码",
  179. "type": "qrcode"
  180. }
  181. },
  182. {
  183. "options": {
  184. "left": 57,
  185. "top": 12,
  186. "height": 14,
  187. "width": 180,
  188. "title": "浙江美浓世纪集团有限公司",
  189. "coordinateSync": false,
  190. "widthHeightSync": false,
  191. "fontSize": 13.5,
  192. "textContentVerticalAlign": "middle",
  193. "qrCodeLevel": 0,
  194. "right": 247.61537405160757,
  195. "bottom": 27.999999999999996,
  196. "vCenter": 157.61537405160757,
  197. "hCenter": 21.499999999999996
  198. },
  199. "printElementType": {
  200. "title": "文本",
  201. "type": "text"
  202. }
  203. },
  204. {
  205. "options": {
  206. "left": 319.5,
  207. "top": 12,
  208. "height": 30,
  209. "width": 168,
  210. "title": "生产作业通知单",
  211. "coordinateSync": false,
  212. "widthHeightSync": false,
  213. "fontSize": 16.5,
  214. "color": "#000000",
  215. "textAlign": "center",
  216. "textContentVerticalAlign": "middle",
  217. "qrCodeLevel": 0,
  218. "right": 486.94683837890614,
  219. "bottom": 42.0000017606295,
  220. "vCenter": 402.94683837890614,
  221. "hCenter": 27.0000017606295,
  222. "fontWeight": "bold"
  223. },
  224. "printElementType": {
  225. "title": "文本",
  226. "type": "text"
  227. }
  228. },
  229. {
  230. "options": {
  231. "left": 57,
  232. "top": 28.5,
  233. "height": 9.75,
  234. "width": 209,
  235. "title": "ZHEJIANG MINONG CENTURY GROUP CO.LTD.",
  236. "coordinateSync": false,
  237. "widthHeightSync": false,
  238. "fontSize": 7.5,
  239. "textContentVerticalAlign": "middle",
  240. "qrCodeLevel": 0,
  241. "right": 280.99999295748194,
  242. "bottom": 40.326923076923066,
  243. "vCenter": 176.49999295748196,
  244. "hCenter": 35.451923076923066
  245. },
  246. "printElementType": {
  247. "title": "文本",
  248. "type": "text"
  249. }
  250. },
  251. {
  252. "options": {
  253. "left": 259.5,
  254. "top": 51,
  255. "height": 16,
  256. "width": 250.5,
  257. "title": "文本",
  258. "right": 509.4468955993651,
  259. "bottom": 67.02812528610227,
  260. "vCenter": 384.1968955993651,
  261. "hCenter": 59.028125286102274,
  262. "field": "xsddh",
  263. "coordinateSync": false,
  264. "widthHeightSync": false,
  265. "hideTitle": true,
  266. "textContentVerticalAlign": "middle",
  267. "qrCodeLevel": 0,
  268. "textContentWrap": "clip"
  269. },
  270. "printElementType": {
  271. "title": "文本",
  272. "type": "text"
  273. }
  274. },
  275. {
  276. "options": {
  277. "left": 510,
  278. "top": 51,
  279. "height": 16,
  280. "width": 48,
  281. "title": "打印时间",
  282. "coordinateSync": false,
  283. "widthHeightSync": false,
  284. "textAlign": "center",
  285. "textContentVerticalAlign": "middle",
  286. "qrCodeLevel": 0,
  287. "right": 551.25,
  288. "bottom": 66,
  289. "vCenter": 527.25,
  290. "hCenter": 55.5
  291. },
  292. "printElementType": {
  293. "title": "文本",
  294. "type": "text"
  295. }
  296. },
  297. {
  298. "options": {
  299. "left": 557,
  300. "top": 51,
  301. "height": 16,
  302. "width": 141,
  303. "title": "文本",
  304. "right": 697.5,
  305. "bottom": 66,
  306. "vCenter": 637.5,
  307. "hCenter": 55.5,
  308. "field": "dysj",
  309. "coordinateSync": false,
  310. "widthHeightSync": false,
  311. "hideTitle": true,
  312. "textContentVerticalAlign": "middle",
  313. "qrCodeLevel": 0,
  314. "textContentWrap": "clip"
  315. },
  316. "printElementType": {
  317. "title": "文本",
  318. "type": "text"
  319. }
  320. },
  321. {
  322. "options": {
  323. "left": 15,
  324. "top": 51.5,
  325. "height": 16,
  326. "width": 74,
  327. "title": "生产批次号:",
  328. "right": 76.49999491373697,
  329. "bottom": 64.77777523464624,
  330. "vCenter": 40.49999491373698,
  331. "hCenter": 54.27777523464624,
  332. "coordinateSync": false,
  333. "widthHeightSync": false,
  334. "fontSize": 12,
  335. "fontWeight": "bold",
  336. "color": "#f50808",
  337. "textContentVerticalAlign": "middle",
  338. "qrCodeLevel": 0
  339. },
  340. "printElementType": {
  341. "title": "文本",
  342. "type": "text"
  343. }
  344. },
  345. {
  346. "options": {
  347. "left": 87.95454545454545,
  348. "top": 51.5,
  349. "height": 16,
  350. "width": 90,
  351. "title": "文本",
  352. "right": 182.38889058430985,
  353. "bottom": 64.7777684529622,
  354. "vCenter": 137.38889058430985,
  355. "hCenter": 53.527768452962206,
  356. "field": "scpch",
  357. "coordinateSync": false,
  358. "widthHeightSync": false,
  359. "hideTitle": true,
  360. "textContentVerticalAlign": "middle",
  361. "qrCodeLevel": 0
  362. },
  363. "printElementType": {
  364. "title": "文本",
  365. "type": "text"
  366. }
  367. },
  368. {
  369. "options": {
  370. "left": 183.95454545454544,
  371. "top": 51.5,
  372. "height": 16,
  373. "width": 75,
  374. "title": "销售订单号:",
  375. "right": 312.75,
  376. "bottom": 54.75,
  377. "vCenter": 252.75,
  378. "hCenter": 49.875,
  379. "coordinateSync": false,
  380. "widthHeightSync": false,
  381. "fontSize": 12,
  382. "textContentVerticalAlign": "middle",
  383. "qrCodeLevel": 0
  384. },
  385. "printElementType": {
  386. "title": "文本",
  387. "type": "text"
  388. }
  389. },
  390. {
  391. "options": {
  392. "left": 15,
  393. "top": 70.5,
  394. "height": 88.5,
  395. "width": 815,
  396. "right": 831.5000057220459,
  397. "bottom": 158.99999713897702,
  398. "vCenter": 424.0000057220459,
  399. "hCenter": 114.74999713897702,
  400. "coordinateSync": false,
  401. "widthHeightSync": false
  402. },
  403. "printElementType": {
  404. "title": "矩形",
  405. "type": "rect"
  406. }
  407. },
  408. {
  409. "options": {
  410. "left": 199.5,
  411. "top": 70.5,
  412. "height": 49,
  413. "width": 2,
  414. "right": 200.33333841959626,
  415. "bottom": 163.49999745686844,
  416. "vCenter": 195.83333841959626,
  417. "hCenter": 118.49999745686844,
  418. "coordinateSync": false,
  419. "widthHeightSync": false
  420. },
  421. "printElementType": {
  422. "title": "竖线",
  423. "type": "vline"
  424. }
  425. },
  426. {
  427. "options": {
  428. "left": 262,
  429. "top": 70.5,
  430. "height": 49,
  431. "width": 2,
  432. "coordinateSync": false,
  433. "widthHeightSync": false,
  434. "right": 265.44688951969135,
  435. "bottom": 119.49999713897702,
  436. "vCenter": 264.44688951969135,
  437. "hCenter": 94.99999713897702
  438. },
  439. "printElementType": {
  440. "title": "竖线",
  441. "type": "vline"
  442. }
  443. },
  444. {
  445. "options": {
  446. "left": 462,
  447. "top": 70.5,
  448. "height": 49,
  449. "width": 2,
  450. "right": 486.0874862670897,
  451. "bottom": 119.52812099456784,
  452. "vCenter": 485.0874862670897,
  453. "hCenter": 95.02812099456784,
  454. "coordinateSync": false,
  455. "widthHeightSync": false
  456. },
  457. "printElementType": {
  458. "title": "竖线",
  459. "type": "vline"
  460. }
  461. },
  462. {
  463. "options": {
  464. "left": 64,
  465. "top": 71,
  466. "height": 48,
  467. "width": 2,
  468. "right": 69.01506181196729,
  469. "bottom": 118.8181815580888,
  470. "vCenter": 68.01506181196729,
  471. "hCenter": 94.3181815580888,
  472. "coordinateSync": false,
  473. "widthHeightSync": false
  474. },
  475. "printElementType": {
  476. "title": "竖线",
  477. "type": "vline"
  478. }
  479. },
  480. {
  481. "options": {
  482. "left": 514,
  483. "top": 71,
  484. "height": 31,
  485. "width": 2,
  486. "right": 519.9969024658201,
  487. "bottom": 102.49999713897702,
  488. "vCenter": 518.9969024658201,
  489. "hCenter": 86.49999713897702,
  490. "coordinateSync": false,
  491. "widthHeightSync": false
  492. },
  493. "printElementType": {
  494. "title": "竖线",
  495. "type": "vline"
  496. }
  497. },
  498. {
  499. "options": {
  500. "left": 201,
  501. "top": 73,
  502. "height": 12,
  503. "width": 60,
  504. "title": "产品代码",
  505. "coordinateSync": false,
  506. "widthHeightSync": false,
  507. "textAlign": "center",
  508. "textContentVerticalAlign": "middle",
  509. "qrCodeLevel": 0,
  510. "right": 275.38638028231526,
  511. "bottom": 83.97102329947728,
  512. "vCenter": 245.38638028231526,
  513. "hCenter": 77.97102329947728
  514. },
  515. "printElementType": {
  516. "title": "文本",
  517. "type": "text"
  518. }
  519. },
  520. {
  521. "options": {
  522. "left": 16.5,
  523. "top": 73.5,
  524. "height": 12,
  525. "width": 45,
  526. "title": "客户代码",
  527. "right": 61.99687957763671,
  528. "bottom": 85.33465966311365,
  529. "vCenter": 39.49687957763671,
  530. "hCenter": 79.33465966311365,
  531. "coordinateSync": false,
  532. "widthHeightSync": false,
  533. "textAlign": "center",
  534. "textContentVerticalAlign": "middle",
  535. "qrCodeLevel": 0
  536. },
  537. "printElementType": {
  538. "title": "文本",
  539. "type": "text"
  540. }
  541. },
  542. {
  543. "options": {
  544. "left": 64.5,
  545. "top": 73.5,
  546. "height": 12,
  547. "width": 132,
  548. "title": "客户名称",
  549. "right": 183.99608670748194,
  550. "bottom": 85.49999647874095,
  551. "vCenter": 120.99608670748194,
  552. "hCenter": 79.49999647874095,
  553. "coordinateSync": false,
  554. "widthHeightSync": false,
  555. "textAlign": "center",
  556. "textContentVerticalAlign": "middle",
  557. "qrCodeLevel": 0
  558. },
  559. "printElementType": {
  560. "title": "文本",
  561. "type": "text"
  562. }
  563. },
  564. {
  565. "options": {
  566. "left": 264,
  567. "top": 73.5,
  568. "height": 12,
  569. "width": 196,
  570. "title": "产品名称",
  571. "coordinateSync": false,
  572. "widthHeightSync": false,
  573. "textAlign": "center",
  574. "textContentVerticalAlign": "middle",
  575. "qrCodeLevel": 0
  576. },
  577. "printElementType": {
  578. "title": "文本",
  579. "type": "text"
  580. }
  581. },
  582. {
  583. "options": {
  584. "left": 463,
  585. "top": 73.5,
  586. "height": 12,
  587. "width": 46.5,
  588. "title": "版本号",
  589. "coordinateSync": false,
  590. "widthHeightSync": false,
  591. "textAlign": "center",
  592. "textContentVerticalAlign": "middle",
  593. "qrCodeLevel": 0,
  594. "right": 536.2499942779539,
  595. "bottom": 85.96874427795407,
  596. "vCenter": 512.9999942779539,
  597. "hCenter": 79.96874427795407
  598. },
  599. "printElementType": {
  600. "title": "文本",
  601. "type": "text"
  602. }
  603. },
  604. {
  605. "options": {
  606. "left": 515,
  607. "top": 73.5,
  608. "height": 12,
  609. "width": 314,
  610. "title": "警语版面",
  611. "right": 636.3749999999998,
  612. "bottom": 86.99999999999997,
  613. "vCenter": 576.3749999999998,
  614. "hCenter": 80.99999999999997,
  615. "coordinateSync": false,
  616. "widthHeightSync": false,
  617. "textContentVerticalAlign": "middle",
  618. "qrCodeLevel": 0,
  619. "textAlign": "center"
  620. },
  621. "printElementType": {
  622. "title": "文本",
  623. "type": "text"
  624. }
  625. },
  626. {
  627. "options": {
  628. "left": 15,
  629. "top": 87,
  630. "height": 9,
  631. "width": 815,
  632. "borderWidth": "0.75",
  633. "coordinateSync": false,
  634. "widthHeightSync": false,
  635. "right": 839.9960895885121,
  636. "bottom": 96.00000416148792,
  637. "vCenter": 421.99608958851206,
  638. "hCenter": 91.50000416148792
  639. },
  640. "printElementType": {
  641. "title": "横线",
  642. "type": "hline"
  643. }
  644. },
  645. {
  646. "options": {
  647. "left": 65,
  648. "top": 88.5,
  649. "height": 12,
  650. "width": 132,
  651. "title": "文本",
  652. "field": "khmc",
  653. "coordinateSync": false,
  654. "widthHeightSync": false,
  655. "hideTitle": true,
  656. "textAlign": "center",
  657. "textContentVerticalAlign": "middle",
  658. "qrCodeLevel": 0,
  659. "right": 188.6052679764597,
  660. "bottom": 97.5789413452148,
  661. "vCenter": 127.10526797645967,
  662. "hCenter": 87.0789413452148,
  663. "textContentWrap": "clip"
  664. },
  665. "printElementType": {
  666. "title": "文本",
  667. "type": "text"
  668. }
  669. },
  670. {
  671. "options": {
  672. "left": 200.5,
  673. "top": 88.5,
  674. "height": 12,
  675. "width": 60,
  676. "title": "100301047",
  677. "field": "cpdm",
  678. "coordinateSync": false,
  679. "widthHeightSync": false,
  680. "hideTitle": true,
  681. "textAlign": "center",
  682. "textContentVerticalAlign": "middle",
  683. "qrCodeLevel": 0,
  684. "right": 255.00000214576713,
  685. "bottom": 119.99999999999996,
  686. "vCenter": 225.75000214576713,
  687. "hCenter": 109.49999999999996
  688. },
  689. "printElementType": {
  690. "title": "文本",
  691. "type": "text"
  692. }
  693. },
  694. {
  695. "options": {
  696. "left": 264,
  697. "top": 88.5,
  698. "height": 12,
  699. "width": 196,
  700. "title": "文本",
  701. "right": 384.23684873078986,
  702. "bottom": 89.56578826904293,
  703. "vCenter": 324.23684873078986,
  704. "hCenter": 84.69078826904293,
  705. "field": "cpmc",
  706. "coordinateSync": false,
  707. "widthHeightSync": false,
  708. "hideTitle": true,
  709. "qrCodeLevel": 0,
  710. "textContentVerticalAlign": "middle",
  711. "textContentWrap": "clip"
  712. },
  713. "printElementType": {
  714. "title": "文本",
  715. "type": "text"
  716. }
  717. },
  718. {
  719. "options": {
  720. "left": 463,
  721. "top": 88.5,
  722. "height": 13,
  723. "width": 50,
  724. "title": "文本",
  725. "field": "bbh",
  726. "coordinateSync": false,
  727. "widthHeightSync": false,
  728. "hideTitle": true,
  729. "qrCodeLevel": 0,
  730. "right": 572.4473732396174,
  731. "bottom": 89.01315909937804,
  732. "vCenter": 512.4473732396174,
  733. "hCenter": 84.13815909937804,
  734. "textAlign": "center",
  735. "textContentVerticalAlign": "middle"
  736. },
  737. "printElementType": {
  738. "title": "文本",
  739. "type": "text"
  740. }
  741. },
  742. {
  743. "options": {
  744. "left": 515,
  745. "top": 88.5,
  746. "height": 12,
  747. "width": 314,
  748. "title": "文本",
  749. "right": 831.2812557220457,
  750. "bottom": 99.18749999999997,
  751. "vCenter": 680.5312557220457,
  752. "hCenter": 93.18749999999997,
  753. "field": "jybm",
  754. "coordinateSync": false,
  755. "widthHeightSync": false,
  756. "hideTitle": true,
  757. "qrCodeLevel": 0,
  758. "textContentVerticalAlign": "middle",
  759. "textContentWrap": "clip"
  760. },
  761. "printElementType": {
  762. "title": "文本",
  763. "type": "text"
  764. }
  765. },
  766. {
  767. "options": {
  768. "left": 16.5,
  769. "top": 89,
  770. "height": 12,
  771. "width": 45,
  772. "title": "文本",
  773. "right": 63.74999999999999,
  774. "bottom": 100.84090466932813,
  775. "vCenter": 41.24999999999999,
  776. "hCenter": 94.84090466932813,
  777. "field": "khdh",
  778. "coordinateSync": false,
  779. "widthHeightSync": false,
  780. "hideTitle": true,
  781. "textAlign": "center",
  782. "textContentVerticalAlign": "middle",
  783. "qrCodeLevel": 0
  784. },
  785. "printElementType": {
  786. "title": "文本",
  787. "type": "text"
  788. }
  789. },
  790. {
  791. "options": {
  792. "left": 15,
  793. "top": 102,
  794. "height": 9,
  795. "width": 815,
  796. "borderWidth": "0.75",
  797. "coordinateSync": false,
  798. "widthHeightSync": false
  799. },
  800. "printElementType": {
  801. "title": "横线",
  802. "type": "hline"
  803. }
  804. },
  805. {
  806. "options": {
  807. "left": 514,
  808. "top": 102,
  809. "height": 17,
  810. "width": 9,
  811. "coordinateSync": false,
  812. "widthHeightSync": false,
  813. "right": 543.4031238555906,
  814. "bottom": 119.0000028610229,
  815. "vCenter": 538.9031238555906,
  816. "hCenter": 110.5000028610229
  817. },
  818. "printElementType": {
  819. "title": "竖线",
  820. "type": "vline"
  821. }
  822. },
  823. {
  824. "options": {
  825. "left": 580,
  826. "top": 102,
  827. "height": 17,
  828. "width": 9,
  829. "coordinateSync": false,
  830. "widthHeightSync": false,
  831. "right": 618.0000291304152,
  832. "bottom": 118.99999895962796,
  833. "vCenter": 613.5000291304152,
  834. "hCenter": 110.49999895962796
  835. },
  836. "printElementType": {
  837. "title": "竖线",
  838. "type": "vline"
  839. }
  840. },
  841. {
  842. "options": {
  843. "left": 636,
  844. "top": 102,
  845. "height": 17,
  846. "width": 9,
  847. "right": 664.4062557220457,
  848. "bottom": 120.4062528610229,
  849. "vCenter": 659.9062557220457,
  850. "hCenter": 111.9062528610229,
  851. "coordinateSync": false,
  852. "widthHeightSync": false
  853. },
  854. "printElementType": {
  855. "title": "竖线",
  856. "type": "vline"
  857. }
  858. },
  859. {
  860. "options": {
  861. "left": 706,
  862. "top": 102,
  863. "height": 17,
  864. "width": 9,
  865. "right": 563.999985694885,
  866. "bottom": 272.3437643051147,
  867. "vCenter": 559.499985694885,
  868. "hCenter": 227.3437643051147,
  869. "coordinateSync": false,
  870. "widthHeightSync": false
  871. },
  872. "printElementType": {
  873. "title": "竖线",
  874. "type": "vline"
  875. }
  876. },
  877. {
  878. "options": {
  879. "left": 764,
  880. "top": 102,
  881. "height": 17,
  882. "width": 9,
  883. "right": 774.0937414169308,
  884. "bottom": 193.8750028610229,
  885. "vCenter": 769.5937414169308,
  886. "hCenter": 148.8750028610229,
  887. "coordinateSync": false,
  888. "widthHeightSync": false
  889. },
  890. "printElementType": {
  891. "title": "竖线",
  892. "type": "vline"
  893. }
  894. },
  895. {
  896. "options": {
  897. "left": 765,
  898. "top": 103.5,
  899. "height": 12,
  900. "width": 62,
  901. "title": "文本",
  902. "field": "pzll",
  903. "coordinateSync": false,
  904. "widthHeightSync": false,
  905. "hideTitle": true,
  906. "textAlign": "center",
  907. "textContentVerticalAlign": "middle",
  908. "qrCodeLevel": 0,
  909. "right": 835.5000083229755,
  910. "bottom": 115.15908973867236,
  911. "vCenter": 801.0000083229755,
  912. "hCenter": 109.15908973867236,
  913. "color": "#fa1919"
  914. },
  915. "printElementType": {
  916. "title": "文本",
  917. "type": "text"
  918. }
  919. },
  920. {
  921. "options": {
  922. "left": 708,
  923. "top": 104,
  924. "height": 12,
  925. "width": 54,
  926. "title": "平张投料(张)",
  927. "coordinateSync": false,
  928. "widthHeightSync": false,
  929. "textAlign": "center",
  930. "textContentVerticalAlign": "middle",
  931. "qrCodeLevel": 0,
  932. "right": 767.9062242507932,
  933. "bottom": 114.9375028610229,
  934. "vCenter": 731.9062242507932,
  935. "hCenter": 108.9375028610229,
  936. "color": "#ff0a0a"
  937. },
  938. "printElementType": {
  939. "title": "文本",
  940. "type": "text"
  941. }
  942. },
  943. {
  944. "options": {
  945. "left": 17,
  946. "top": 105,
  947. "height": 12,
  948. "width": 45,
  949. "title": "码源数量",
  950. "right": 46.78570556640625,
  951. "bottom": 117.2142933436802,
  952. "vCenter": 26.535705566406246,
  953. "hCenter": 111.2142933436802,
  954. "coordinateSync": false,
  955. "widthHeightSync": false,
  956. "textAlign": "center",
  957. "textContentVerticalAlign": "middle",
  958. "qrCodeLevel": 0
  959. },
  960. "printElementType": {
  961. "title": "文本",
  962. "type": "text"
  963. }
  964. },
  965. {
  966. "options": {
  967. "left": 64.5,
  968. "top": 105,
  969. "height": 12,
  970. "width": 132,
  971. "title": "文本",
  972. "field": "mysl",
  973. "coordinateSync": false,
  974. "widthHeightSync": false,
  975. "hideTitle": true,
  976. "textAlign": "center",
  977. "textContentVerticalAlign": "middle",
  978. "qrCodeLevel": 0
  979. },
  980. "printElementType": {
  981. "title": "文本",
  982. "type": "text"
  983. }
  984. },
  985. {
  986. "options": {
  987. "left": 201,
  988. "top": 105,
  989. "height": 12,
  990. "width": 58.5,
  991. "title": "客户ERP编码",
  992. "coordinateSync": false,
  993. "widthHeightSync": false,
  994. "qrCodeLevel": 0,
  995. "right": 318.78572736467623,
  996. "bottom": 115.92856597900385,
  997. "vCenter": 258.78572736467623,
  998. "hCenter": 109.92856597900385,
  999. "textAlign": "center",
  1000. "textContentVerticalAlign": "middle"
  1001. },
  1002. "printElementType": {
  1003. "title": "文本",
  1004. "type": "text"
  1005. }
  1006. },
  1007. {
  1008. "options": {
  1009. "left": 264,
  1010. "top": 105,
  1011. "height": 11,
  1012. "width": 196,
  1013. "title": "文本",
  1014. "field": "kherpbm",
  1015. "coordinateSync": false,
  1016. "widthHeightSync": false,
  1017. "hideTitle": true,
  1018. "textAlign": "center",
  1019. "textContentVerticalAlign": "middle",
  1020. "qrCodeLevel": 0,
  1021. "right": 387.07142421177446,
  1022. "bottom": 113.96428680419916,
  1023. "vCenter": 327.07142421177446,
  1024. "hCenter": 109.08928680419916,
  1025. "textContentWrap": "clip"
  1026. },
  1027. "printElementType": {
  1028. "title": "文本",
  1029. "type": "text"
  1030. }
  1031. },
  1032. {
  1033. "options": {
  1034. "left": 463,
  1035. "top": 105,
  1036. "height": 12,
  1037. "width": 52,
  1038. "title": "开单日期",
  1039. "coordinateSync": false,
  1040. "widthHeightSync": false,
  1041. "textAlign": "center",
  1042. "textContentVerticalAlign": "middle",
  1043. "qrCodeLevel": 0,
  1044. "right": 536.687488555908,
  1045. "bottom": 117.37499427795406,
  1046. "vCenter": 516.687488555908,
  1047. "hCenter": 111.37499427795406
  1048. },
  1049. "printElementType": {
  1050. "title": "文本",
  1051. "type": "text"
  1052. }
  1053. },
  1054. {
  1055. "options": {
  1056. "left": 517,
  1057. "top": 105,
  1058. "height": 12,
  1059. "width": 61,
  1060. "title": "文本",
  1061. "field": "kdrq",
  1062. "coordinateSync": false,
  1063. "widthHeightSync": false,
  1064. "hideTitle": true,
  1065. "textAlign": "center",
  1066. "textContentVerticalAlign": "middle",
  1067. "qrCodeLevel": 0,
  1068. "right": 553.8749742507932,
  1069. "bottom": 115.21874141693111,
  1070. "vCenter": 527.6249742507932,
  1071. "hCenter": 109.21874141693111,
  1072. "textContentWrap": "clip",
  1073. "fontWeight": "bold"
  1074. },
  1075. "printElementType": {
  1076. "title": "文本",
  1077. "type": "text"
  1078. }
  1079. },
  1080. {
  1081. "options": {
  1082. "left": 582,
  1083. "top": 105,
  1084. "height": 12,
  1085. "width": 52,
  1086. "title": "交货日期",
  1087. "right": 607.499985694885,
  1088. "bottom": 115.9687585830688,
  1089. "vCenter": 584.999985694885,
  1090. "hCenter": 109.9687585830688,
  1091. "coordinateSync": false,
  1092. "widthHeightSync": false,
  1093. "textAlign": "center",
  1094. "textContentVerticalAlign": "middle",
  1095. "qrCodeLevel": 0
  1096. },
  1097. "printElementType": {
  1098. "title": "文本",
  1099. "type": "text"
  1100. }
  1101. },
  1102. {
  1103. "options": {
  1104. "left": 641,
  1105. "top": 105,
  1106. "height": 12,
  1107. "width": 61,
  1108. "title": "文本",
  1109. "right": 725.4710360440338,
  1110. "bottom": 117.0000026009299,
  1111. "vCenter": 696.4710360440338,
  1112. "hCenter": 111.0000026009299,
  1113. "field": "jhrq",
  1114. "coordinateSync": false,
  1115. "widthHeightSync": false,
  1116. "hideTitle": true,
  1117. "textAlign": "center",
  1118. "textContentVerticalAlign": "middle",
  1119. "qrCodeLevel": 0,
  1120. "textContentWrap": "clip",
  1121. "fontWeight": "bold"
  1122. },
  1123. "printElementType": {
  1124. "title": "文本",
  1125. "type": "text"
  1126. }
  1127. },
  1128. {
  1129. "options": {
  1130. "left": 15,
  1131. "top": 118.5,
  1132. "height": 9,
  1133. "width": 815,
  1134. "borderWidth": "0.75",
  1135. "coordinateSync": false,
  1136. "widthHeightSync": false,
  1137. "right": 831,
  1138. "bottom": 127.5000072826038,
  1139. "vCenter": 423,
  1140. "hCenter": 123.0000072826038
  1141. },
  1142. "printElementType": {
  1143. "title": "横线",
  1144. "type": "hline"
  1145. }
  1146. },
  1147. {
  1148. "options": {
  1149. "left": 556,
  1150. "top": 118.5,
  1151. "height": 39,
  1152. "width": 5,
  1153. "coordinateSync": false,
  1154. "widthHeightSync": false
  1155. },
  1156. "printElementType": {
  1157. "title": "竖线",
  1158. "type": "vline"
  1159. }
  1160. },
  1161. {
  1162. "options": {
  1163. "left": 609,
  1164. "top": 118.5,
  1165. "height": 39,
  1166. "width": 5,
  1167. "coordinateSync": false,
  1168. "widthHeightSync": false,
  1169. "right": 564.4999771118162,
  1170. "bottom": 160.50000762939447,
  1171. "vCenter": 561.9999771118162,
  1172. "hCenter": 140.00000762939447
  1173. },
  1174. "printElementType": {
  1175. "title": "竖线",
  1176. "type": "vline"
  1177. }
  1178. },
  1179. {
  1180. "options": {
  1181. "left": 660,
  1182. "top": 118.5,
  1183. "height": 39,
  1184. "width": 5,
  1185. "coordinateSync": false,
  1186. "widthHeightSync": false,
  1187. "right": 621.1590992320664,
  1188. "bottom": 159.15908973867238,
  1189. "vCenter": 618.6590992320664,
  1190. "hCenter": 138.65908973867238
  1191. },
  1192. "printElementType": {
  1193. "title": "竖线",
  1194. "type": "vline"
  1195. }
  1196. },
  1197. {
  1198. "options": {
  1199. "left": 718,
  1200. "top": 118.5,
  1201. "height": 39,
  1202. "width": 5,
  1203. "coordinateSync": false,
  1204. "widthHeightSync": false,
  1205. "right": 702.9999771118162,
  1206. "bottom": 166.0000076293945,
  1207. "vCenter": 700.4999771118162,
  1208. "hCenter": 145.5000076293945
  1209. },
  1210. "printElementType": {
  1211. "title": "竖线",
  1212. "type": "vline"
  1213. }
  1214. },
  1215. {
  1216. "options": {
  1217. "left": 774,
  1218. "top": 118.5,
  1219. "height": 39,
  1220. "width": 5,
  1221. "right": 774.4999771118161,
  1222. "bottom": 170.50000762939447,
  1223. "vCenter": 771.9999771118161,
  1224. "hCenter": 150.00000762939447,
  1225. "coordinateSync": false,
  1226. "widthHeightSync": false
  1227. },
  1228. "printElementType": {
  1229. "title": "竖线",
  1230. "type": "vline"
  1231. }
  1232. },
  1233. {
  1234. "options": {
  1235. "left": 505,
  1236. "top": 119,
  1237. "height": 40,
  1238. "width": 9,
  1239. "coordinateSync": false,
  1240. "widthHeightSync": false
  1241. },
  1242. "printElementType": {
  1243. "title": "竖线",
  1244. "type": "vline"
  1245. }
  1246. },
  1247. {
  1248. "options": {
  1249. "left": 17,
  1250. "top": 121.5,
  1251. "height": 34.5,
  1252. "width": 49.5,
  1253. "title": "工单说明:",
  1254. "right": 126.79411495433133,
  1255. "bottom": 137.73529580060165,
  1256. "vCenter": 66.79411495433133,
  1257. "hCenter": 131.73529580060165,
  1258. "coordinateSync": false,
  1259. "widthHeightSync": false,
  1260. "color": "#ff0000",
  1261. "qrCodeLevel": 0,
  1262. "textAlign": "center"
  1263. },
  1264. "printElementType": {
  1265. "title": "文本",
  1266. "type": "text"
  1267. }
  1268. },
  1269. {
  1270. "options": {
  1271. "left": 66,
  1272. "top": 121.5,
  1273. "height": 34.5,
  1274. "width": 438,
  1275. "title": "文本",
  1276. "right": 499.49999982118607,
  1277. "bottom": 155.49374771118158,
  1278. "vCenter": 277.49999982118607,
  1279. "hCenter": 138.24374771118158,
  1280. "field": "gdsm",
  1281. "coordinateSync": false,
  1282. "widthHeightSync": false,
  1283. "hideTitle": true,
  1284. "qrCodeLevel": 0
  1285. },
  1286. "printElementType": {
  1287. "title": "文本",
  1288. "type": "text"
  1289. }
  1290. },
  1291. {
  1292. "options": {
  1293. "left": 507,
  1294. "top": 121.5,
  1295. "height": 12,
  1296. "width": 49,
  1297. "title": "投料率",
  1298. "right": 499.1052679764595,
  1299. "bottom": 134.05263037430606,
  1300. "vCenter": 481.1052679764595,
  1301. "hCenter": 128.05263037430606,
  1302. "coordinateSync": false,
  1303. "widthHeightSync": false,
  1304. "textAlign": "center",
  1305. "textContentVerticalAlign": "middle",
  1306. "qrCodeLevel": 0
  1307. },
  1308. "printElementType": {
  1309. "title": "文本",
  1310. "type": "text"
  1311. }
  1312. },
  1313. {
  1314. "options": {
  1315. "left": 559,
  1316. "top": 121.5,
  1317. "height": 12,
  1318. "width": 49,
  1319. "title": "目标合格率",
  1320. "right": 659.6841960706207,
  1321. "bottom": 132.55263669867261,
  1322. "vCenter": 625.1841960706207,
  1323. "hCenter": 126.55263669867261,
  1324. "coordinateSync": false,
  1325. "widthHeightSync": false,
  1326. "textAlign": "center",
  1327. "textContentVerticalAlign": "middle",
  1328. "qrCodeLevel": 0
  1329. },
  1330. "printElementType": {
  1331. "title": "文本",
  1332. "type": "text"
  1333. }
  1334. },
  1335. {
  1336. "options": {
  1337. "left": 611,
  1338. "top": 121.5,
  1339. "height": 12,
  1340. "width": 49,
  1341. "title": "平均合格率",
  1342. "coordinateSync": false,
  1343. "widthHeightSync": false,
  1344. "textAlign": "center",
  1345. "textContentVerticalAlign": "middle",
  1346. "qrCodeLevel": 0,
  1347. "right": 734.7631723504314,
  1348. "bottom": 134.36841653522686,
  1349. "vCenter": 700.2631723504314,
  1350. "hCenter": 128.36841653522686
  1351. },
  1352. "printElementType": {
  1353. "title": "文本",
  1354. "type": "text"
  1355. }
  1356. },
  1357. {
  1358. "options": {
  1359. "left": 663,
  1360. "top": 121.5,
  1361. "height": 12,
  1362. "width": 54,
  1363. "title": "订货数量(箱)",
  1364. "right": 676.8947320235401,
  1365. "bottom": 210.71053143551467,
  1366. "vCenter": 616.8947320235401,
  1367. "hCenter": 204.71053143551467,
  1368. "coordinateSync": false,
  1369. "widthHeightSync": false,
  1370. "qrCodeLevel": 0,
  1371. "textAlign": "center",
  1372. "textContentVerticalAlign": "middle"
  1373. },
  1374. "printElementType": {
  1375. "title": "文本",
  1376. "type": "text"
  1377. }
  1378. },
  1379. {
  1380. "options": {
  1381. "left": 721.5,
  1382. "top": 121.5,
  1383. "height": 12,
  1384. "width": 53,
  1385. "title": "库存数量(箱)",
  1386. "right": 787.7727564031427,
  1387. "bottom": 171.5454545454545,
  1388. "vCenter": 753.2727564031427,
  1389. "hCenter": 165.5454545454545,
  1390. "coordinateSync": false,
  1391. "widthHeightSync": false,
  1392. "qrCodeLevel": 0,
  1393. "textAlign": "center",
  1394. "textContentVerticalAlign": "middle"
  1395. },
  1396. "printElementType": {
  1397. "title": "文本",
  1398. "type": "text"
  1399. }
  1400. },
  1401. {
  1402. "options": {
  1403. "left": 775.5,
  1404. "top": 121.5,
  1405. "height": 12,
  1406. "width": 55,
  1407. "title": "投料数量(箱)",
  1408. "coordinateSync": false,
  1409. "widthHeightSync": false,
  1410. "qrCodeLevel": 0,
  1411. "right": 843.6818473122336,
  1412. "bottom": 134.18182650479406,
  1413. "vCenter": 809.1818473122336,
  1414. "hCenter": 128.18182650479406,
  1415. "textAlign": "center",
  1416. "textContentVerticalAlign": "middle"
  1417. },
  1418. "printElementType": {
  1419. "title": "文本",
  1420. "type": "text"
  1421. }
  1422. },
  1423. {
  1424. "options": {
  1425. "left": 505.5,
  1426. "top": 138,
  1427. "height": 6,
  1428. "width": 324,
  1429. "borderWidth": "0.75",
  1430. "coordinateSync": false,
  1431. "widthHeightSync": false
  1432. },
  1433. "printElementType": {
  1434. "title": "横线",
  1435. "type": "hline"
  1436. }
  1437. },
  1438. {
  1439. "options": {
  1440. "left": 560,
  1441. "top": 142,
  1442. "height": 12,
  1443. "width": 49,
  1444. "title": "文本",
  1445. "right": 554.5000381469724,
  1446. "bottom": 151.9999923706054,
  1447. "vCenter": 529.5000381469724,
  1448. "hCenter": 145.9999923706054,
  1449. "field": "mbhgl",
  1450. "coordinateSync": false,
  1451. "widthHeightSync": false,
  1452. "hideTitle": true,
  1453. "textAlign": "center",
  1454. "textContentVerticalAlign": "middle",
  1455. "qrCodeLevel": 0
  1456. },
  1457. "printElementType": {
  1458. "title": "文本",
  1459. "type": "text"
  1460. }
  1461. },
  1462. {
  1463. "options": {
  1464. "left": 720,
  1465. "top": 142,
  1466. "height": 12,
  1467. "width": 54,
  1468. "title": "文本",
  1469. "field": "kcsl",
  1470. "coordinateSync": false,
  1471. "widthHeightSync": false,
  1472. "hideTitle": true,
  1473. "textAlign": "center",
  1474. "textContentVerticalAlign": "middle",
  1475. "qrCodeLevel": 0,
  1476. "right": 766.0000076293943,
  1477. "bottom": 155.0000076293945,
  1478. "vCenter": 731.5000076293943,
  1479. "hCenter": 149.5000076293945
  1480. },
  1481. "printElementType": {
  1482. "title": "文本",
  1483. "type": "text"
  1484. }
  1485. },
  1486. {
  1487. "options": {
  1488. "left": 775,
  1489. "top": 142,
  1490. "height": 12,
  1491. "width": 55,
  1492. "title": "文本",
  1493. "right": 864.0000076293944,
  1494. "bottom": 151.50000762939447,
  1495. "vCenter": 829.5000076293944,
  1496. "hCenter": 145.50000762939447,
  1497. "field": "tlsl",
  1498. "coordinateSync": false,
  1499. "widthHeightSync": false,
  1500. "hideTitle": true,
  1501. "textAlign": "center",
  1502. "textContentVerticalAlign": "middle",
  1503. "qrCodeLevel": 0
  1504. },
  1505. "printElementType": {
  1506. "title": "文本",
  1507. "type": "text"
  1508. }
  1509. },
  1510. {
  1511. "options": {
  1512. "left": 507,
  1513. "top": 142.5,
  1514. "height": 12,
  1515. "width": 49,
  1516. "title": "文本",
  1517. "right": 497.0000076293944,
  1518. "bottom": 153.5000076293945,
  1519. "vCenter": 479.0000076293944,
  1520. "hCenter": 147.5000076293945,
  1521. "field": "tll",
  1522. "coordinateSync": false,
  1523. "widthHeightSync": false,
  1524. "hideTitle": true,
  1525. "textAlign": "center",
  1526. "textContentVerticalAlign": "middle",
  1527. "qrCodeLevel": 0
  1528. },
  1529. "printElementType": {
  1530. "title": "文本",
  1531. "type": "text"
  1532. }
  1533. },
  1534. {
  1535. "options": {
  1536. "left": 611,
  1537. "top": 142.5,
  1538. "height": 12,
  1539. "width": 49,
  1540. "title": "文本",
  1541. "right": 613.9999771118162,
  1542. "bottom": 179.00000762939447,
  1543. "vCenter": 585.9999771118162,
  1544. "hCenter": 173.00000762939447,
  1545. "field": "pjhgl",
  1546. "coordinateSync": false,
  1547. "widthHeightSync": false,
  1548. "hideTitle": true,
  1549. "textAlign": "center",
  1550. "textContentVerticalAlign": "middle",
  1551. "qrCodeLevel": 0
  1552. },
  1553. "printElementType": {
  1554. "title": "文本",
  1555. "type": "text"
  1556. }
  1557. },
  1558. {
  1559. "options": {
  1560. "left": 661,
  1561. "top": 142.5,
  1562. "height": 12,
  1563. "width": 57,
  1564. "title": "文本",
  1565. "right": 608.9999771118162,
  1566. "bottom": 198.25000762939447,
  1567. "vCenter": 548.9999771118162,
  1568. "hCenter": 193.37500762939447,
  1569. "field": "dhsl",
  1570. "coordinateSync": false,
  1571. "widthHeightSync": false,
  1572. "hideTitle": true,
  1573. "textAlign": "center",
  1574. "textContentVerticalAlign": "middle",
  1575. "qrCodeLevel": 0
  1576. },
  1577. "printElementType": {
  1578. "title": "文本",
  1579. "type": "text"
  1580. }
  1581. },
  1582. {
  1583. "options": {
  1584. "left": 15,
  1585. "top": 163.5,
  1586. "height": 9,
  1587. "width": 815,
  1588. "borderWidth": "0.75",
  1589. "coordinateSync": false,
  1590. "widthHeightSync": false
  1591. },
  1592. "printElementType": {
  1593. "title": "横线",
  1594. "type": "hline"
  1595. }
  1596. },
  1597. {
  1598. "options": {
  1599. "left": 349,
  1600. "top": 163.5,
  1601. "height": 38,
  1602. "width": 9,
  1603. "coordinateSync": false,
  1604. "widthHeightSync": false,
  1605. "right": 355.3333468967012,
  1606. "bottom": 205.50000423855244,
  1607. "vCenter": 350.8333468967012,
  1608. "hCenter": 189.00000423855244
  1609. },
  1610. "printElementType": {
  1611. "title": "竖线",
  1612. "type": "vline"
  1613. }
  1614. },
  1615. {
  1616. "options": {
  1617. "left": 654,
  1618. "top": 163.5,
  1619. "height": 38,
  1620. "width": 9,
  1621. "right": 655.827731662326,
  1622. "bottom": 205.6627646552191,
  1623. "vCenter": 651.327731662326,
  1624. "hCenter": 189.1627646552191,
  1625. "coordinateSync": false,
  1626. "widthHeightSync": false
  1627. },
  1628. "printElementType": {
  1629. "title": "竖线",
  1630. "type": "vline"
  1631. }
  1632. },
  1633. {
  1634. "options": {
  1635. "left": 15,
  1636. "top": 164,
  1637. "height": 38,
  1638. "width": 9,
  1639. "right": 11.647058823529411,
  1640. "bottom": 211.38234705083505,
  1641. "vCenter": 7.147058823529411,
  1642. "hCenter": 192.38234705083505,
  1643. "coordinateSync": false,
  1644. "widthHeightSync": false
  1645. },
  1646. "printElementType": {
  1647. "title": "竖线",
  1648. "type": "vline"
  1649. }
  1650. },
  1651. {
  1652. "options": {
  1653. "left": 45,
  1654. "top": 164,
  1655. "height": 38,
  1656. "width": 9,
  1657. "right": 47.383238050672716,
  1658. "bottom": 207.05165354410798,
  1659. "vCenter": 42.883238050672716,
  1660. "hCenter": 190.55165354410798,
  1661. "coordinateSync": false,
  1662. "widthHeightSync": false
  1663. },
  1664. "printElementType": {
  1665. "title": "竖线",
  1666. "type": "vline"
  1667. }
  1668. },
  1669. {
  1670. "options": {
  1671. "left": 294,
  1672. "top": 164,
  1673. "height": 38,
  1674. "width": 9,
  1675. "right": 297.0499182807073,
  1676. "bottom": 207.72222646077464,
  1677. "vCenter": 292.5499182807073,
  1678. "hCenter": 191.22222646077464,
  1679. "coordinateSync": false,
  1680. "widthHeightSync": false
  1681. },
  1682. "printElementType": {
  1683. "title": "竖线",
  1684. "type": "vline"
  1685. }
  1686. },
  1687. {
  1688. "options": {
  1689. "left": 577,
  1690. "top": 164,
  1691. "height": 38,
  1692. "width": 9,
  1693. "right": 577.1110975477427,
  1694. "bottom": 208.05555301242396,
  1695. "vCenter": 572.6110975477427,
  1696. "hCenter": 188.55555301242396,
  1697. "coordinateSync": false,
  1698. "widthHeightSync": false
  1699. },
  1700. "printElementType": {
  1701. "title": "竖线",
  1702. "type": "vline"
  1703. }
  1704. },
  1705. {
  1706. "options": {
  1707. "left": 684,
  1708. "top": 164,
  1709. "height": 38,
  1710. "width": 9,
  1711. "coordinateSync": false,
  1712. "widthHeightSync": false,
  1713. "right": 689.3889295789927,
  1714. "bottom": 207.27777184380417,
  1715. "vCenter": 684.8889295789927,
  1716. "hCenter": 190.77777184380417
  1717. },
  1718. "printElementType": {
  1719. "title": "竖线",
  1720. "type": "vline"
  1721. }
  1722. },
  1723. {
  1724. "options": {
  1725. "left": 830,
  1726. "top": 164,
  1727. "height": 39,
  1728. "width": 9,
  1729. "right": 863.478268830672,
  1730. "bottom": 259.63042881177813,
  1731. "vCenter": 858.978268830672,
  1732. "hCenter": 214.63042881177813,
  1733. "coordinateSync": false,
  1734. "widthHeightSync": false
  1735. },
  1736. "printElementType": {
  1737. "title": "竖线",
  1738. "type": "vline"
  1739. }
  1740. },
  1741. {
  1742. "options": {
  1743. "left": 48,
  1744. "top": 165,
  1745. "height": 12,
  1746. "width": 245,
  1747. "title": "印件代号及名称",
  1748. "coordinateSync": false,
  1749. "widthHeightSync": false,
  1750. "textAlign": "center",
  1751. "textContentVerticalAlign": "middle",
  1752. "qrCodeLevel": 0,
  1753. "right": 275.36842105263156,
  1754. "bottom": 173.6447371432655,
  1755. "vCenter": 161.36842105263156,
  1756. "hCenter": 168.7697371432655
  1757. },
  1758. "printElementType": {
  1759. "title": "文本",
  1760. "type": "text"
  1761. }
  1762. },
  1763. {
  1764. "options": {
  1765. "left": 299,
  1766. "top": 165,
  1767. "height": 12,
  1768. "width": 48,
  1769. "title": "平张投料量",
  1770. "right": 343.93882242838527,
  1771. "bottom": 186.1111119588215,
  1772. "vCenter": 317.43882242838527,
  1773. "hCenter": 180.1111119588215,
  1774. "coordinateSync": false,
  1775. "widthHeightSync": false,
  1776. "textAlign": "center",
  1777. "textContentVerticalAlign": "middle",
  1778. "qrCodeLevel": 0
  1779. },
  1780. "printElementType": {
  1781. "title": "文本",
  1782. "type": "text"
  1783. }
  1784. },
  1785. {
  1786. "options": {
  1787. "left": 350,
  1788. "top": 165,
  1789. "height": 12,
  1790. "width": 227,
  1791. "title": "纸张名称",
  1792. "right": 566.8832600911456,
  1793. "bottom": 186.66666751437708,
  1794. "vCenter": 457.88326009114564,
  1795. "hCenter": 180.66666751437708,
  1796. "coordinateSync": false,
  1797. "widthHeightSync": false,
  1798. "textAlign": "center",
  1799. "textContentVerticalAlign": "middle",
  1800. "qrCodeLevel": 0
  1801. },
  1802. "printElementType": {
  1803. "title": "文本",
  1804. "type": "text"
  1805. }
  1806. },
  1807. {
  1808. "options": {
  1809. "left": 579,
  1810. "top": 165,
  1811. "height": 12,
  1812. "width": 75,
  1813. "title": "投料规格",
  1814. "coordinateSync": false,
  1815. "widthHeightSync": false,
  1816. "textAlign": "center",
  1817. "textContentVerticalAlign": "middle",
  1818. "qrCodeLevel": 0,
  1819. "right": 647.7222629123262,
  1820. "bottom": 186.3888897365993,
  1821. "vCenter": 609.4722629123262,
  1822. "hCenter": 180.3888897365993
  1823. },
  1824. "printElementType": {
  1825. "title": "文本",
  1826. "type": "text"
  1827. }
  1828. },
  1829. {
  1830. "options": {
  1831. "left": 656,
  1832. "top": 165,
  1833. "height": 12,
  1834. "width": 27,
  1835. "title": "联数",
  1836. "right": 678.6054823133676,
  1837. "bottom": 186.66666751437708,
  1838. "vCenter": 663.6054823133676,
  1839. "hCenter": 180.66666751437708,
  1840. "coordinateSync": false,
  1841. "widthHeightSync": false,
  1842. "textAlign": "center",
  1843. "textContentVerticalAlign": "middle",
  1844. "qrCodeLevel": 0
  1845. },
  1846. "printElementType": {
  1847. "title": "文本",
  1848. "type": "text"
  1849. }
  1850. },
  1851. {
  1852. "options": {
  1853. "left": 686,
  1854. "top": 165,
  1855. "height": 12,
  1856. "width": 27,
  1857. "title": "开数",
  1858. "right": 713.9388020833329,
  1859. "bottom": 186.55554962158195,
  1860. "vCenter": 698.9388020833329,
  1861. "hCenter": 180.55554962158195,
  1862. "coordinateSync": false,
  1863. "widthHeightSync": false,
  1864. "textAlign": "center",
  1865. "textContentVerticalAlign": "middle",
  1866. "qrCodeLevel": 0
  1867. },
  1868. "printElementType": {
  1869. "title": "文本",
  1870. "type": "text"
  1871. }
  1872. },
  1873. {
  1874. "options": {
  1875. "left": 712.5,
  1876. "top": 165,
  1877. "height": 38,
  1878. "width": 5,
  1879. "right": 720.9943983289927,
  1880. "bottom": 208.7777786254882,
  1881. "vCenter": 718.4943983289927,
  1882. "hCenter": 192.2777786254882,
  1883. "coordinateSync": false,
  1884. "widthHeightSync": false
  1885. },
  1886. "printElementType": {
  1887. "title": "竖线",
  1888. "type": "vline"
  1889. }
  1890. },
  1891. {
  1892. "options": {
  1893. "left": 714,
  1894. "top": 165,
  1895. "height": 12,
  1896. "width": 116,
  1897. "title": "备注",
  1898. "right": 832.6054551866315,
  1899. "bottom": 187.22222306993262,
  1900. "vCenter": 775.1054551866315,
  1901. "hCenter": 181.22222306993262,
  1902. "coordinateSync": false,
  1903. "widthHeightSync": false,
  1904. "textAlign": "center",
  1905. "textContentVerticalAlign": "middle",
  1906. "qrCodeLevel": 0
  1907. },
  1908. "printElementType": {
  1909. "title": "文本",
  1910. "type": "text"
  1911. }
  1912. },
  1913. {
  1914. "options": {
  1915. "left": 17,
  1916. "top": 166,
  1917. "height": 12,
  1918. "width": 27,
  1919. "title": "印件",
  1920. "coordinateSync": false,
  1921. "widthHeightSync": false,
  1922. "textAlign": "center",
  1923. "textContentVerticalAlign": "middle",
  1924. "qrCodeLevel": 0,
  1925. "right": 41.05263639751233,
  1926. "bottom": 177.39473232470056,
  1927. "vCenter": 25.30263639751233,
  1928. "hCenter": 171.39473232470056
  1929. },
  1930. "printElementType": {
  1931. "title": "文本",
  1932. "type": "text"
  1933. }
  1934. },
  1935. {
  1936. "options": {
  1937. "left": 15,
  1938. "top": 178.5,
  1939. "height": 9,
  1940. "width": 815,
  1941. "borderWidth": "0.75",
  1942. "right": 516.3749999999998,
  1943. "bottom": 185.24998855590812,
  1944. "vCenter": 471.37499999999983,
  1945. "hCenter": 180.74998855590812,
  1946. "coordinateSync": false,
  1947. "widthHeightSync": false
  1948. },
  1949. "printElementType": {
  1950. "title": "横线",
  1951. "type": "hline"
  1952. }
  1953. },
  1954. {
  1955. "options": {
  1956. "left": 350,
  1957. "top": 180,
  1958. "height": 12,
  1959. "width": 227,
  1960. "title": "文本",
  1961. "right": 481.50000214576704,
  1962. "bottom": 188.99998855590812,
  1963. "vCenter": 421.50000214576704,
  1964. "hCenter": 184.12498855590812,
  1965. "field": "zzmc",
  1966. "coordinateSync": false,
  1967. "widthHeightSync": false,
  1968. "hideTitle": true,
  1969. "textContentVerticalAlign": "middle",
  1970. "qrCodeLevel": 0,
  1971. "textContentWrap": "clip"
  1972. },
  1973. "printElementType": {
  1974. "title": "文本",
  1975. "type": "text"
  1976. }
  1977. },
  1978. {
  1979. "options": {
  1980. "left": 579,
  1981. "top": 180,
  1982. "height": 12,
  1983. "width": 75,
  1984. "title": "文本",
  1985. "field": "tlgg",
  1986. "coordinateSync": false,
  1987. "widthHeightSync": false,
  1988. "hideTitle": true,
  1989. "textContentVerticalAlign": "middle",
  1990. "qrCodeLevel": 0,
  1991. "textAlign": "center",
  1992. "textContentWrap": "clip",
  1993. "right": 645.4388156467011,
  1994. "bottom": 204.2777854071722,
  1995. "vCenter": 607.4388156467011,
  1996. "hCenter": 198.2777854071722
  1997. },
  1998. "printElementType": {
  1999. "title": "文本",
  2000. "type": "text"
  2001. }
  2002. },
  2003. {
  2004. "options": {
  2005. "left": 656,
  2006. "top": 180,
  2007. "height": 12,
  2008. "width": 27,
  2009. "title": "文本",
  2010. "field": "ls",
  2011. "coordinateSync": false,
  2012. "widthHeightSync": false,
  2013. "hideTitle": true,
  2014. "textAlign": "center",
  2015. "textContentVerticalAlign": "middle",
  2016. "qrCodeLevel": 0,
  2017. "right": 679.8276774088538,
  2018. "bottom": 205.49999745686839,
  2019. "vCenter": 664.8276774088538,
  2020. "hCenter": 199.49999745686839,
  2021. "textContentWrap": "clip"
  2022. },
  2023. "printElementType": {
  2024. "title": "文本",
  2025. "type": "text"
  2026. }
  2027. },
  2028. {
  2029. "options": {
  2030. "left": 685.5,
  2031. "top": 180,
  2032. "height": 12,
  2033. "width": 27,
  2034. "title": "文本",
  2035. "field": "ks",
  2036. "coordinateSync": false,
  2037. "widthHeightSync": false,
  2038. "hideTitle": true,
  2039. "textAlign": "center",
  2040. "textContentVerticalAlign": "middle",
  2041. "qrCodeLevel": 0,
  2042. "right": 715.1249999999997,
  2043. "bottom": 188.99998855590815,
  2044. "vCenter": 700.1249999999997,
  2045. "hCenter": 182.99998855590815,
  2046. "textContentWrap": "clip"
  2047. },
  2048. "printElementType": {
  2049. "title": "文本",
  2050. "type": "text"
  2051. }
  2052. },
  2053. {
  2054. "options": {
  2055. "left": 714,
  2056. "top": 180,
  2057. "height": 12,
  2058. "width": 116,
  2059. "title": "文本",
  2060. "right": 833.5499403211802,
  2061. "bottom": 205.1111187405055,
  2062. "vCenter": 776.0499403211802,
  2063. "hCenter": 199.1111187405055,
  2064. "field": "bz",
  2065. "coordinateSync": false,
  2066. "widthHeightSync": false,
  2067. "hideTitle": true,
  2068. "qrCodeLevel": 0,
  2069. "textContentWrap": "clip"
  2070. },
  2071. "printElementType": {
  2072. "title": "文本",
  2073. "type": "text"
  2074. }
  2075. },
  2076. {
  2077. "options": {
  2078. "left": 296,
  2079. "top": 181,
  2080. "height": 14,
  2081. "width": 52,
  2082. "title": "文本",
  2083. "right": 348.7222425672742,
  2084. "bottom": 193.22222985161665,
  2085. "vCenter": 322.7222425672742,
  2086. "hCenter": 186.22222985161665,
  2087. "field": "pztll",
  2088. "coordinateSync": false,
  2089. "widthHeightSync": false,
  2090. "hideTitle": true,
  2091. "textAlign": "center",
  2092. "textContentVerticalAlign": "middle",
  2093. "qrCodeLevel": 0
  2094. },
  2095. "printElementType": {
  2096. "title": "文本",
  2097. "type": "text"
  2098. }
  2099. },
  2100. {
  2101. "options": {
  2102. "left": 17,
  2103. "top": 182,
  2104. "height": 12,
  2105. "width": 27,
  2106. "title": "文本",
  2107. "coordinateSync": false,
  2108. "widthHeightSync": false,
  2109. "textAlign": "center",
  2110. "textContentVerticalAlign": "middle",
  2111. "qrCodeLevel": 0,
  2112. "right": 40.24999999999999,
  2113. "bottom": 192.99608612060536,
  2114. "vCenter": 24.749999999999993,
  2115. "hCenter": 186.99608612060536,
  2116. "field": "yjh",
  2117. "hideTitle": true
  2118. },
  2119. "printElementType": {
  2120. "title": "文本",
  2121. "type": "text"
  2122. }
  2123. },
  2124. {
  2125. "options": {
  2126. "left": 47,
  2127. "top": 182,
  2128. "height": 12,
  2129. "width": 247,
  2130. "title": "文本",
  2131. "field": "thdhjmc",
  2132. "coordinateSync": false,
  2133. "widthHeightSync": false,
  2134. "hideTitle": true,
  2135. "textContentVerticalAlign": "middle",
  2136. "qrCodeLevel": 0,
  2137. "right": 287.125,
  2138. "bottom": 190.12498855590812,
  2139. "vCenter": 168.12499999999997,
  2140. "hCenter": 184.12498855590812,
  2141. "textContentWrap": "clip"
  2142. },
  2143. "printElementType": {
  2144. "title": "文本",
  2145. "type": "text"
  2146. }
  2147. },
  2148. {
  2149. "options": {
  2150. "left": 15,
  2151. "top": 202,
  2152. "height": 9,
  2153. "width": 816,
  2154. "borderWidth": "0.75",
  2155. "coordinateSync": false,
  2156. "widthHeightSync": false,
  2157. "right": 936,
  2158. "bottom": 217.49999879535866,
  2159. "vCenter": 468,
  2160. "hCenter": 212.99999879535866
  2161. },
  2162. "printElementType": {
  2163. "title": "横线",
  2164. "type": "hline"
  2165. }
  2166. },
  2167. {
  2168. "options": {
  2169. "left": 15,
  2170. "top": 207,
  2171. "height": 151.5,
  2172. "width": 816,
  2173. "field": "table1",
  2174. "coordinateSync": false,
  2175. "widthHeightSync": false,
  2176. "textAlign": "center",
  2177. "tableHeaderBackground": "#ffffff",
  2178. "autoCompletion": true,
  2179. "right": 839.3181776566939,
  2180. "bottom": 371.3181818181818,
  2181. "vCenter": 420.8181776566939,
  2182. "hCenter": 297.8181818181818,
  2183. "maxRows": 12,
  2184. "gridColumns": 2,
  2185. "columns": [
  2186. [
  2187. {
  2188. "width": 306.2256573863597,
  2189. "title": "物料代码及名称",
  2190. "titleSync": true,
  2191. "field": "wldmjmc",
  2192. "checked": true,
  2193. "columnId": "wldmjmc",
  2194. "fixed": false,
  2195. "rowspan": 1,
  2196. "colspan": 1,
  2197. "align": "left",
  2198. "halign": "left",
  2199. "vAlign": "middle",
  2200. "tableQRCodeLevel": 0,
  2201. "tableSummaryTitle": true,
  2202. "tableSummary": "",
  2203. "tableSummaryAlign": "justify"
  2204. },
  2205. {
  2206. "width": 64.2564983208363,
  2207. "title": "计划用量",
  2208. "titleSync": false,
  2209. "field": "jhyl",
  2210. "checked": true,
  2211. "columnId": "jhyl",
  2212. "fixed": false,
  2213. "rowspan": 1,
  2214. "colspan": 1,
  2215. "tableQRCodeLevel": 0,
  2216. "tableSummaryTitle": true,
  2217. "tableSummary": ""
  2218. },
  2219. {
  2220. "width": 37.51784429280394,
  2221. "title": "单位",
  2222. "titleSync": false,
  2223. "field": "dw",
  2224. "checked": true,
  2225. "columnId": "dw",
  2226. "fixed": false,
  2227. "rowspan": 1,
  2228. "colspan": 1,
  2229. "align": "center",
  2230. "halign": "center",
  2231. "vAlign": "middle",
  2232. "tableQRCodeLevel": 0,
  2233. "tableSummaryTitle": true,
  2234. "tableSummary": ""
  2235. },
  2236. {
  2237. "width": 85.97291065362847,
  2238. "title": "物料代码及名称",
  2239. "titleSync": false,
  2240. "field": "wldmjmc1",
  2241. "checked": false,
  2242. "columnId": "wldmjmc1",
  2243. "fixed": false,
  2244. "rowspan": 1,
  2245. "colspan": 1,
  2246. "tableQRCodeLevel": 0,
  2247. "tableSummaryTitle": true,
  2248. "tableSummary": ""
  2249. },
  2250. {
  2251. "width": 107.88106549200486,
  2252. "title": "计划用量",
  2253. "titleSync": false,
  2254. "field": "jhyl1",
  2255. "checked": false,
  2256. "columnId": "jhyl1",
  2257. "fixed": false,
  2258. "rowspan": 1,
  2259. "colspan": 1,
  2260. "tableQRCodeLevel": 0,
  2261. "tableSummaryTitle": true,
  2262. "tableSummary": ""
  2263. },
  2264. {
  2265. "width": 170.29501525940995,
  2266. "title": "单位",
  2267. "titleSync": false,
  2268. "field": "dw1",
  2269. "checked": false,
  2270. "columnId": "dw1",
  2271. "fixed": false,
  2272. "rowspan": 1,
  2273. "colspan": 1,
  2274. "tableQRCodeLevel": 0,
  2275. "tableSummaryTitle": true,
  2276. "tableSummary": ""
  2277. },
  2278. {
  2279. "width": 85.25,
  2280. "checked": false,
  2281. "fixed": false,
  2282. "rowspan": 1,
  2283. "colspan": 1
  2284. },
  2285. {
  2286. "width": 85.25,
  2287. "checked": false,
  2288. "fixed": false,
  2289. "rowspan": 1,
  2290. "colspan": 1
  2291. }
  2292. ]
  2293. ]
  2294. },
  2295. "printElementType": {
  2296. "title": "表格",
  2297. "type": "table",
  2298. "editable": true,
  2299. "columnDisplayEditable": true,
  2300. "columnDisplayIndexEditable": true,
  2301. "columnTitleEditable": true,
  2302. "columnResizable": true,
  2303. "columnAlignEditable": true,
  2304. "isEnableEditField": true,
  2305. "isEnableContextMenu": true,
  2306. "isEnableInsertRow": true,
  2307. "isEnableDeleteRow": true,
  2308. "isEnableInsertColumn": true,
  2309. "isEnableDeleteColumn": true,
  2310. "isEnableMergeCell": true
  2311. }
  2312. },
  2313. {
  2314. "options": {
  2315. "left": 15,
  2316. "top": 372,
  2317. "height": 91.5,
  2318. "width": 816,
  2319. "right": 833.5,
  2320. "bottom": 466.83333333333337,
  2321. "vCenter": 425.5,
  2322. "hCenter": 370.08333333333337,
  2323. "field": "table2",
  2324. "coordinateSync": false,
  2325. "widthHeightSync": false,
  2326. "tableHeaderBackground": "#ffffff",
  2327. "columns": [
  2328. [
  2329. {
  2330. "width": 300.1855077418251,
  2331. "title": "印件及工序名称",
  2332. "titleSync": false,
  2333. "field": "yjjgxmc",
  2334. "checked": true,
  2335. "columnId": "yjjgxmc",
  2336. "fixed": false,
  2337. "rowspan": 1,
  2338. "colspan": 1,
  2339. "tableQRCodeLevel": 0,
  2340. "tableSummaryTitle": true,
  2341. "tableSummary": ""
  2342. },
  2343. {
  2344. "width": 54.48396735336328,
  2345. "title": "转序数(张)",
  2346. "titleSync": false,
  2347. "field": "zxs",
  2348. "checked": true,
  2349. "columnId": "zxs",
  2350. "fixed": false,
  2351. "rowspan": 1,
  2352. "colspan": 1,
  2353. "tableQRCodeLevel": 0,
  2354. "tableSummaryTitle": true,
  2355. "tableSummary": ""
  2356. },
  2357. {
  2358. "width": 45.53587180900963,
  2359. "title": "报废定额",
  2360. "titleSync": false,
  2361. "field": "bfde",
  2362. "checked": true,
  2363. "columnId": "bfde",
  2364. "fixed": false,
  2365. "rowspan": 1,
  2366. "colspan": 1,
  2367. "tableQRCodeLevel": 0,
  2368. "tableSummaryTitle": true,
  2369. "tableSummary": ""
  2370. },
  2371. {
  2372. "width": 46.13787813620061,
  2373. "title": "允许比例",
  2374. "titleSync": false,
  2375. "field": "yxbl",
  2376. "checked": true,
  2377. "columnId": "yxbl",
  2378. "fixed": false,
  2379. "rowspan": 1,
  2380. "colspan": 1,
  2381. "tableQRCodeLevel": 0,
  2382. "tableSummaryTitle": true,
  2383. "tableSummary": ""
  2384. },
  2385. {
  2386. "width": 46.26871540323957,
  2387. "title": "损耗系数",
  2388. "titleSync": false,
  2389. "field": "shxs",
  2390. "checked": true,
  2391. "columnId": "shxs",
  2392. "fixed": false,
  2393. "rowspan": 1,
  2394. "colspan": 1,
  2395. "tableQRCodeLevel": 0,
  2396. "tableSummaryTitle": true,
  2397. "tableSummary": ""
  2398. },
  2399. {
  2400. "width": 45.722331785648365,
  2401. "title": "装板工时",
  2402. "titleSync": false,
  2403. "field": "zbgs",
  2404. "checked": true,
  2405. "columnId": "zbgs",
  2406. "fixed": false,
  2407. "rowspan": 1,
  2408. "colspan": 1,
  2409. "tableQRCodeLevel": 0,
  2410. "tableSummaryTitle": true,
  2411. "tableSummary": ""
  2412. },
  2413. {
  2414. "width": 45.902414161246085,
  2415. "title": "小时定额",
  2416. "titleSync": false,
  2417. "field": "xsde",
  2418. "checked": true,
  2419. "columnId": "xsde",
  2420. "fixed": false,
  2421. "rowspan": 1,
  2422. "colspan": 1,
  2423. "tableQRCodeLevel": 0,
  2424. "tableSummaryTitle": true,
  2425. "tableSummary": ""
  2426. },
  2427. {
  2428. "width": 51.093669275306894,
  2429. "title": "生产工时",
  2430. "titleSync": false,
  2431. "field": "scgs",
  2432. "checked": true,
  2433. "columnId": "scgs",
  2434. "fixed": false,
  2435. "rowspan": 1,
  2436. "colspan": 1,
  2437. "tableQRCodeLevel": 0,
  2438. "tableSummaryTitle": true,
  2439. "tableSummary": ""
  2440. },
  2441. {
  2442. "width": 180.66964433416047,
  2443. "title": "备注",
  2444. "titleSync": false,
  2445. "field": "bz",
  2446. "checked": true,
  2447. "columnId": "bz",
  2448. "fixed": false,
  2449. "rowspan": 1,
  2450. "colspan": 1,
  2451. "align": "center",
  2452. "halign": "center",
  2453. "vAlign": "middle",
  2454. "tableQRCodeLevel": 0,
  2455. "tableSummaryTitle": true,
  2456. "tableSummary": ""
  2457. }
  2458. ]
  2459. ]
  2460. },
  2461. "printElementType": {
  2462. "title": "表格",
  2463. "type": "table",
  2464. "editable": true,
  2465. "columnDisplayEditable": true,
  2466. "columnDisplayIndexEditable": true,
  2467. "columnTitleEditable": true,
  2468. "columnResizable": true,
  2469. "columnAlignEditable": true,
  2470. "isEnableEditField": true,
  2471. "isEnableContextMenu": true,
  2472. "isEnableInsertRow": true,
  2473. "isEnableDeleteRow": true,
  2474. "isEnableInsertColumn": true,
  2475. "isEnableDeleteColumn": true,
  2476. "isEnableMergeCell": true
  2477. }
  2478. },
  2479. {
  2480. "options": {
  2481. "left": 15,
  2482. "top": 524,
  2483. "height": 14,
  2484. "width": 45,
  2485. "title": "制单:",
  2486. "coordinateSync": false,
  2487. "widthHeightSync": false,
  2488. "fontSize": 12,
  2489. "textAlign": "center",
  2490. "textContentVerticalAlign": "middle",
  2491. "qrCodeLevel": 0,
  2492. "right": 45.54545038396662,
  2493. "bottom": 559.9999916770241,
  2494. "vCenter": 29.045450383966617,
  2495. "hCenter": 552.9999916770241
  2496. },
  2497. "printElementType": {
  2498. "title": "文本",
  2499. "type": "text"
  2500. }
  2501. },
  2502. {
  2503. "options": {
  2504. "left": 64.5,
  2505. "top": 524,
  2506. "height": 14,
  2507. "width": 120,
  2508. "title": "文本",
  2509. "right": 170.31817349520597,
  2510. "bottom": 559.0454711914062,
  2511. "vCenter": 110.31817349520597,
  2512. "hCenter": 552.0454711914062,
  2513. "field": "zdr",
  2514. "coordinateSync": false,
  2515. "widthHeightSync": false,
  2516. "hideTitle": true,
  2517. "fontSize": 12,
  2518. "textContentVerticalAlign": "middle",
  2519. "qrCodeLevel": 0
  2520. },
  2521. "printElementType": {
  2522. "title": "文本",
  2523. "type": "text"
  2524. }
  2525. },
  2526. {
  2527. "options": {
  2528. "left": 396,
  2529. "top": 524,
  2530. "height": 14,
  2531. "width": 40.5,
  2532. "title": "审核:",
  2533. "right": 515.8636405251243,
  2534. "bottom": 559.3181734952059,
  2535. "vCenter": 455.8636405251243,
  2536. "hCenter": 552.3181734952059,
  2537. "coordinateSync": false,
  2538. "widthHeightSync": false,
  2539. "fontSize": 12,
  2540. "textAlign": "center",
  2541. "textContentVerticalAlign": "middle",
  2542. "qrCodeLevel": 0
  2543. },
  2544. "printElementType": {
  2545. "title": "文本",
  2546. "type": "text"
  2547. }
  2548. },
  2549. {
  2550. "options": {
  2551. "left": 436.5,
  2552. "top": 524,
  2553. "height": 14,
  2554. "width": 120,
  2555. "title": "文本",
  2556. "right": 559.2421875,
  2557. "bottom": 557.99609375,
  2558. "vCenter": 499.2421875,
  2559. "hCenter": 550.99609375,
  2560. "field": "shr",
  2561. "coordinateSync": false,
  2562. "widthHeightSync": false,
  2563. "hideTitle": true,
  2564. "fontSize": 12,
  2565. "textContentVerticalAlign": "middle",
  2566. "qrCodeLevel": 0
  2567. },
  2568. "printElementType": {
  2569. "title": "文本",
  2570. "type": "text"
  2571. }
  2572. }
  2573. ],
  2574. "paperNumberLeft": 565.5,
  2575. "paperNumberTop": 573,
  2576. "paperNumberDisabled": true,
  2577. "paperNumberContinue": true,
  2578. "backgroundColor": "#ffffff",
  2579. "overPrintOptions": {
  2580. "content": "",
  2581. "opacity": 0.7,
  2582. "type": 1
  2583. },
  2584. "watermarkOptions": {
  2585. "content": "",
  2586. "fillStyle": "rgba(255, 255, 255, 1)",
  2587. "fontSize": "36px",
  2588. "rotate": 25,
  2589. "width": 413,
  2590. "height": 310,
  2591. "timestamp": false,
  2592. "format": "YYYY-MM-DD HH:mm"
  2593. }
  2594. }
  2595. ]
  2596. }
  2597. hiprint.init()
  2598. const hiprintTemplate = new hiprint.PrintTemplate({ template: jsondata })
  2599. const cp_print_handleConfirm = async () => {
  2600. let params = {};
  2601. //2310707
  2602. //2012127
  2603. params.workOrder = form['gdbh'];
  2604. params.PrepareDocument = form['zd'];
  2605. params.examine = form['sh'];
  2606. params.yjno = form['yjno'];
  2607. params.gxh = form['gxh'];
  2608. //调用打印接口【打印作业通知单】
  2609. const print_PrintJobOrder = await PrintJobOrder(params);
  2610. console.log(print_PrintJobOrder)
  2611. if(print_PrintJobOrder.data === null){
  2612. ElMessage({type: 'error',message: print_PrintJobOrder.msg})
  2613. }
  2614. // 获取当前日期
  2615. const today = new Date();
  2616. const year = today.getFullYear();
  2617. const month = String(today.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要补零
  2618. const day = String(today.getDate()).padStart(2, '0');
  2619. const hours = String(today.getHours()).padStart(2, '0');
  2620. const minutes = String(today.getMinutes()).padStart(2, '0');
  2621. const seconds = String(today.getSeconds()).padStart(2, '0');
  2622. const currentDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
  2623. const printdata = {
  2624. "minong": "https://shangbiaopic.11467.com/13/85/13855845.jpg",
  2625. "printcode":print_PrintJobOrder.data['二维码'],
  2626. "dysj":currentDate,
  2627. "scpch":print_PrintJobOrder.data['生产批次号'],
  2628. "xsddh":print_PrintJobOrder.data['生产批次号'],
  2629. // "xsddh":print_PrintJobOrder.data['销售订单号'],
  2630. "khdh": print_PrintJobOrder.data['客户代码'],
  2631. "khmc": print_PrintJobOrder.data['客户名称'],
  2632. "cpdm": print_PrintJobOrder.data['产品代码'],
  2633. "cpmc": print_PrintJobOrder.data['产品名称'],
  2634. "bbh": print_PrintJobOrder.data['版本号'],
  2635. "jybm": print_PrintJobOrder.data['警语版面'],
  2636. "mysl": print_PrintJobOrder.data['码源数量'],
  2637. "kherpbm": print_PrintJobOrder.data['客户ERP编码'],
  2638. "kdrq": print_PrintJobOrder.data['开单日期'],
  2639. "jhrq": print_PrintJobOrder.data['交货日期'],
  2640. "pzll": print_PrintJobOrder.data['平张投料量'],
  2641. "gdsm":print_PrintJobOrder.data['工单说明'],
  2642. "tll":print_PrintJobOrder.data['投料率'],
  2643. "mbhgl":print_PrintJobOrder.data['目标合格率'],
  2644. "pjhgl":print_PrintJobOrder.data['平均合格率'],
  2645. "dhsl":print_PrintJobOrder.data['订货数量'],
  2646. "kcsl":print_PrintJobOrder.data['库存数量'],
  2647. "tlsl":print_PrintJobOrder.data['投料数量'],
  2648. "yjh":print_PrintJobOrder.data['印件'],
  2649. "thdhjmc":print_PrintJobOrder.data['印件代号及名称'],
  2650. "pztll":print_PrintJobOrder.data['平张投料量'],
  2651. "zzmc":print_PrintJobOrder.data['纸张名称'],
  2652. "tlgg":print_PrintJobOrder.data['投料规格'],
  2653. "ks":print_PrintJobOrder.data['开数'],
  2654. "ls":print_PrintJobOrder.data['联数'],
  2655. "bz":print_PrintJobOrder.data['印件备注'],
  2656. 'table1': print_PrintJobOrder.data.materiel.map(item => ({
  2657. 'wldmjmc': item.物料代码及名称,
  2658. 'jhyl': item['计划用量'].toFixed(2),
  2659. 'dw': item['投料单位'],
  2660. })),
  2661. 'table2': print_PrintJobOrder.data.printDetail.map(item => ({
  2662. 'yjjgxmc': item.印件及工序名称,
  2663. 'zxs': item['转序数'],
  2664. 'bfde': item['报废定额'],
  2665. 'yxbl': item['允损比例'],
  2666. 'shxs': item['损耗系数'],
  2667. 'zbgs': item['装版工时'],
  2668. 'xsde': item['小时定额'],
  2669. 'scgs': item['生产工时'],
  2670. 'bz': item['工序备注'],
  2671. })),
  2672. "shr":form['sh'],
  2673. "zdr":form['zd']
  2674. }
  2675. hiprintTemplate.print(printdata);
  2676. // cp_print_gdlist.value = false;
  2677. }
  2678. defineExpose({ open })
  2679. </script>
  2680. <style scoped>
  2681. :deep(.el-table td .cell) {
  2682. line-height: 20px !important;
  2683. }
  2684. :deep(.el-tabs__header){
  2685. margin-bottom: 0;
  2686. }
  2687. .search{
  2688. margin-left: 0px !important;
  2689. margin-right: 10px !important;
  2690. }
  2691. .bt{
  2692. margin-left: 2px !important;
  2693. padding: 3px !important;
  2694. font-size: 12px;
  2695. }
  2696. .el-tabs__header{
  2697. margin: 0px !important;
  2698. }
  2699. .gva-table-box{
  2700. padding: 0px !important;
  2701. }
  2702. .el-pagination{
  2703. margin-top: 0px !important;
  2704. }
  2705. .mab{
  2706. margin-bottom: 5px;
  2707. }
  2708. </style>