print.vue 132 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720
  1. <template>
  2. <!--工单打印【弹窗】-->
  3. <el-dialog v-model="visibie" title="生产工单打印" style="width: 37%">
  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: 360px;" />
  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: 360px;" />
  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: 360px;"/>
  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. // 获取最大的工序号
  97. const maxProcessCode = res.data.reduce((max, item) => {
  98. const currentValue = parseInt(item["工序号"], 10); // 将工序号转为数字
  99. return currentValue > max ? currentValue : max; // 比较大小并返回较大的值
  100. }, 0); // 初始值为 0
  101. console.log("最大的工序号:", maxProcessCode);
  102. form['gxh'] = maxProcessCode
  103. gxlist.value = res.data
  104. }
  105. }
  106. //json打印表格数据
  107. const jsondata = {
  108. "panels": [
  109. {
  110. "index": 0,
  111. "name": 1,
  112. "paperType": "A4",
  113. "height": 210,
  114. "width": 297,
  115. "paperHeader": 162,
  116. "paperFooter": 516,
  117. "printElements": [
  118. {
  119. "options": {
  120. "left": 15,
  121. "top": 6,
  122. "height": 40,
  123. "width": 40,
  124. "field": "minong",
  125. "src": "https://shangbiaopic.11467.com/13/85/13855845.jpg",
  126. "fit": "contain",
  127. "coordinateSync": false,
  128. "widthHeightSync": false,
  129. "right": 65,
  130. "bottom": 50.807688786433296,
  131. "vCenter": 40,
  132. "hCenter": 25.807688786433292
  133. },
  134. "printElementType": {
  135. "title": "图片",
  136. "type": "image"
  137. }
  138. },
  139. {
  140. "options": {
  141. "left": 510,
  142. "top": 6,
  143. "height": 40.5,
  144. "width": 211.5,
  145. "title": "文本",
  146. "right": 723.75,
  147. "bottom": 46.5,
  148. "vCenter": 618,
  149. "hCenter": 26.25,
  150. "field": "ztlx",
  151. "coordinateSync": false,
  152. "widthHeightSync": false,
  153. "hideTitle": true,
  154. "fontSize": 21,
  155. "fontWeight": "bold",
  156. "color": "#ff1414",
  157. "textAlign": "center",
  158. "textContentVerticalAlign": "middle",
  159. "qrCodeLevel": 0
  160. },
  161. "printElementType": {
  162. "title": "文本",
  163. "type": "text"
  164. }
  165. },
  166. {
  167. "options": {
  168. "left": 756,
  169. "top": 10.5,
  170. "height": 56,
  171. "width": 56,
  172. "textAlign": "center",
  173. "title": "二维码",
  174. "right": 817.6363761208273,
  175. "bottom": 54.13636363636363,
  176. "vCenter": 789.8863761208273,
  177. "hCenter": 26.386363636363637,
  178. "field": "printcode",
  179. "testData": "2401191",
  180. "coordinateSync": false,
  181. "widthHeightSync": false,
  182. "hideTitle": true
  183. },
  184. "printElementType": {
  185. "title": "二维码",
  186. "type": "qrcode"
  187. }
  188. },
  189. {
  190. "options": {
  191. "left": 57,
  192. "top": 12,
  193. "height": 14,
  194. "width": 180,
  195. "title": "浙江翌星包装科技有限公司",
  196. "coordinateSync": false,
  197. "widthHeightSync": false,
  198. "fontSize": 13.5,
  199. "textContentVerticalAlign": "middle",
  200. "qrCodeLevel": 0,
  201. "right": 247.61537405160757,
  202. "bottom": 27.999999999999996,
  203. "vCenter": 157.61537405160757,
  204. "hCenter": 21.499999999999996
  205. },
  206. "printElementType": {
  207. "title": "文本",
  208. "type": "text"
  209. }
  210. },
  211. {
  212. "options": {
  213. "left": 319.5,
  214. "top": 12,
  215. "height": 30,
  216. "width": 168,
  217. "title": "生产作业通知单",
  218. "coordinateSync": false,
  219. "widthHeightSync": false,
  220. "fontSize": 16.5,
  221. "color": "#000000",
  222. "textAlign": "center",
  223. "textContentVerticalAlign": "middle",
  224. "qrCodeLevel": 0,
  225. "right": 486.94683837890614,
  226. "bottom": 42.0000017606295,
  227. "vCenter": 402.94683837890614,
  228. "hCenter": 27.0000017606295,
  229. "fontWeight": "bold"
  230. },
  231. "printElementType": {
  232. "title": "文本",
  233. "type": "text"
  234. }
  235. },
  236. {
  237. "options": {
  238. "left": 57,
  239. "top": 28.5,
  240. "height": 9.75,
  241. "width": 209,
  242. "title": "ZHEJIANG YIXING CENTURY GROUP CO.LTD.",
  243. "coordinateSync": false,
  244. "widthHeightSync": false,
  245. "fontSize": 7.5,
  246. "textContentVerticalAlign": "middle",
  247. "qrCodeLevel": 0,
  248. "right": 280.99999295748194,
  249. "bottom": 40.326923076923066,
  250. "vCenter": 176.49999295748196,
  251. "hCenter": 35.451923076923066
  252. },
  253. "printElementType": {
  254. "title": "文本",
  255. "type": "text"
  256. }
  257. },
  258. {
  259. "options": {
  260. "left": 259.5,
  261. "top": 51,
  262. "height": 16,
  263. "width": 250.5,
  264. "title": "文本",
  265. "right": 509.4468955993651,
  266. "bottom": 67.02812528610227,
  267. "vCenter": 384.1968955993651,
  268. "hCenter": 59.028125286102274,
  269. "field": "xsddh",
  270. "coordinateSync": false,
  271. "widthHeightSync": false,
  272. "hideTitle": true,
  273. "textContentVerticalAlign": "middle",
  274. "qrCodeLevel": 0,
  275. "textContentWrap": "clip"
  276. },
  277. "printElementType": {
  278. "title": "文本",
  279. "type": "text"
  280. }
  281. },
  282. {
  283. "options": {
  284. "left": 510,
  285. "top": 51,
  286. "height": 16,
  287. "width": 48,
  288. "title": "打印时间",
  289. "coordinateSync": false,
  290. "widthHeightSync": false,
  291. "textAlign": "center",
  292. "textContentVerticalAlign": "middle",
  293. "qrCodeLevel": 0,
  294. "right": 551.25,
  295. "bottom": 66,
  296. "vCenter": 527.25,
  297. "hCenter": 55.5
  298. },
  299. "printElementType": {
  300. "title": "文本",
  301. "type": "text"
  302. }
  303. },
  304. {
  305. "options": {
  306. "left": 557,
  307. "top": 51,
  308. "height": 16,
  309. "width": 141,
  310. "title": "文本",
  311. "right": 697.5,
  312. "bottom": 66,
  313. "vCenter": 637.5,
  314. "hCenter": 55.5,
  315. "field": "dysj",
  316. "coordinateSync": false,
  317. "widthHeightSync": false,
  318. "hideTitle": true,
  319. "textContentVerticalAlign": "middle",
  320. "qrCodeLevel": 0,
  321. "textContentWrap": "clip"
  322. },
  323. "printElementType": {
  324. "title": "文本",
  325. "type": "text"
  326. }
  327. },
  328. {
  329. "options": {
  330. "left": 15,
  331. "top": 51.5,
  332. "height": 16,
  333. "width": 74,
  334. "title": "生产批次号:",
  335. "right": 76.49999491373697,
  336. "bottom": 64.77777523464624,
  337. "vCenter": 40.49999491373698,
  338. "hCenter": 54.27777523464624,
  339. "coordinateSync": false,
  340. "widthHeightSync": false,
  341. "fontSize": 12,
  342. "fontWeight": "bold",
  343. "color": "#f50808",
  344. "textContentVerticalAlign": "middle",
  345. "qrCodeLevel": 0
  346. },
  347. "printElementType": {
  348. "title": "文本",
  349. "type": "text"
  350. }
  351. },
  352. {
  353. "options": {
  354. "left": 87.95454545454545,
  355. "top": 51.5,
  356. "height": 16,
  357. "width": 90,
  358. "title": "文本",
  359. "right": 182.38889058430985,
  360. "bottom": 64.7777684529622,
  361. "vCenter": 137.38889058430985,
  362. "hCenter": 53.527768452962206,
  363. "field": "scpch",
  364. "coordinateSync": false,
  365. "widthHeightSync": false,
  366. "hideTitle": true,
  367. "textContentVerticalAlign": "middle",
  368. "qrCodeLevel": 0
  369. },
  370. "printElementType": {
  371. "title": "文本",
  372. "type": "text"
  373. }
  374. },
  375. {
  376. "options": {
  377. "left": 183.95454545454544,
  378. "top": 51.5,
  379. "height": 16,
  380. "width": 75,
  381. "title": "销售订单号:",
  382. "right": 312.75,
  383. "bottom": 54.75,
  384. "vCenter": 252.75,
  385. "hCenter": 49.875,
  386. "coordinateSync": false,
  387. "widthHeightSync": false,
  388. "fontSize": 12,
  389. "textContentVerticalAlign": "middle",
  390. "qrCodeLevel": 0
  391. },
  392. "printElementType": {
  393. "title": "文本",
  394. "type": "text"
  395. }
  396. },
  397. {
  398. "options": {
  399. "left": 15,
  400. "top": 70.5,
  401. "height": 88.5,
  402. "width": 815,
  403. "right": 831.5000057220459,
  404. "bottom": 158.99999713897702,
  405. "vCenter": 424.0000057220459,
  406. "hCenter": 114.74999713897702,
  407. "coordinateSync": false,
  408. "widthHeightSync": false
  409. },
  410. "printElementType": {
  411. "title": "矩形",
  412. "type": "rect"
  413. }
  414. },
  415. {
  416. "options": {
  417. "left": 199.5,
  418. "top": 70.5,
  419. "height": 49,
  420. "width": 2,
  421. "right": 200.33333841959626,
  422. "bottom": 163.49999745686844,
  423. "vCenter": 195.83333841959626,
  424. "hCenter": 118.49999745686844,
  425. "coordinateSync": false,
  426. "widthHeightSync": false
  427. },
  428. "printElementType": {
  429. "title": "竖线",
  430. "type": "vline"
  431. }
  432. },
  433. {
  434. "options": {
  435. "left": 262,
  436. "top": 70.5,
  437. "height": 49,
  438. "width": 2,
  439. "coordinateSync": false,
  440. "widthHeightSync": false,
  441. "right": 265.44688951969135,
  442. "bottom": 119.49999713897702,
  443. "vCenter": 264.44688951969135,
  444. "hCenter": 94.99999713897702
  445. },
  446. "printElementType": {
  447. "title": "竖线",
  448. "type": "vline"
  449. }
  450. },
  451. {
  452. "options": {
  453. "left": 462,
  454. "top": 70.5,
  455. "height": 49,
  456. "width": 2,
  457. "right": 486.0874862670897,
  458. "bottom": 119.52812099456784,
  459. "vCenter": 485.0874862670897,
  460. "hCenter": 95.02812099456784,
  461. "coordinateSync": false,
  462. "widthHeightSync": false
  463. },
  464. "printElementType": {
  465. "title": "竖线",
  466. "type": "vline"
  467. }
  468. },
  469. {
  470. "options": {
  471. "left": 64,
  472. "top": 71,
  473. "height": 48,
  474. "width": 2,
  475. "right": 69.01506181196729,
  476. "bottom": 118.8181815580888,
  477. "vCenter": 68.01506181196729,
  478. "hCenter": 94.3181815580888,
  479. "coordinateSync": false,
  480. "widthHeightSync": false
  481. },
  482. "printElementType": {
  483. "title": "竖线",
  484. "type": "vline"
  485. }
  486. },
  487. {
  488. "options": {
  489. "left": 514,
  490. "top": 71,
  491. "height": 31,
  492. "width": 2,
  493. "right": 519.9969024658201,
  494. "bottom": 102.49999713897702,
  495. "vCenter": 518.9969024658201,
  496. "hCenter": 86.49999713897702,
  497. "coordinateSync": false,
  498. "widthHeightSync": false
  499. },
  500. "printElementType": {
  501. "title": "竖线",
  502. "type": "vline"
  503. }
  504. },
  505. {
  506. "options": {
  507. "left": 201,
  508. "top": 73,
  509. "height": 12,
  510. "width": 60,
  511. "title": "产品代码",
  512. "coordinateSync": false,
  513. "widthHeightSync": false,
  514. "textAlign": "center",
  515. "textContentVerticalAlign": "middle",
  516. "qrCodeLevel": 0,
  517. "right": 275.38638028231526,
  518. "bottom": 83.97102329947728,
  519. "vCenter": 245.38638028231526,
  520. "hCenter": 77.97102329947728
  521. },
  522. "printElementType": {
  523. "title": "文本",
  524. "type": "text"
  525. }
  526. },
  527. {
  528. "options": {
  529. "left": 16.5,
  530. "top": 73.5,
  531. "height": 12,
  532. "width": 45,
  533. "title": "客户代码",
  534. "right": 61.99687957763671,
  535. "bottom": 85.33465966311365,
  536. "vCenter": 39.49687957763671,
  537. "hCenter": 79.33465966311365,
  538. "coordinateSync": false,
  539. "widthHeightSync": false,
  540. "textAlign": "center",
  541. "textContentVerticalAlign": "middle",
  542. "qrCodeLevel": 0
  543. },
  544. "printElementType": {
  545. "title": "文本",
  546. "type": "text"
  547. }
  548. },
  549. {
  550. "options": {
  551. "left": 64.5,
  552. "top": 73.5,
  553. "height": 12,
  554. "width": 132,
  555. "title": "客户名称",
  556. "right": 183.99608670748194,
  557. "bottom": 85.49999647874095,
  558. "vCenter": 120.99608670748194,
  559. "hCenter": 79.49999647874095,
  560. "coordinateSync": false,
  561. "widthHeightSync": false,
  562. "textAlign": "center",
  563. "textContentVerticalAlign": "middle",
  564. "qrCodeLevel": 0
  565. },
  566. "printElementType": {
  567. "title": "文本",
  568. "type": "text"
  569. }
  570. },
  571. {
  572. "options": {
  573. "left": 264,
  574. "top": 73.5,
  575. "height": 12,
  576. "width": 196,
  577. "title": "产品名称",
  578. "coordinateSync": false,
  579. "widthHeightSync": false,
  580. "textAlign": "center",
  581. "textContentVerticalAlign": "middle",
  582. "qrCodeLevel": 0
  583. },
  584. "printElementType": {
  585. "title": "文本",
  586. "type": "text"
  587. }
  588. },
  589. {
  590. "options": {
  591. "left": 463,
  592. "top": 73.5,
  593. "height": 12,
  594. "width": 46.5,
  595. "title": "版本号",
  596. "coordinateSync": false,
  597. "widthHeightSync": false,
  598. "textAlign": "center",
  599. "textContentVerticalAlign": "middle",
  600. "qrCodeLevel": 0,
  601. "right": 536.2499942779539,
  602. "bottom": 85.96874427795407,
  603. "vCenter": 512.9999942779539,
  604. "hCenter": 79.96874427795407
  605. },
  606. "printElementType": {
  607. "title": "文本",
  608. "type": "text"
  609. }
  610. },
  611. {
  612. "options": {
  613. "left": 515,
  614. "top": 73.5,
  615. "height": 12,
  616. "width": 314,
  617. "title": "警语版面",
  618. "right": 636.3749999999998,
  619. "bottom": 86.99999999999997,
  620. "vCenter": 576.3749999999998,
  621. "hCenter": 80.99999999999997,
  622. "coordinateSync": false,
  623. "widthHeightSync": false,
  624. "textContentVerticalAlign": "middle",
  625. "qrCodeLevel": 0,
  626. "textAlign": "center"
  627. },
  628. "printElementType": {
  629. "title": "文本",
  630. "type": "text"
  631. }
  632. },
  633. {
  634. "options": {
  635. "left": 15,
  636. "top": 87,
  637. "height": 9,
  638. "width": 815,
  639. "borderWidth": "0.75",
  640. "coordinateSync": false,
  641. "widthHeightSync": false,
  642. "right": 839.9960895885121,
  643. "bottom": 96.00000416148792,
  644. "vCenter": 421.99608958851206,
  645. "hCenter": 91.50000416148792
  646. },
  647. "printElementType": {
  648. "title": "横线",
  649. "type": "hline"
  650. }
  651. },
  652. {
  653. "options": {
  654. "left": 65,
  655. "top": 88.5,
  656. "height": 12,
  657. "width": 132,
  658. "title": "文本",
  659. "field": "khmc",
  660. "coordinateSync": false,
  661. "widthHeightSync": false,
  662. "hideTitle": true,
  663. "textAlign": "center",
  664. "textContentVerticalAlign": "middle",
  665. "qrCodeLevel": 0,
  666. "right": 188.6052679764597,
  667. "bottom": 97.5789413452148,
  668. "vCenter": 127.10526797645967,
  669. "hCenter": 87.0789413452148,
  670. "textContentWrap": "clip"
  671. },
  672. "printElementType": {
  673. "title": "文本",
  674. "type": "text"
  675. }
  676. },
  677. {
  678. "options": {
  679. "left": 200.5,
  680. "top": 88.5,
  681. "height": 12,
  682. "width": 60,
  683. "title": "100301047",
  684. "field": "cpdm",
  685. "coordinateSync": false,
  686. "widthHeightSync": false,
  687. "hideTitle": true,
  688. "textAlign": "center",
  689. "textContentVerticalAlign": "middle",
  690. "qrCodeLevel": 0,
  691. "right": 255.00000214576713,
  692. "bottom": 119.99999999999996,
  693. "vCenter": 225.75000214576713,
  694. "hCenter": 109.49999999999996
  695. },
  696. "printElementType": {
  697. "title": "文本",
  698. "type": "text"
  699. }
  700. },
  701. {
  702. "options": {
  703. "left": 264,
  704. "top": 88.5,
  705. "height": 12,
  706. "width": 196,
  707. "title": "文本",
  708. "right": 384.23684873078986,
  709. "bottom": 89.56578826904293,
  710. "vCenter": 324.23684873078986,
  711. "hCenter": 84.69078826904293,
  712. "field": "cpmc",
  713. "coordinateSync": false,
  714. "widthHeightSync": false,
  715. "hideTitle": true,
  716. "qrCodeLevel": 0,
  717. "textContentVerticalAlign": "middle",
  718. "textContentWrap": "clip"
  719. },
  720. "printElementType": {
  721. "title": "文本",
  722. "type": "text"
  723. }
  724. },
  725. {
  726. "options": {
  727. "left": 463,
  728. "top": 88.5,
  729. "height": 13,
  730. "width": 50,
  731. "title": "文本",
  732. "field": "bbh",
  733. "coordinateSync": false,
  734. "widthHeightSync": false,
  735. "hideTitle": true,
  736. "qrCodeLevel": 0,
  737. "right": 572.4473732396174,
  738. "bottom": 89.01315909937804,
  739. "vCenter": 512.4473732396174,
  740. "hCenter": 84.13815909937804,
  741. "textAlign": "center",
  742. "textContentVerticalAlign": "middle"
  743. },
  744. "printElementType": {
  745. "title": "文本",
  746. "type": "text"
  747. }
  748. },
  749. {
  750. "options": {
  751. "left": 515,
  752. "top": 88.5,
  753. "height": 12,
  754. "width": 314,
  755. "title": "文本",
  756. "right": 831.2812557220457,
  757. "bottom": 99.18749999999997,
  758. "vCenter": 680.5312557220457,
  759. "hCenter": 93.18749999999997,
  760. "field": "jybm",
  761. "coordinateSync": false,
  762. "widthHeightSync": false,
  763. "hideTitle": true,
  764. "qrCodeLevel": 0,
  765. "textContentVerticalAlign": "middle",
  766. "textContentWrap": "clip"
  767. },
  768. "printElementType": {
  769. "title": "文本",
  770. "type": "text"
  771. }
  772. },
  773. {
  774. "options": {
  775. "left": 16.5,
  776. "top": 89,
  777. "height": 12,
  778. "width": 45,
  779. "title": "文本",
  780. "right": 63.74999999999999,
  781. "bottom": 100.84090466932813,
  782. "vCenter": 41.24999999999999,
  783. "hCenter": 94.84090466932813,
  784. "field": "khdh",
  785. "coordinateSync": false,
  786. "widthHeightSync": false,
  787. "hideTitle": true,
  788. "textAlign": "center",
  789. "textContentVerticalAlign": "middle",
  790. "qrCodeLevel": 0
  791. },
  792. "printElementType": {
  793. "title": "文本",
  794. "type": "text"
  795. }
  796. },
  797. {
  798. "options": {
  799. "left": 15,
  800. "top": 102,
  801. "height": 9,
  802. "width": 815,
  803. "borderWidth": "0.75",
  804. "coordinateSync": false,
  805. "widthHeightSync": false
  806. },
  807. "printElementType": {
  808. "title": "横线",
  809. "type": "hline"
  810. }
  811. },
  812. {
  813. "options": {
  814. "left": 514,
  815. "top": 102,
  816. "height": 17,
  817. "width": 9,
  818. "coordinateSync": false,
  819. "widthHeightSync": false,
  820. "right": 543.4031238555906,
  821. "bottom": 119.0000028610229,
  822. "vCenter": 538.9031238555906,
  823. "hCenter": 110.5000028610229
  824. },
  825. "printElementType": {
  826. "title": "竖线",
  827. "type": "vline"
  828. }
  829. },
  830. {
  831. "options": {
  832. "left": 580,
  833. "top": 102,
  834. "height": 17,
  835. "width": 9,
  836. "coordinateSync": false,
  837. "widthHeightSync": false,
  838. "right": 618.0000291304152,
  839. "bottom": 118.99999895962796,
  840. "vCenter": 613.5000291304152,
  841. "hCenter": 110.49999895962796
  842. },
  843. "printElementType": {
  844. "title": "竖线",
  845. "type": "vline"
  846. }
  847. },
  848. {
  849. "options": {
  850. "left": 636,
  851. "top": 102,
  852. "height": 17,
  853. "width": 9,
  854. "right": 664.4062557220457,
  855. "bottom": 120.4062528610229,
  856. "vCenter": 659.9062557220457,
  857. "hCenter": 111.9062528610229,
  858. "coordinateSync": false,
  859. "widthHeightSync": false
  860. },
  861. "printElementType": {
  862. "title": "竖线",
  863. "type": "vline"
  864. }
  865. },
  866. {
  867. "options": {
  868. "left": 706,
  869. "top": 102,
  870. "height": 17,
  871. "width": 9,
  872. "right": 563.999985694885,
  873. "bottom": 272.3437643051147,
  874. "vCenter": 559.499985694885,
  875. "hCenter": 227.3437643051147,
  876. "coordinateSync": false,
  877. "widthHeightSync": false
  878. },
  879. "printElementType": {
  880. "title": "竖线",
  881. "type": "vline"
  882. }
  883. },
  884. {
  885. "options": {
  886. "left": 764,
  887. "top": 102,
  888. "height": 17,
  889. "width": 9,
  890. "right": 774.0937414169308,
  891. "bottom": 193.8750028610229,
  892. "vCenter": 769.5937414169308,
  893. "hCenter": 148.8750028610229,
  894. "coordinateSync": false,
  895. "widthHeightSync": false
  896. },
  897. "printElementType": {
  898. "title": "竖线",
  899. "type": "vline"
  900. }
  901. },
  902. {
  903. "options": {
  904. "left": 765,
  905. "top": 103.5,
  906. "height": 12,
  907. "width": 62,
  908. "title": "文本",
  909. "field": "pzll",
  910. "coordinateSync": false,
  911. "widthHeightSync": false,
  912. "hideTitle": true,
  913. "textAlign": "center",
  914. "textContentVerticalAlign": "middle",
  915. "qrCodeLevel": 0,
  916. "right": 835.5000083229755,
  917. "bottom": 115.15908973867236,
  918. "vCenter": 801.0000083229755,
  919. "hCenter": 109.15908973867236,
  920. "color": "#fa1919"
  921. },
  922. "printElementType": {
  923. "title": "文本",
  924. "type": "text"
  925. }
  926. },
  927. {
  928. "options": {
  929. "left": 708,
  930. "top": 104,
  931. "height": 12,
  932. "width": 54,
  933. "title": "平张投料(张)",
  934. "coordinateSync": false,
  935. "widthHeightSync": false,
  936. "textAlign": "center",
  937. "textContentVerticalAlign": "middle",
  938. "qrCodeLevel": 0,
  939. "right": 767.9062242507932,
  940. "bottom": 114.9375028610229,
  941. "vCenter": 731.9062242507932,
  942. "hCenter": 108.9375028610229,
  943. "color": "#ff0a0a"
  944. },
  945. "printElementType": {
  946. "title": "文本",
  947. "type": "text"
  948. }
  949. },
  950. {
  951. "options": {
  952. "left": 17,
  953. "top": 105,
  954. "height": 12,
  955. "width": 45,
  956. "title": "码源数量",
  957. "right": 46.78570556640625,
  958. "bottom": 117.2142933436802,
  959. "vCenter": 26.535705566406246,
  960. "hCenter": 111.2142933436802,
  961. "coordinateSync": false,
  962. "widthHeightSync": false,
  963. "textAlign": "center",
  964. "textContentVerticalAlign": "middle",
  965. "qrCodeLevel": 0
  966. },
  967. "printElementType": {
  968. "title": "文本",
  969. "type": "text"
  970. }
  971. },
  972. {
  973. "options": {
  974. "left": 64.5,
  975. "top": 105,
  976. "height": 12,
  977. "width": 132,
  978. "title": "文本",
  979. "field": "mysl",
  980. "coordinateSync": false,
  981. "widthHeightSync": false,
  982. "hideTitle": true,
  983. "textAlign": "center",
  984. "textContentVerticalAlign": "middle",
  985. "qrCodeLevel": 0
  986. },
  987. "printElementType": {
  988. "title": "文本",
  989. "type": "text"
  990. }
  991. },
  992. {
  993. "options": {
  994. "left": 201,
  995. "top": 105,
  996. "height": 12,
  997. "width": 58.5,
  998. "title": "客户ERP编码",
  999. "coordinateSync": false,
  1000. "widthHeightSync": false,
  1001. "qrCodeLevel": 0,
  1002. "right": 318.78572736467623,
  1003. "bottom": 115.92856597900385,
  1004. "vCenter": 258.78572736467623,
  1005. "hCenter": 109.92856597900385,
  1006. "textAlign": "center",
  1007. "textContentVerticalAlign": "middle"
  1008. },
  1009. "printElementType": {
  1010. "title": "文本",
  1011. "type": "text"
  1012. }
  1013. },
  1014. {
  1015. "options": {
  1016. "left": 264,
  1017. "top": 105,
  1018. "height": 11,
  1019. "width": 196,
  1020. "title": "文本",
  1021. "field": "kherpbm",
  1022. "coordinateSync": false,
  1023. "widthHeightSync": false,
  1024. "hideTitle": true,
  1025. "textAlign": "center",
  1026. "textContentVerticalAlign": "middle",
  1027. "qrCodeLevel": 0,
  1028. "right": 387.07142421177446,
  1029. "bottom": 113.96428680419916,
  1030. "vCenter": 327.07142421177446,
  1031. "hCenter": 109.08928680419916,
  1032. "textContentWrap": "clip"
  1033. },
  1034. "printElementType": {
  1035. "title": "文本",
  1036. "type": "text"
  1037. }
  1038. },
  1039. {
  1040. "options": {
  1041. "left": 463,
  1042. "top": 105,
  1043. "height": 12,
  1044. "width": 52,
  1045. "title": "开单日期",
  1046. "coordinateSync": false,
  1047. "widthHeightSync": false,
  1048. "textAlign": "center",
  1049. "textContentVerticalAlign": "middle",
  1050. "qrCodeLevel": 0,
  1051. "right": 536.687488555908,
  1052. "bottom": 117.37499427795406,
  1053. "vCenter": 516.687488555908,
  1054. "hCenter": 111.37499427795406
  1055. },
  1056. "printElementType": {
  1057. "title": "文本",
  1058. "type": "text"
  1059. }
  1060. },
  1061. {
  1062. "options": {
  1063. "left": 517,
  1064. "top": 105,
  1065. "height": 12,
  1066. "width": 61,
  1067. "title": "文本",
  1068. "field": "kdrq",
  1069. "coordinateSync": false,
  1070. "widthHeightSync": false,
  1071. "hideTitle": true,
  1072. "textAlign": "center",
  1073. "textContentVerticalAlign": "middle",
  1074. "qrCodeLevel": 0,
  1075. "right": 553.8749742507932,
  1076. "bottom": 115.21874141693111,
  1077. "vCenter": 527.6249742507932,
  1078. "hCenter": 109.21874141693111,
  1079. "textContentWrap": "clip",
  1080. "fontWeight": "bold"
  1081. },
  1082. "printElementType": {
  1083. "title": "文本",
  1084. "type": "text"
  1085. }
  1086. },
  1087. {
  1088. "options": {
  1089. "left": 582,
  1090. "top": 105,
  1091. "height": 12,
  1092. "width": 52,
  1093. "title": "交货日期",
  1094. "right": 607.499985694885,
  1095. "bottom": 115.9687585830688,
  1096. "vCenter": 584.999985694885,
  1097. "hCenter": 109.9687585830688,
  1098. "coordinateSync": false,
  1099. "widthHeightSync": false,
  1100. "textAlign": "center",
  1101. "textContentVerticalAlign": "middle",
  1102. "qrCodeLevel": 0
  1103. },
  1104. "printElementType": {
  1105. "title": "文本",
  1106. "type": "text"
  1107. }
  1108. },
  1109. {
  1110. "options": {
  1111. "left": 641,
  1112. "top": 105,
  1113. "height": 12,
  1114. "width": 61,
  1115. "title": "文本",
  1116. "right": 725.4710360440338,
  1117. "bottom": 117.0000026009299,
  1118. "vCenter": 696.4710360440338,
  1119. "hCenter": 111.0000026009299,
  1120. "field": "jhrq",
  1121. "coordinateSync": false,
  1122. "widthHeightSync": false,
  1123. "hideTitle": true,
  1124. "textAlign": "center",
  1125. "textContentVerticalAlign": "middle",
  1126. "qrCodeLevel": 0,
  1127. "textContentWrap": "clip",
  1128. "fontWeight": "bold"
  1129. },
  1130. "printElementType": {
  1131. "title": "文本",
  1132. "type": "text"
  1133. }
  1134. },
  1135. {
  1136. "options": {
  1137. "left": 15,
  1138. "top": 118.5,
  1139. "height": 9,
  1140. "width": 815,
  1141. "borderWidth": "0.75",
  1142. "coordinateSync": false,
  1143. "widthHeightSync": false,
  1144. "right": 831,
  1145. "bottom": 127.5000072826038,
  1146. "vCenter": 423,
  1147. "hCenter": 123.0000072826038
  1148. },
  1149. "printElementType": {
  1150. "title": "横线",
  1151. "type": "hline"
  1152. }
  1153. },
  1154. {
  1155. "options": {
  1156. "left": 556,
  1157. "top": 118.5,
  1158. "height": 39,
  1159. "width": 5,
  1160. "coordinateSync": false,
  1161. "widthHeightSync": false
  1162. },
  1163. "printElementType": {
  1164. "title": "竖线",
  1165. "type": "vline"
  1166. }
  1167. },
  1168. {
  1169. "options": {
  1170. "left": 609,
  1171. "top": 118.5,
  1172. "height": 39,
  1173. "width": 5,
  1174. "coordinateSync": false,
  1175. "widthHeightSync": false,
  1176. "right": 564.4999771118162,
  1177. "bottom": 160.50000762939447,
  1178. "vCenter": 561.9999771118162,
  1179. "hCenter": 140.00000762939447
  1180. },
  1181. "printElementType": {
  1182. "title": "竖线",
  1183. "type": "vline"
  1184. }
  1185. },
  1186. {
  1187. "options": {
  1188. "left": 660,
  1189. "top": 118.5,
  1190. "height": 39,
  1191. "width": 5,
  1192. "coordinateSync": false,
  1193. "widthHeightSync": false,
  1194. "right": 621.1590992320664,
  1195. "bottom": 159.15908973867238,
  1196. "vCenter": 618.6590992320664,
  1197. "hCenter": 138.65908973867238
  1198. },
  1199. "printElementType": {
  1200. "title": "竖线",
  1201. "type": "vline"
  1202. }
  1203. },
  1204. {
  1205. "options": {
  1206. "left": 718,
  1207. "top": 118.5,
  1208. "height": 39,
  1209. "width": 5,
  1210. "coordinateSync": false,
  1211. "widthHeightSync": false,
  1212. "right": 702.9999771118162,
  1213. "bottom": 166.0000076293945,
  1214. "vCenter": 700.4999771118162,
  1215. "hCenter": 145.5000076293945
  1216. },
  1217. "printElementType": {
  1218. "title": "竖线",
  1219. "type": "vline"
  1220. }
  1221. },
  1222. {
  1223. "options": {
  1224. "left": 774,
  1225. "top": 118.5,
  1226. "height": 39,
  1227. "width": 5,
  1228. "right": 774.4999771118161,
  1229. "bottom": 170.50000762939447,
  1230. "vCenter": 771.9999771118161,
  1231. "hCenter": 150.00000762939447,
  1232. "coordinateSync": false,
  1233. "widthHeightSync": false
  1234. },
  1235. "printElementType": {
  1236. "title": "竖线",
  1237. "type": "vline"
  1238. }
  1239. },
  1240. {
  1241. "options": {
  1242. "left": 505,
  1243. "top": 119,
  1244. "height": 40,
  1245. "width": 9,
  1246. "coordinateSync": false,
  1247. "widthHeightSync": false
  1248. },
  1249. "printElementType": {
  1250. "title": "竖线",
  1251. "type": "vline"
  1252. }
  1253. },
  1254. {
  1255. "options": {
  1256. "left": 17,
  1257. "top": 121.5,
  1258. "height": 34.5,
  1259. "width": 49.5,
  1260. "title": "工单说明:",
  1261. "right": 126.79411495433133,
  1262. "bottom": 137.73529580060165,
  1263. "vCenter": 66.79411495433133,
  1264. "hCenter": 131.73529580060165,
  1265. "coordinateSync": false,
  1266. "widthHeightSync": false,
  1267. "color": "#ff0000",
  1268. "qrCodeLevel": 0,
  1269. "textAlign": "center"
  1270. },
  1271. "printElementType": {
  1272. "title": "文本",
  1273. "type": "text"
  1274. }
  1275. },
  1276. {
  1277. "options": {
  1278. "left": 66,
  1279. "top": 121.5,
  1280. "height": 34.5,
  1281. "width": 438,
  1282. "title": "文本",
  1283. "right": 499.49999982118607,
  1284. "bottom": 155.49374771118158,
  1285. "vCenter": 277.49999982118607,
  1286. "hCenter": 138.24374771118158,
  1287. "field": "gdsm",
  1288. "coordinateSync": false,
  1289. "widthHeightSync": false,
  1290. "hideTitle": true,
  1291. "qrCodeLevel": 0
  1292. },
  1293. "printElementType": {
  1294. "title": "文本",
  1295. "type": "text"
  1296. }
  1297. },
  1298. {
  1299. "options": {
  1300. "left": 507,
  1301. "top": 121.5,
  1302. "height": 12,
  1303. "width": 49,
  1304. "title": "投料率",
  1305. "right": 499.1052679764595,
  1306. "bottom": 134.05263037430606,
  1307. "vCenter": 481.1052679764595,
  1308. "hCenter": 128.05263037430606,
  1309. "coordinateSync": false,
  1310. "widthHeightSync": false,
  1311. "textAlign": "center",
  1312. "textContentVerticalAlign": "middle",
  1313. "qrCodeLevel": 0
  1314. },
  1315. "printElementType": {
  1316. "title": "文本",
  1317. "type": "text"
  1318. }
  1319. },
  1320. {
  1321. "options": {
  1322. "left": 559,
  1323. "top": 121.5,
  1324. "height": 12,
  1325. "width": 49,
  1326. "title": "目标合格率",
  1327. "right": 659.6841960706207,
  1328. "bottom": 132.55263669867261,
  1329. "vCenter": 625.1841960706207,
  1330. "hCenter": 126.55263669867261,
  1331. "coordinateSync": false,
  1332. "widthHeightSync": false,
  1333. "textAlign": "center",
  1334. "textContentVerticalAlign": "middle",
  1335. "qrCodeLevel": 0
  1336. },
  1337. "printElementType": {
  1338. "title": "文本",
  1339. "type": "text"
  1340. }
  1341. },
  1342. {
  1343. "options": {
  1344. "left": 611,
  1345. "top": 121.5,
  1346. "height": 12,
  1347. "width": 49,
  1348. "title": "平均合格率",
  1349. "coordinateSync": false,
  1350. "widthHeightSync": false,
  1351. "textAlign": "center",
  1352. "textContentVerticalAlign": "middle",
  1353. "qrCodeLevel": 0,
  1354. "right": 734.7631723504314,
  1355. "bottom": 134.36841653522686,
  1356. "vCenter": 700.2631723504314,
  1357. "hCenter": 128.36841653522686
  1358. },
  1359. "printElementType": {
  1360. "title": "文本",
  1361. "type": "text"
  1362. }
  1363. },
  1364. {
  1365. "options": {
  1366. "left": 663,
  1367. "top": 121.5,
  1368. "height": 12,
  1369. "width": 54,
  1370. "title": "订货数量(箱)",
  1371. "right": 676.8947320235401,
  1372. "bottom": 210.71053143551467,
  1373. "vCenter": 616.8947320235401,
  1374. "hCenter": 204.71053143551467,
  1375. "coordinateSync": false,
  1376. "widthHeightSync": false,
  1377. "qrCodeLevel": 0,
  1378. "textAlign": "center",
  1379. "textContentVerticalAlign": "middle"
  1380. },
  1381. "printElementType": {
  1382. "title": "文本",
  1383. "type": "text"
  1384. }
  1385. },
  1386. {
  1387. "options": {
  1388. "left": 721.5,
  1389. "top": 121.5,
  1390. "height": 12,
  1391. "width": 53,
  1392. "title": "库存数量(箱)",
  1393. "right": 787.7727564031427,
  1394. "bottom": 171.5454545454545,
  1395. "vCenter": 753.2727564031427,
  1396. "hCenter": 165.5454545454545,
  1397. "coordinateSync": false,
  1398. "widthHeightSync": false,
  1399. "qrCodeLevel": 0,
  1400. "textAlign": "center",
  1401. "textContentVerticalAlign": "middle"
  1402. },
  1403. "printElementType": {
  1404. "title": "文本",
  1405. "type": "text"
  1406. }
  1407. },
  1408. {
  1409. "options": {
  1410. "left": 775.5,
  1411. "top": 121.5,
  1412. "height": 12,
  1413. "width": 55,
  1414. "title": "投料数量(箱)",
  1415. "coordinateSync": false,
  1416. "widthHeightSync": false,
  1417. "qrCodeLevel": 0,
  1418. "right": 843.6818473122336,
  1419. "bottom": 134.18182650479406,
  1420. "vCenter": 809.1818473122336,
  1421. "hCenter": 128.18182650479406,
  1422. "textAlign": "center",
  1423. "textContentVerticalAlign": "middle"
  1424. },
  1425. "printElementType": {
  1426. "title": "文本",
  1427. "type": "text"
  1428. }
  1429. },
  1430. {
  1431. "options": {
  1432. "left": 505.5,
  1433. "top": 138,
  1434. "height": 6,
  1435. "width": 324,
  1436. "borderWidth": "0.75",
  1437. "coordinateSync": false,
  1438. "widthHeightSync": false
  1439. },
  1440. "printElementType": {
  1441. "title": "横线",
  1442. "type": "hline"
  1443. }
  1444. },
  1445. {
  1446. "options": {
  1447. "left": 560,
  1448. "top": 142,
  1449. "height": 12,
  1450. "width": 49,
  1451. "title": "文本",
  1452. "right": 554.5000381469724,
  1453. "bottom": 151.9999923706054,
  1454. "vCenter": 529.5000381469724,
  1455. "hCenter": 145.9999923706054,
  1456. "field": "mbhgl",
  1457. "coordinateSync": false,
  1458. "widthHeightSync": false,
  1459. "hideTitle": true,
  1460. "textAlign": "center",
  1461. "textContentVerticalAlign": "middle",
  1462. "qrCodeLevel": 0
  1463. },
  1464. "printElementType": {
  1465. "title": "文本",
  1466. "type": "text"
  1467. }
  1468. },
  1469. {
  1470. "options": {
  1471. "left": 720,
  1472. "top": 142,
  1473. "height": 12,
  1474. "width": 54,
  1475. "title": "文本",
  1476. "field": "kcsl",
  1477. "coordinateSync": false,
  1478. "widthHeightSync": false,
  1479. "hideTitle": true,
  1480. "textAlign": "center",
  1481. "textContentVerticalAlign": "middle",
  1482. "qrCodeLevel": 0,
  1483. "right": 766.0000076293943,
  1484. "bottom": 155.0000076293945,
  1485. "vCenter": 731.5000076293943,
  1486. "hCenter": 149.5000076293945
  1487. },
  1488. "printElementType": {
  1489. "title": "文本",
  1490. "type": "text"
  1491. }
  1492. },
  1493. {
  1494. "options": {
  1495. "left": 775,
  1496. "top": 142,
  1497. "height": 12,
  1498. "width": 55,
  1499. "title": "文本",
  1500. "right": 864.0000076293944,
  1501. "bottom": 151.50000762939447,
  1502. "vCenter": 829.5000076293944,
  1503. "hCenter": 145.50000762939447,
  1504. "field": "tlsl",
  1505. "coordinateSync": false,
  1506. "widthHeightSync": false,
  1507. "hideTitle": true,
  1508. "textAlign": "center",
  1509. "textContentVerticalAlign": "middle",
  1510. "qrCodeLevel": 0
  1511. },
  1512. "printElementType": {
  1513. "title": "文本",
  1514. "type": "text"
  1515. }
  1516. },
  1517. {
  1518. "options": {
  1519. "left": 507,
  1520. "top": 142.5,
  1521. "height": 12,
  1522. "width": 49,
  1523. "title": "文本",
  1524. "right": 497.0000076293944,
  1525. "bottom": 153.5000076293945,
  1526. "vCenter": 479.0000076293944,
  1527. "hCenter": 147.5000076293945,
  1528. "field": "tll",
  1529. "coordinateSync": false,
  1530. "widthHeightSync": false,
  1531. "hideTitle": true,
  1532. "textAlign": "center",
  1533. "textContentVerticalAlign": "middle",
  1534. "qrCodeLevel": 0
  1535. },
  1536. "printElementType": {
  1537. "title": "文本",
  1538. "type": "text"
  1539. }
  1540. },
  1541. {
  1542. "options": {
  1543. "left": 611,
  1544. "top": 142.5,
  1545. "height": 12,
  1546. "width": 49,
  1547. "title": "文本",
  1548. "right": 613.9999771118162,
  1549. "bottom": 179.00000762939447,
  1550. "vCenter": 585.9999771118162,
  1551. "hCenter": 173.00000762939447,
  1552. "field": "pjhgl",
  1553. "coordinateSync": false,
  1554. "widthHeightSync": false,
  1555. "hideTitle": true,
  1556. "textAlign": "center",
  1557. "textContentVerticalAlign": "middle",
  1558. "qrCodeLevel": 0
  1559. },
  1560. "printElementType": {
  1561. "title": "文本",
  1562. "type": "text"
  1563. }
  1564. },
  1565. {
  1566. "options": {
  1567. "left": 661,
  1568. "top": 142.5,
  1569. "height": 12,
  1570. "width": 57,
  1571. "title": "文本",
  1572. "right": 608.9999771118162,
  1573. "bottom": 198.25000762939447,
  1574. "vCenter": 548.9999771118162,
  1575. "hCenter": 193.37500762939447,
  1576. "field": "dhsl",
  1577. "coordinateSync": false,
  1578. "widthHeightSync": false,
  1579. "hideTitle": true,
  1580. "textAlign": "center",
  1581. "textContentVerticalAlign": "middle",
  1582. "qrCodeLevel": 0
  1583. },
  1584. "printElementType": {
  1585. "title": "文本",
  1586. "type": "text"
  1587. }
  1588. },
  1589. {
  1590. "options": {
  1591. "left": 15,
  1592. "top": 163.5,
  1593. "height": 9,
  1594. "width": 815,
  1595. "borderWidth": "0.75",
  1596. "coordinateSync": false,
  1597. "widthHeightSync": false
  1598. },
  1599. "printElementType": {
  1600. "title": "横线",
  1601. "type": "hline"
  1602. }
  1603. },
  1604. {
  1605. "options": {
  1606. "left": 349,
  1607. "top": 163.5,
  1608. "height": 38,
  1609. "width": 9,
  1610. "coordinateSync": false,
  1611. "widthHeightSync": false,
  1612. "right": 355.3333468967012,
  1613. "bottom": 205.50000423855244,
  1614. "vCenter": 350.8333468967012,
  1615. "hCenter": 189.00000423855244
  1616. },
  1617. "printElementType": {
  1618. "title": "竖线",
  1619. "type": "vline"
  1620. }
  1621. },
  1622. {
  1623. "options": {
  1624. "left": 654,
  1625. "top": 163.5,
  1626. "height": 38,
  1627. "width": 9,
  1628. "right": 655.827731662326,
  1629. "bottom": 205.6627646552191,
  1630. "vCenter": 651.327731662326,
  1631. "hCenter": 189.1627646552191,
  1632. "coordinateSync": false,
  1633. "widthHeightSync": false
  1634. },
  1635. "printElementType": {
  1636. "title": "竖线",
  1637. "type": "vline"
  1638. }
  1639. },
  1640. {
  1641. "options": {
  1642. "left": 15,
  1643. "top": 164,
  1644. "height": 38,
  1645. "width": 9,
  1646. "right": 11.647058823529411,
  1647. "bottom": 211.38234705083505,
  1648. "vCenter": 7.147058823529411,
  1649. "hCenter": 192.38234705083505,
  1650. "coordinateSync": false,
  1651. "widthHeightSync": false
  1652. },
  1653. "printElementType": {
  1654. "title": "竖线",
  1655. "type": "vline"
  1656. }
  1657. },
  1658. {
  1659. "options": {
  1660. "left": 45,
  1661. "top": 164,
  1662. "height": 38,
  1663. "width": 9,
  1664. "right": 47.383238050672716,
  1665. "bottom": 207.05165354410798,
  1666. "vCenter": 42.883238050672716,
  1667. "hCenter": 190.55165354410798,
  1668. "coordinateSync": false,
  1669. "widthHeightSync": false
  1670. },
  1671. "printElementType": {
  1672. "title": "竖线",
  1673. "type": "vline"
  1674. }
  1675. },
  1676. {
  1677. "options": {
  1678. "left": 294,
  1679. "top": 164,
  1680. "height": 38,
  1681. "width": 9,
  1682. "right": 297.0499182807073,
  1683. "bottom": 207.72222646077464,
  1684. "vCenter": 292.5499182807073,
  1685. "hCenter": 191.22222646077464,
  1686. "coordinateSync": false,
  1687. "widthHeightSync": false
  1688. },
  1689. "printElementType": {
  1690. "title": "竖线",
  1691. "type": "vline"
  1692. }
  1693. },
  1694. {
  1695. "options": {
  1696. "left": 577,
  1697. "top": 164,
  1698. "height": 38,
  1699. "width": 9,
  1700. "right": 577.1110975477427,
  1701. "bottom": 208.05555301242396,
  1702. "vCenter": 572.6110975477427,
  1703. "hCenter": 188.55555301242396,
  1704. "coordinateSync": false,
  1705. "widthHeightSync": false
  1706. },
  1707. "printElementType": {
  1708. "title": "竖线",
  1709. "type": "vline"
  1710. }
  1711. },
  1712. {
  1713. "options": {
  1714. "left": 684,
  1715. "top": 164,
  1716. "height": 38,
  1717. "width": 9,
  1718. "coordinateSync": false,
  1719. "widthHeightSync": false,
  1720. "right": 689.3889295789927,
  1721. "bottom": 207.27777184380417,
  1722. "vCenter": 684.8889295789927,
  1723. "hCenter": 190.77777184380417
  1724. },
  1725. "printElementType": {
  1726. "title": "竖线",
  1727. "type": "vline"
  1728. }
  1729. },
  1730. {
  1731. "options": {
  1732. "left": 830,
  1733. "top": 164,
  1734. "height": 39,
  1735. "width": 9,
  1736. "right": 863.478268830672,
  1737. "bottom": 259.63042881177813,
  1738. "vCenter": 858.978268830672,
  1739. "hCenter": 214.63042881177813,
  1740. "coordinateSync": false,
  1741. "widthHeightSync": false
  1742. },
  1743. "printElementType": {
  1744. "title": "竖线",
  1745. "type": "vline"
  1746. }
  1747. },
  1748. {
  1749. "options": {
  1750. "left": 48,
  1751. "top": 165,
  1752. "height": 12,
  1753. "width": 245,
  1754. "title": "印件代号及名称",
  1755. "coordinateSync": false,
  1756. "widthHeightSync": false,
  1757. "textAlign": "center",
  1758. "textContentVerticalAlign": "middle",
  1759. "qrCodeLevel": 0,
  1760. "right": 275.36842105263156,
  1761. "bottom": 173.6447371432655,
  1762. "vCenter": 161.36842105263156,
  1763. "hCenter": 168.7697371432655
  1764. },
  1765. "printElementType": {
  1766. "title": "文本",
  1767. "type": "text"
  1768. }
  1769. },
  1770. {
  1771. "options": {
  1772. "left": 299,
  1773. "top": 165,
  1774. "height": 12,
  1775. "width": 48,
  1776. "title": "平张投料量",
  1777. "right": 343.93882242838527,
  1778. "bottom": 186.1111119588215,
  1779. "vCenter": 317.43882242838527,
  1780. "hCenter": 180.1111119588215,
  1781. "coordinateSync": false,
  1782. "widthHeightSync": false,
  1783. "textAlign": "center",
  1784. "textContentVerticalAlign": "middle",
  1785. "qrCodeLevel": 0
  1786. },
  1787. "printElementType": {
  1788. "title": "文本",
  1789. "type": "text"
  1790. }
  1791. },
  1792. {
  1793. "options": {
  1794. "left": 350,
  1795. "top": 165,
  1796. "height": 12,
  1797. "width": 227,
  1798. "title": "纸张名称",
  1799. "right": 566.8832600911456,
  1800. "bottom": 186.66666751437708,
  1801. "vCenter": 457.88326009114564,
  1802. "hCenter": 180.66666751437708,
  1803. "coordinateSync": false,
  1804. "widthHeightSync": false,
  1805. "textAlign": "center",
  1806. "textContentVerticalAlign": "middle",
  1807. "qrCodeLevel": 0
  1808. },
  1809. "printElementType": {
  1810. "title": "文本",
  1811. "type": "text"
  1812. }
  1813. },
  1814. {
  1815. "options": {
  1816. "left": 579,
  1817. "top": 165,
  1818. "height": 12,
  1819. "width": 75,
  1820. "title": "投料规格",
  1821. "coordinateSync": false,
  1822. "widthHeightSync": false,
  1823. "textAlign": "center",
  1824. "textContentVerticalAlign": "middle",
  1825. "qrCodeLevel": 0,
  1826. "right": 647.7222629123262,
  1827. "bottom": 186.3888897365993,
  1828. "vCenter": 609.4722629123262,
  1829. "hCenter": 180.3888897365993
  1830. },
  1831. "printElementType": {
  1832. "title": "文本",
  1833. "type": "text"
  1834. }
  1835. },
  1836. {
  1837. "options": {
  1838. "left": 656,
  1839. "top": 165,
  1840. "height": 12,
  1841. "width": 27,
  1842. "title": "联数",
  1843. "right": 678.6054823133676,
  1844. "bottom": 186.66666751437708,
  1845. "vCenter": 663.6054823133676,
  1846. "hCenter": 180.66666751437708,
  1847. "coordinateSync": false,
  1848. "widthHeightSync": false,
  1849. "textAlign": "center",
  1850. "textContentVerticalAlign": "middle",
  1851. "qrCodeLevel": 0
  1852. },
  1853. "printElementType": {
  1854. "title": "文本",
  1855. "type": "text"
  1856. }
  1857. },
  1858. {
  1859. "options": {
  1860. "left": 686,
  1861. "top": 165,
  1862. "height": 12,
  1863. "width": 27,
  1864. "title": "开数",
  1865. "right": 713.9388020833329,
  1866. "bottom": 186.55554962158195,
  1867. "vCenter": 698.9388020833329,
  1868. "hCenter": 180.55554962158195,
  1869. "coordinateSync": false,
  1870. "widthHeightSync": false,
  1871. "textAlign": "center",
  1872. "textContentVerticalAlign": "middle",
  1873. "qrCodeLevel": 0
  1874. },
  1875. "printElementType": {
  1876. "title": "文本",
  1877. "type": "text"
  1878. }
  1879. },
  1880. {
  1881. "options": {
  1882. "left": 712.5,
  1883. "top": 165,
  1884. "height": 38,
  1885. "width": 5,
  1886. "right": 720.9943983289927,
  1887. "bottom": 208.7777786254882,
  1888. "vCenter": 718.4943983289927,
  1889. "hCenter": 192.2777786254882,
  1890. "coordinateSync": false,
  1891. "widthHeightSync": false
  1892. },
  1893. "printElementType": {
  1894. "title": "竖线",
  1895. "type": "vline"
  1896. }
  1897. },
  1898. {
  1899. "options": {
  1900. "left": 714,
  1901. "top": 165,
  1902. "height": 12,
  1903. "width": 116,
  1904. "title": "备注",
  1905. "right": 832.6054551866315,
  1906. "bottom": 187.22222306993262,
  1907. "vCenter": 775.1054551866315,
  1908. "hCenter": 181.22222306993262,
  1909. "coordinateSync": false,
  1910. "widthHeightSync": false,
  1911. "textAlign": "center",
  1912. "textContentVerticalAlign": "middle",
  1913. "qrCodeLevel": 0
  1914. },
  1915. "printElementType": {
  1916. "title": "文本",
  1917. "type": "text"
  1918. }
  1919. },
  1920. {
  1921. "options": {
  1922. "left": 17,
  1923. "top": 166,
  1924. "height": 12,
  1925. "width": 27,
  1926. "title": "印件",
  1927. "coordinateSync": false,
  1928. "widthHeightSync": false,
  1929. "textAlign": "center",
  1930. "textContentVerticalAlign": "middle",
  1931. "qrCodeLevel": 0,
  1932. "right": 41.05263639751233,
  1933. "bottom": 177.39473232470056,
  1934. "vCenter": 25.30263639751233,
  1935. "hCenter": 171.39473232470056
  1936. },
  1937. "printElementType": {
  1938. "title": "文本",
  1939. "type": "text"
  1940. }
  1941. },
  1942. {
  1943. "options": {
  1944. "left": 15,
  1945. "top": 178.5,
  1946. "height": 9,
  1947. "width": 815,
  1948. "borderWidth": "0.75",
  1949. "right": 516.3749999999998,
  1950. "bottom": 185.24998855590812,
  1951. "vCenter": 471.37499999999983,
  1952. "hCenter": 180.74998855590812,
  1953. "coordinateSync": false,
  1954. "widthHeightSync": false
  1955. },
  1956. "printElementType": {
  1957. "title": "横线",
  1958. "type": "hline"
  1959. }
  1960. },
  1961. {
  1962. "options": {
  1963. "left": 350,
  1964. "top": 180,
  1965. "height": 12,
  1966. "width": 227,
  1967. "title": "文本",
  1968. "right": 481.50000214576704,
  1969. "bottom": 188.99998855590812,
  1970. "vCenter": 421.50000214576704,
  1971. "hCenter": 184.12498855590812,
  1972. "field": "zzmc",
  1973. "coordinateSync": false,
  1974. "widthHeightSync": false,
  1975. "hideTitle": true,
  1976. "textContentVerticalAlign": "middle",
  1977. "qrCodeLevel": 0,
  1978. "textContentWrap": "clip"
  1979. },
  1980. "printElementType": {
  1981. "title": "文本",
  1982. "type": "text"
  1983. }
  1984. },
  1985. {
  1986. "options": {
  1987. "left": 579,
  1988. "top": 180,
  1989. "height": 12,
  1990. "width": 75,
  1991. "title": "文本",
  1992. "field": "tlgg",
  1993. "coordinateSync": false,
  1994. "widthHeightSync": false,
  1995. "hideTitle": true,
  1996. "textContentVerticalAlign": "middle",
  1997. "qrCodeLevel": 0,
  1998. "textAlign": "center",
  1999. "textContentWrap": "clip",
  2000. "right": 645.4388156467011,
  2001. "bottom": 204.2777854071722,
  2002. "vCenter": 607.4388156467011,
  2003. "hCenter": 198.2777854071722
  2004. },
  2005. "printElementType": {
  2006. "title": "文本",
  2007. "type": "text"
  2008. }
  2009. },
  2010. {
  2011. "options": {
  2012. "left": 656,
  2013. "top": 180,
  2014. "height": 12,
  2015. "width": 27,
  2016. "title": "文本",
  2017. "field": "ls",
  2018. "coordinateSync": false,
  2019. "widthHeightSync": false,
  2020. "hideTitle": true,
  2021. "textAlign": "center",
  2022. "textContentVerticalAlign": "middle",
  2023. "qrCodeLevel": 0,
  2024. "right": 679.8276774088538,
  2025. "bottom": 205.49999745686839,
  2026. "vCenter": 664.8276774088538,
  2027. "hCenter": 199.49999745686839,
  2028. "textContentWrap": "clip"
  2029. },
  2030. "printElementType": {
  2031. "title": "文本",
  2032. "type": "text"
  2033. }
  2034. },
  2035. {
  2036. "options": {
  2037. "left": 685.5,
  2038. "top": 180,
  2039. "height": 12,
  2040. "width": 27,
  2041. "title": "文本",
  2042. "field": "ks",
  2043. "coordinateSync": false,
  2044. "widthHeightSync": false,
  2045. "hideTitle": true,
  2046. "textAlign": "center",
  2047. "textContentVerticalAlign": "middle",
  2048. "qrCodeLevel": 0,
  2049. "right": 715.1249999999997,
  2050. "bottom": 188.99998855590815,
  2051. "vCenter": 700.1249999999997,
  2052. "hCenter": 182.99998855590815,
  2053. "textContentWrap": "clip"
  2054. },
  2055. "printElementType": {
  2056. "title": "文本",
  2057. "type": "text"
  2058. }
  2059. },
  2060. {
  2061. "options": {
  2062. "left": 714,
  2063. "top": 180,
  2064. "height": 12,
  2065. "width": 116,
  2066. "title": "文本",
  2067. "right": 833.5499403211802,
  2068. "bottom": 205.1111187405055,
  2069. "vCenter": 776.0499403211802,
  2070. "hCenter": 199.1111187405055,
  2071. "field": "bz",
  2072. "coordinateSync": false,
  2073. "widthHeightSync": false,
  2074. "hideTitle": true,
  2075. "qrCodeLevel": 0,
  2076. "textContentWrap": "clip"
  2077. },
  2078. "printElementType": {
  2079. "title": "文本",
  2080. "type": "text"
  2081. }
  2082. },
  2083. {
  2084. "options": {
  2085. "left": 296,
  2086. "top": 181,
  2087. "height": 14,
  2088. "width": 52,
  2089. "title": "文本",
  2090. "right": 348.7222425672742,
  2091. "bottom": 193.22222985161665,
  2092. "vCenter": 322.7222425672742,
  2093. "hCenter": 186.22222985161665,
  2094. "field": "pztll",
  2095. "coordinateSync": false,
  2096. "widthHeightSync": false,
  2097. "hideTitle": true,
  2098. "textAlign": "center",
  2099. "textContentVerticalAlign": "middle",
  2100. "qrCodeLevel": 0
  2101. },
  2102. "printElementType": {
  2103. "title": "文本",
  2104. "type": "text"
  2105. }
  2106. },
  2107. {
  2108. "options": {
  2109. "left": 17,
  2110. "top": 182,
  2111. "height": 12,
  2112. "width": 27,
  2113. "title": "文本",
  2114. "coordinateSync": false,
  2115. "widthHeightSync": false,
  2116. "textAlign": "center",
  2117. "textContentVerticalAlign": "middle",
  2118. "qrCodeLevel": 0,
  2119. "right": 40.24999999999999,
  2120. "bottom": 192.99608612060536,
  2121. "vCenter": 24.749999999999993,
  2122. "hCenter": 186.99608612060536,
  2123. "field": "yjh",
  2124. "hideTitle": true
  2125. },
  2126. "printElementType": {
  2127. "title": "文本",
  2128. "type": "text"
  2129. }
  2130. },
  2131. {
  2132. "options": {
  2133. "left": 47,
  2134. "top": 182,
  2135. "height": 12,
  2136. "width": 247,
  2137. "title": "文本",
  2138. "field": "thdhjmc",
  2139. "coordinateSync": false,
  2140. "widthHeightSync": false,
  2141. "hideTitle": true,
  2142. "textContentVerticalAlign": "middle",
  2143. "qrCodeLevel": 0,
  2144. "right": 287.125,
  2145. "bottom": 190.12498855590812,
  2146. "vCenter": 168.12499999999997,
  2147. "hCenter": 184.12498855590812,
  2148. "textContentWrap": "clip"
  2149. },
  2150. "printElementType": {
  2151. "title": "文本",
  2152. "type": "text"
  2153. }
  2154. },
  2155. {
  2156. "options": {
  2157. "left": 15,
  2158. "top": 202,
  2159. "height": 9,
  2160. "width": 816,
  2161. "borderWidth": "0.75",
  2162. "coordinateSync": false,
  2163. "widthHeightSync": false,
  2164. "right": 936,
  2165. "bottom": 217.49999879535866,
  2166. "vCenter": 468,
  2167. "hCenter": 212.99999879535866
  2168. },
  2169. "printElementType": {
  2170. "title": "横线",
  2171. "type": "hline"
  2172. }
  2173. },
  2174. {
  2175. "options": {
  2176. "left": 15,
  2177. "top": 207,
  2178. "height": 151.5,
  2179. "width": 816,
  2180. "field": "table1",
  2181. "coordinateSync": false,
  2182. "widthHeightSync": false,
  2183. "textAlign": "center",
  2184. "tableHeaderBackground": "#ffffff",
  2185. "autoCompletion": true,
  2186. "right": 839.3181776566939,
  2187. "bottom": 371.3181818181818,
  2188. "vCenter": 420.8181776566939,
  2189. "hCenter": 297.8181818181818,
  2190. "maxRows": 12,
  2191. "gridColumns": 2,
  2192. "columns": [
  2193. [
  2194. {
  2195. "width": 306.2256573863597,
  2196. "title": "物料代码及名称",
  2197. "titleSync": true,
  2198. "field": "wldmjmc",
  2199. "checked": true,
  2200. "columnId": "wldmjmc",
  2201. "fixed": false,
  2202. "rowspan": 1,
  2203. "colspan": 1,
  2204. "align": "left",
  2205. "halign": "left",
  2206. "vAlign": "middle",
  2207. "tableQRCodeLevel": 0,
  2208. "tableSummaryTitle": true,
  2209. "tableSummary": "",
  2210. "tableSummaryAlign": "justify"
  2211. },
  2212. {
  2213. "width": 64.2564983208363,
  2214. "title": "计划用量",
  2215. "titleSync": false,
  2216. "field": "jhyl",
  2217. "checked": true,
  2218. "columnId": "jhyl",
  2219. "fixed": false,
  2220. "rowspan": 1,
  2221. "colspan": 1,
  2222. "tableQRCodeLevel": 0,
  2223. "tableSummaryTitle": true,
  2224. "tableSummary": ""
  2225. },
  2226. {
  2227. "width": 37.51784429280394,
  2228. "title": "单位",
  2229. "titleSync": false,
  2230. "field": "dw",
  2231. "checked": true,
  2232. "columnId": "dw",
  2233. "fixed": false,
  2234. "rowspan": 1,
  2235. "colspan": 1,
  2236. "align": "center",
  2237. "halign": "center",
  2238. "vAlign": "middle",
  2239. "tableQRCodeLevel": 0,
  2240. "tableSummaryTitle": true,
  2241. "tableSummary": ""
  2242. },
  2243. {
  2244. "width": 85.97291065362847,
  2245. "title": "物料代码及名称",
  2246. "titleSync": false,
  2247. "field": "wldmjmc1",
  2248. "checked": false,
  2249. "columnId": "wldmjmc1",
  2250. "fixed": false,
  2251. "rowspan": 1,
  2252. "colspan": 1,
  2253. "tableQRCodeLevel": 0,
  2254. "tableSummaryTitle": true,
  2255. "tableSummary": ""
  2256. },
  2257. {
  2258. "width": 107.88106549200486,
  2259. "title": "计划用量",
  2260. "titleSync": false,
  2261. "field": "jhyl1",
  2262. "checked": false,
  2263. "columnId": "jhyl1",
  2264. "fixed": false,
  2265. "rowspan": 1,
  2266. "colspan": 1,
  2267. "tableQRCodeLevel": 0,
  2268. "tableSummaryTitle": true,
  2269. "tableSummary": ""
  2270. },
  2271. {
  2272. "width": 170.29501525940995,
  2273. "title": "单位",
  2274. "titleSync": false,
  2275. "field": "dw1",
  2276. "checked": false,
  2277. "columnId": "dw1",
  2278. "fixed": false,
  2279. "rowspan": 1,
  2280. "colspan": 1,
  2281. "tableQRCodeLevel": 0,
  2282. "tableSummaryTitle": true,
  2283. "tableSummary": ""
  2284. },
  2285. {
  2286. "width": 85.25,
  2287. "checked": false,
  2288. "fixed": false,
  2289. "rowspan": 1,
  2290. "colspan": 1
  2291. },
  2292. {
  2293. "width": 85.25,
  2294. "checked": false,
  2295. "fixed": false,
  2296. "rowspan": 1,
  2297. "colspan": 1
  2298. }
  2299. ]
  2300. ]
  2301. },
  2302. "printElementType": {
  2303. "title": "表格",
  2304. "type": "table",
  2305. "editable": true,
  2306. "columnDisplayEditable": true,
  2307. "columnDisplayIndexEditable": true,
  2308. "columnTitleEditable": true,
  2309. "columnResizable": true,
  2310. "columnAlignEditable": true,
  2311. "isEnableEditField": true,
  2312. "isEnableContextMenu": true,
  2313. "isEnableInsertRow": true,
  2314. "isEnableDeleteRow": true,
  2315. "isEnableInsertColumn": true,
  2316. "isEnableDeleteColumn": true,
  2317. "isEnableMergeCell": true
  2318. }
  2319. },
  2320. {
  2321. "options": {
  2322. "left": 15,
  2323. "top": 372,
  2324. "height": 91.5,
  2325. "width": 816,
  2326. "right": 833.5,
  2327. "bottom": 466.83333333333337,
  2328. "vCenter": 425.5,
  2329. "hCenter": 370.08333333333337,
  2330. "field": "table2",
  2331. "coordinateSync": false,
  2332. "widthHeightSync": false,
  2333. "tableHeaderBackground": "#ffffff",
  2334. "columns": [
  2335. [
  2336. {
  2337. "width": 300.1855077418251,
  2338. "title": "印件及工序名称",
  2339. "titleSync": false,
  2340. "field": "yjjgxmc",
  2341. "checked": true,
  2342. "columnId": "yjjgxmc",
  2343. "fixed": false,
  2344. "rowspan": 1,
  2345. "colspan": 1,
  2346. "tableQRCodeLevel": 0,
  2347. "tableSummaryTitle": true,
  2348. "tableSummary": ""
  2349. },
  2350. {
  2351. "width": 54.48396735336328,
  2352. "title": "转序数(张)",
  2353. "titleSync": false,
  2354. "field": "zxs",
  2355. "checked": true,
  2356. "columnId": "zxs",
  2357. "fixed": false,
  2358. "rowspan": 1,
  2359. "colspan": 1,
  2360. "tableQRCodeLevel": 0,
  2361. "tableSummaryTitle": true,
  2362. "tableSummary": ""
  2363. },
  2364. {
  2365. "width": 45.53587180900963,
  2366. "title": "报废定额",
  2367. "titleSync": false,
  2368. "field": "bfde",
  2369. "checked": true,
  2370. "columnId": "bfde",
  2371. "fixed": false,
  2372. "rowspan": 1,
  2373. "colspan": 1,
  2374. "tableQRCodeLevel": 0,
  2375. "tableSummaryTitle": true,
  2376. "tableSummary": ""
  2377. },
  2378. {
  2379. "width": 46.13787813620061,
  2380. "title": "允许比例",
  2381. "titleSync": false,
  2382. "field": "yxbl",
  2383. "checked": true,
  2384. "columnId": "yxbl",
  2385. "fixed": false,
  2386. "rowspan": 1,
  2387. "colspan": 1,
  2388. "tableQRCodeLevel": 0,
  2389. "tableSummaryTitle": true,
  2390. "tableSummary": ""
  2391. },
  2392. {
  2393. "width": 46.26871540323957,
  2394. "title": "损耗系数",
  2395. "titleSync": false,
  2396. "field": "shxs",
  2397. "checked": true,
  2398. "columnId": "shxs",
  2399. "fixed": false,
  2400. "rowspan": 1,
  2401. "colspan": 1,
  2402. "tableQRCodeLevel": 0,
  2403. "tableSummaryTitle": true,
  2404. "tableSummary": ""
  2405. },
  2406. {
  2407. "width": 45.722331785648365,
  2408. "title": "装板工时",
  2409. "titleSync": false,
  2410. "field": "zbgs",
  2411. "checked": true,
  2412. "columnId": "zbgs",
  2413. "fixed": false,
  2414. "rowspan": 1,
  2415. "colspan": 1,
  2416. "tableQRCodeLevel": 0,
  2417. "tableSummaryTitle": true,
  2418. "tableSummary": ""
  2419. },
  2420. {
  2421. "width": 45.902414161246085,
  2422. "title": "小时定额",
  2423. "titleSync": false,
  2424. "field": "xsde",
  2425. "checked": true,
  2426. "columnId": "xsde",
  2427. "fixed": false,
  2428. "rowspan": 1,
  2429. "colspan": 1,
  2430. "tableQRCodeLevel": 0,
  2431. "tableSummaryTitle": true,
  2432. "tableSummary": ""
  2433. },
  2434. {
  2435. "width": 51.093669275306894,
  2436. "title": "生产工时",
  2437. "titleSync": false,
  2438. "field": "scgs",
  2439. "checked": true,
  2440. "columnId": "scgs",
  2441. "fixed": false,
  2442. "rowspan": 1,
  2443. "colspan": 1,
  2444. "tableQRCodeLevel": 0,
  2445. "tableSummaryTitle": true,
  2446. "tableSummary": ""
  2447. },
  2448. {
  2449. "width": 180.66964433416047,
  2450. "title": "备注",
  2451. "titleSync": false,
  2452. "field": "bz",
  2453. "checked": true,
  2454. "columnId": "bz",
  2455. "fixed": false,
  2456. "rowspan": 1,
  2457. "colspan": 1,
  2458. "align": "center",
  2459. "halign": "center",
  2460. "vAlign": "middle",
  2461. "tableQRCodeLevel": 0,
  2462. "tableSummaryTitle": true,
  2463. "tableSummary": ""
  2464. }
  2465. ]
  2466. ]
  2467. },
  2468. "printElementType": {
  2469. "title": "表格",
  2470. "type": "table",
  2471. "editable": true,
  2472. "columnDisplayEditable": true,
  2473. "columnDisplayIndexEditable": true,
  2474. "columnTitleEditable": true,
  2475. "columnResizable": true,
  2476. "columnAlignEditable": true,
  2477. "isEnableEditField": true,
  2478. "isEnableContextMenu": true,
  2479. "isEnableInsertRow": true,
  2480. "isEnableDeleteRow": true,
  2481. "isEnableInsertColumn": true,
  2482. "isEnableDeleteColumn": true,
  2483. "isEnableMergeCell": true
  2484. }
  2485. },
  2486. {
  2487. "options": {
  2488. "left": 15,
  2489. "top": 524,
  2490. "height": 14,
  2491. "width": 45,
  2492. "title": "制单:",
  2493. "coordinateSync": false,
  2494. "widthHeightSync": false,
  2495. "fontSize": 12,
  2496. "textAlign": "center",
  2497. "textContentVerticalAlign": "middle",
  2498. "qrCodeLevel": 0,
  2499. "right": 45.54545038396662,
  2500. "bottom": 559.9999916770241,
  2501. "vCenter": 29.045450383966617,
  2502. "hCenter": 552.9999916770241
  2503. },
  2504. "printElementType": {
  2505. "title": "文本",
  2506. "type": "text"
  2507. }
  2508. },
  2509. {
  2510. "options": {
  2511. "left": 64.5,
  2512. "top": 524,
  2513. "height": 14,
  2514. "width": 120,
  2515. "title": "文本",
  2516. "right": 170.31817349520597,
  2517. "bottom": 559.0454711914062,
  2518. "vCenter": 110.31817349520597,
  2519. "hCenter": 552.0454711914062,
  2520. "field": "zdr",
  2521. "coordinateSync": false,
  2522. "widthHeightSync": false,
  2523. "hideTitle": true,
  2524. "fontSize": 12,
  2525. "textContentVerticalAlign": "middle",
  2526. "qrCodeLevel": 0
  2527. },
  2528. "printElementType": {
  2529. "title": "文本",
  2530. "type": "text"
  2531. }
  2532. },
  2533. {
  2534. "options": {
  2535. "left": 396,
  2536. "top": 524,
  2537. "height": 14,
  2538. "width": 40.5,
  2539. "title": "审核:",
  2540. "right": 515.8636405251243,
  2541. "bottom": 559.3181734952059,
  2542. "vCenter": 455.8636405251243,
  2543. "hCenter": 552.3181734952059,
  2544. "coordinateSync": false,
  2545. "widthHeightSync": false,
  2546. "fontSize": 12,
  2547. "textAlign": "center",
  2548. "textContentVerticalAlign": "middle",
  2549. "qrCodeLevel": 0
  2550. },
  2551. "printElementType": {
  2552. "title": "文本",
  2553. "type": "text"
  2554. }
  2555. },
  2556. {
  2557. "options": {
  2558. "left": 436.5,
  2559. "top": 524,
  2560. "height": 14,
  2561. "width": 120,
  2562. "title": "文本",
  2563. "right": 559.2421875,
  2564. "bottom": 557.99609375,
  2565. "vCenter": 499.2421875,
  2566. "hCenter": 550.99609375,
  2567. "field": "shr",
  2568. "coordinateSync": false,
  2569. "widthHeightSync": false,
  2570. "hideTitle": true,
  2571. "fontSize": 12,
  2572. "textContentVerticalAlign": "middle",
  2573. "qrCodeLevel": 0
  2574. },
  2575. "printElementType": {
  2576. "title": "文本",
  2577. "type": "text"
  2578. }
  2579. }
  2580. ],
  2581. "paperNumberLeft": 565.5,
  2582. "paperNumberTop": 573,
  2583. "paperNumberDisabled": true,
  2584. "paperNumberContinue": true,
  2585. "backgroundColor": "#ffffff",
  2586. "overPrintOptions": {
  2587. "content": "",
  2588. "opacity": 0.7,
  2589. "type": 1
  2590. },
  2591. "watermarkOptions": {
  2592. "content": "",
  2593. "fillStyle": "rgba(255, 255, 255, 1)",
  2594. "fontSize": "36px",
  2595. "rotate": 25,
  2596. "width": 413,
  2597. "height": 310,
  2598. "timestamp": false,
  2599. "format": "YYYY-MM-DD HH:mm"
  2600. }
  2601. }
  2602. ]
  2603. }
  2604. //没有物料资料也可以打印
  2605. const jsondatas = {
  2606. "panels": [
  2607. {
  2608. "index": 0,
  2609. "name": 1,
  2610. "paperType": "A4",
  2611. "height": 210,
  2612. "width": 297,
  2613. "paperHeader": 162,
  2614. "paperFooter": 516,
  2615. "printElements": [
  2616. {
  2617. "options": {
  2618. "left": 15,
  2619. "top": 6,
  2620. "height": 40,
  2621. "width": 40,
  2622. "field": "minong",
  2623. "src": "https://shangbiaopic.11467.com/13/85/13855845.jpg",
  2624. "fit": "contain",
  2625. "coordinateSync": false,
  2626. "widthHeightSync": false
  2627. },
  2628. "printElementType": {
  2629. "title": "图片",
  2630. "type": "image"
  2631. }
  2632. },
  2633. {
  2634. "options": {
  2635. "left": 510,
  2636. "top": 6,
  2637. "height": 40.5,
  2638. "width": 211.5,
  2639. "title": "文本",
  2640. "field": "ztlx",
  2641. "coordinateSync": false,
  2642. "widthHeightSync": false,
  2643. "hideTitle": true,
  2644. "fontSize": 21,
  2645. "fontWeight": "bold",
  2646. "color": "#ff1414",
  2647. "textAlign": "center",
  2648. "textContentVerticalAlign": "middle",
  2649. "qrCodeLevel": 0
  2650. },
  2651. "printElementType": {
  2652. "title": "文本",
  2653. "type": "text"
  2654. }
  2655. },
  2656. {
  2657. "options": {
  2658. "left": 756,
  2659. "top": 10.5,
  2660. "height": 56,
  2661. "width": 56,
  2662. "textAlign": "center",
  2663. "title": "二维码",
  2664. "field": "printcode",
  2665. "testData": "2401191",
  2666. "coordinateSync": false,
  2667. "widthHeightSync": false,
  2668. "hideTitle": true
  2669. },
  2670. "printElementType": {
  2671. "title": "二维码",
  2672. "type": "qrcode"
  2673. }
  2674. },
  2675. {
  2676. "options": {
  2677. "left": 57,
  2678. "top": 12,
  2679. "height": 14,
  2680. "width": 180,
  2681. "title": "浙江翌星包装科技有限公司",
  2682. "coordinateSync": false,
  2683. "widthHeightSync": false,
  2684. "fontSize": 13.5,
  2685. "textContentVerticalAlign": "middle",
  2686. "qrCodeLevel": 0
  2687. },
  2688. "printElementType": {
  2689. "title": "文本",
  2690. "type": "text"
  2691. }
  2692. },
  2693. {
  2694. "options": {
  2695. "left": 319.5,
  2696. "top": 12,
  2697. "height": 30,
  2698. "width": 168,
  2699. "title": "生产作业通知单",
  2700. "coordinateSync": false,
  2701. "widthHeightSync": false,
  2702. "fontSize": 16.5,
  2703. "color": "#000000",
  2704. "textAlign": "center",
  2705. "textContentVerticalAlign": "middle",
  2706. "qrCodeLevel": 0,
  2707. "fontWeight": "bold"
  2708. },
  2709. "printElementType": {
  2710. "title": "文本",
  2711. "type": "text"
  2712. }
  2713. },
  2714. {
  2715. "options": {
  2716. "left": 57,
  2717. "top": 28.5,
  2718. "height": 9.75,
  2719. "width": 209,
  2720. "title": "ZHEJIANG YIXING CENTURY GROUP CO.LTD.",
  2721. "coordinateSync": false,
  2722. "widthHeightSync": false,
  2723. "fontSize": 7.5,
  2724. "textContentVerticalAlign": "middle",
  2725. "qrCodeLevel": 0
  2726. },
  2727. "printElementType": {
  2728. "title": "文本",
  2729. "type": "text"
  2730. }
  2731. },
  2732. {
  2733. "options": {
  2734. "left": 259.5,
  2735. "top": 51,
  2736. "height": 16,
  2737. "width": 250.5,
  2738. "title": "文本",
  2739. "field": "xsddh",
  2740. "coordinateSync": false,
  2741. "widthHeightSync": false,
  2742. "hideTitle": true,
  2743. "textContentVerticalAlign": "middle",
  2744. "qrCodeLevel": 0,
  2745. "textContentWrap": "clip"
  2746. },
  2747. "printElementType": {
  2748. "title": "文本",
  2749. "type": "text"
  2750. }
  2751. },
  2752. {
  2753. "options": {
  2754. "left": 510,
  2755. "top": 51,
  2756. "height": 16,
  2757. "width": 48,
  2758. "title": "打印时间",
  2759. "coordinateSync": false,
  2760. "widthHeightSync": false,
  2761. "textAlign": "center",
  2762. "textContentVerticalAlign": "middle",
  2763. "qrCodeLevel": 0
  2764. },
  2765. "printElementType": {
  2766. "title": "文本",
  2767. "type": "text"
  2768. }
  2769. },
  2770. {
  2771. "options": {
  2772. "left": 557,
  2773. "top": 51,
  2774. "height": 16,
  2775. "width": 141,
  2776. "title": "文本",
  2777. "field": "dysj",
  2778. "coordinateSync": false,
  2779. "widthHeightSync": false,
  2780. "hideTitle": true,
  2781. "textContentVerticalAlign": "middle",
  2782. "qrCodeLevel": 0,
  2783. "textContentWrap": "clip"
  2784. },
  2785. "printElementType": {
  2786. "title": "文本",
  2787. "type": "text"
  2788. }
  2789. },
  2790. {
  2791. "options": {
  2792. "left": 15,
  2793. "top": 51.5,
  2794. "height": 16,
  2795. "width": 74,
  2796. "title": "生产批次号:",
  2797. "coordinateSync": false,
  2798. "widthHeightSync": false,
  2799. "fontSize": 12,
  2800. "fontWeight": "bold",
  2801. "color": "#f50808",
  2802. "textContentVerticalAlign": "middle",
  2803. "qrCodeLevel": 0
  2804. },
  2805. "printElementType": {
  2806. "title": "文本",
  2807. "type": "text"
  2808. }
  2809. },
  2810. {
  2811. "options": {
  2812. "left": 87.95454545454545,
  2813. "top": 51.5,
  2814. "height": 16,
  2815. "width": 90,
  2816. "title": "文本",
  2817. "field": "scpch",
  2818. "coordinateSync": false,
  2819. "widthHeightSync": false,
  2820. "hideTitle": true,
  2821. "textContentVerticalAlign": "middle",
  2822. "qrCodeLevel": 0
  2823. },
  2824. "printElementType": {
  2825. "title": "文本",
  2826. "type": "text"
  2827. }
  2828. },
  2829. {
  2830. "options": {
  2831. "left": 183.95454545454544,
  2832. "top": 51.5,
  2833. "height": 16,
  2834. "width": 75,
  2835. "title": "销售订单号:",
  2836. "coordinateSync": false,
  2837. "widthHeightSync": false,
  2838. "fontSize": 12,
  2839. "textContentVerticalAlign": "middle",
  2840. "qrCodeLevel": 0
  2841. },
  2842. "printElementType": {
  2843. "title": "文本",
  2844. "type": "text"
  2845. }
  2846. },
  2847. {
  2848. "options": {
  2849. "left": 15,
  2850. "top": 70.5,
  2851. "height": 88.5,
  2852. "width": 815,
  2853. "coordinateSync": false,
  2854. "widthHeightSync": false
  2855. },
  2856. "printElementType": {
  2857. "title": "矩形",
  2858. "type": "rect"
  2859. }
  2860. },
  2861. {
  2862. "options": {
  2863. "left": 199.5,
  2864. "top": 70.5,
  2865. "height": 49,
  2866. "width": 2,
  2867. "coordinateSync": false,
  2868. "widthHeightSync": false
  2869. },
  2870. "printElementType": {
  2871. "title": "竖线",
  2872. "type": "vline"
  2873. }
  2874. },
  2875. {
  2876. "options": {
  2877. "left": 262,
  2878. "top": 70.5,
  2879. "height": 49,
  2880. "width": 2,
  2881. "coordinateSync": false,
  2882. "widthHeightSync": false
  2883. },
  2884. "printElementType": {
  2885. "title": "竖线",
  2886. "type": "vline"
  2887. }
  2888. },
  2889. {
  2890. "options": {
  2891. "left": 462,
  2892. "top": 70.5,
  2893. "height": 49,
  2894. "width": 2,
  2895. "coordinateSync": false,
  2896. "widthHeightSync": false
  2897. },
  2898. "printElementType": {
  2899. "title": "竖线",
  2900. "type": "vline"
  2901. }
  2902. },
  2903. {
  2904. "options": {
  2905. "left": 64,
  2906. "top": 71,
  2907. "height": 48,
  2908. "width": 2,
  2909. "coordinateSync": false,
  2910. "widthHeightSync": false
  2911. },
  2912. "printElementType": {
  2913. "title": "竖线",
  2914. "type": "vline"
  2915. }
  2916. },
  2917. {
  2918. "options": {
  2919. "left": 514,
  2920. "top": 71,
  2921. "height": 31,
  2922. "width": 2,
  2923. "coordinateSync": false,
  2924. "widthHeightSync": false
  2925. },
  2926. "printElementType": {
  2927. "title": "竖线",
  2928. "type": "vline"
  2929. }
  2930. },
  2931. {
  2932. "options": {
  2933. "left": 201,
  2934. "top": 73,
  2935. "height": 12,
  2936. "width": 60,
  2937. "title": "产品代码",
  2938. "coordinateSync": false,
  2939. "widthHeightSync": false,
  2940. "textAlign": "center",
  2941. "textContentVerticalAlign": "middle",
  2942. "qrCodeLevel": 0
  2943. },
  2944. "printElementType": {
  2945. "title": "文本",
  2946. "type": "text"
  2947. }
  2948. },
  2949. {
  2950. "options": {
  2951. "left": 16.5,
  2952. "top": 73.5,
  2953. "height": 12,
  2954. "width": 45,
  2955. "title": "客户代码",
  2956. "coordinateSync": false,
  2957. "widthHeightSync": false,
  2958. "textAlign": "center",
  2959. "textContentVerticalAlign": "middle",
  2960. "qrCodeLevel": 0
  2961. },
  2962. "printElementType": {
  2963. "title": "文本",
  2964. "type": "text"
  2965. }
  2966. },
  2967. {
  2968. "options": {
  2969. "left": 64.5,
  2970. "top": 73.5,
  2971. "height": 12,
  2972. "width": 132,
  2973. "title": "客户名称",
  2974. "coordinateSync": false,
  2975. "widthHeightSync": false,
  2976. "textAlign": "center",
  2977. "textContentVerticalAlign": "middle",
  2978. "qrCodeLevel": 0
  2979. },
  2980. "printElementType": {
  2981. "title": "文本",
  2982. "type": "text"
  2983. }
  2984. },
  2985. {
  2986. "options": {
  2987. "left": 264,
  2988. "top": 73.5,
  2989. "height": 12,
  2990. "width": 196,
  2991. "title": "产品名称",
  2992. "coordinateSync": false,
  2993. "widthHeightSync": false,
  2994. "textAlign": "center",
  2995. "textContentVerticalAlign": "middle",
  2996. "qrCodeLevel": 0
  2997. },
  2998. "printElementType": {
  2999. "title": "文本",
  3000. "type": "text"
  3001. }
  3002. },
  3003. {
  3004. "options": {
  3005. "left": 463,
  3006. "top": 73.5,
  3007. "height": 12,
  3008. "width": 46.5,
  3009. "title": "版本号",
  3010. "coordinateSync": false,
  3011. "widthHeightSync": false,
  3012. "textAlign": "center",
  3013. "textContentVerticalAlign": "middle",
  3014. "qrCodeLevel": 0
  3015. },
  3016. "printElementType": {
  3017. "title": "文本",
  3018. "type": "text"
  3019. }
  3020. },
  3021. {
  3022. "options": {
  3023. "left": 515,
  3024. "top": 73.5,
  3025. "height": 12,
  3026. "width": 314,
  3027. "title": "警语版面",
  3028. "coordinateSync": false,
  3029. "widthHeightSync": false,
  3030. "textContentVerticalAlign": "middle",
  3031. "qrCodeLevel": 0,
  3032. "textAlign": "center"
  3033. },
  3034. "printElementType": {
  3035. "title": "文本",
  3036. "type": "text"
  3037. }
  3038. },
  3039. {
  3040. "options": {
  3041. "left": 15,
  3042. "top": 87,
  3043. "height": 9,
  3044. "width": 815,
  3045. "borderWidth": "0.75",
  3046. "coordinateSync": false,
  3047. "widthHeightSync": false
  3048. },
  3049. "printElementType": {
  3050. "title": "横线",
  3051. "type": "hline"
  3052. }
  3053. },
  3054. {
  3055. "options": {
  3056. "left": 65,
  3057. "top": 88.5,
  3058. "height": 12,
  3059. "width": 132,
  3060. "title": "文本",
  3061. "field": "khmc",
  3062. "coordinateSync": false,
  3063. "widthHeightSync": false,
  3064. "hideTitle": true,
  3065. "textAlign": "center",
  3066. "textContentVerticalAlign": "middle",
  3067. "qrCodeLevel": 0,
  3068. "textContentWrap": "clip"
  3069. },
  3070. "printElementType": {
  3071. "title": "文本",
  3072. "type": "text"
  3073. }
  3074. },
  3075. {
  3076. "options": {
  3077. "left": 200.5,
  3078. "top": 88.5,
  3079. "height": 12,
  3080. "width": 60,
  3081. "title": "100301047",
  3082. "field": "cpdm",
  3083. "coordinateSync": false,
  3084. "widthHeightSync": false,
  3085. "hideTitle": true,
  3086. "textAlign": "center",
  3087. "textContentVerticalAlign": "middle",
  3088. "qrCodeLevel": 0
  3089. },
  3090. "printElementType": {
  3091. "title": "文本",
  3092. "type": "text"
  3093. }
  3094. },
  3095. {
  3096. "options": {
  3097. "left": 264,
  3098. "top": 88.5,
  3099. "height": 12,
  3100. "width": 196,
  3101. "title": "文本",
  3102. "field": "cpmc",
  3103. "coordinateSync": false,
  3104. "widthHeightSync": false,
  3105. "hideTitle": true,
  3106. "qrCodeLevel": 0,
  3107. "textContentVerticalAlign": "middle",
  3108. "textContentWrap": "clip"
  3109. },
  3110. "printElementType": {
  3111. "title": "文本",
  3112. "type": "text"
  3113. }
  3114. },
  3115. {
  3116. "options": {
  3117. "left": 463,
  3118. "top": 88.5,
  3119. "height": 13,
  3120. "width": 50,
  3121. "title": "文本",
  3122. "field": "bbh",
  3123. "coordinateSync": false,
  3124. "widthHeightSync": false,
  3125. "hideTitle": true,
  3126. "qrCodeLevel": 0,
  3127. "textAlign": "center",
  3128. "textContentVerticalAlign": "middle"
  3129. },
  3130. "printElementType": {
  3131. "title": "文本",
  3132. "type": "text"
  3133. }
  3134. },
  3135. {
  3136. "options": {
  3137. "left": 515,
  3138. "top": 88.5,
  3139. "height": 12,
  3140. "width": 314,
  3141. "title": "文本",
  3142. "field": "jybm",
  3143. "coordinateSync": false,
  3144. "widthHeightSync": false,
  3145. "hideTitle": true,
  3146. "qrCodeLevel": 0,
  3147. "textContentVerticalAlign": "middle",
  3148. "textContentWrap": "clip"
  3149. },
  3150. "printElementType": {
  3151. "title": "文本",
  3152. "type": "text"
  3153. }
  3154. },
  3155. {
  3156. "options": {
  3157. "left": 16.5,
  3158. "top": 89,
  3159. "height": 12,
  3160. "width": 45,
  3161. "title": "文本",
  3162. "field": "khdh",
  3163. "coordinateSync": false,
  3164. "widthHeightSync": false,
  3165. "hideTitle": true,
  3166. "textAlign": "center",
  3167. "textContentVerticalAlign": "middle",
  3168. "qrCodeLevel": 0
  3169. },
  3170. "printElementType": {
  3171. "title": "文本",
  3172. "type": "text"
  3173. }
  3174. },
  3175. {
  3176. "options": {
  3177. "left": 15,
  3178. "top": 102,
  3179. "height": 9,
  3180. "width": 815,
  3181. "borderWidth": "0.75",
  3182. "coordinateSync": false,
  3183. "widthHeightSync": false
  3184. },
  3185. "printElementType": {
  3186. "title": "横线",
  3187. "type": "hline"
  3188. }
  3189. },
  3190. {
  3191. "options": {
  3192. "left": 514,
  3193. "top": 102,
  3194. "height": 17,
  3195. "width": 9,
  3196. "coordinateSync": false,
  3197. "widthHeightSync": false
  3198. },
  3199. "printElementType": {
  3200. "title": "竖线",
  3201. "type": "vline"
  3202. }
  3203. },
  3204. {
  3205. "options": {
  3206. "left": 580,
  3207. "top": 102,
  3208. "height": 17,
  3209. "width": 9,
  3210. "coordinateSync": false,
  3211. "widthHeightSync": false
  3212. },
  3213. "printElementType": {
  3214. "title": "竖线",
  3215. "type": "vline"
  3216. }
  3217. },
  3218. {
  3219. "options": {
  3220. "left": 636,
  3221. "top": 102,
  3222. "height": 17,
  3223. "width": 9,
  3224. "coordinateSync": false,
  3225. "widthHeightSync": false
  3226. },
  3227. "printElementType": {
  3228. "title": "竖线",
  3229. "type": "vline"
  3230. }
  3231. },
  3232. {
  3233. "options": {
  3234. "left": 706,
  3235. "top": 102,
  3236. "height": 17,
  3237. "width": 9,
  3238. "coordinateSync": false,
  3239. "widthHeightSync": false
  3240. },
  3241. "printElementType": {
  3242. "title": "竖线",
  3243. "type": "vline"
  3244. }
  3245. },
  3246. {
  3247. "options": {
  3248. "left": 764,
  3249. "top": 102,
  3250. "height": 17,
  3251. "width": 9,
  3252. "coordinateSync": false,
  3253. "widthHeightSync": false
  3254. },
  3255. "printElementType": {
  3256. "title": "竖线",
  3257. "type": "vline"
  3258. }
  3259. },
  3260. {
  3261. "options": {
  3262. "left": 765,
  3263. "top": 103.5,
  3264. "height": 12,
  3265. "width": 62,
  3266. "title": "文本",
  3267. "field": "pzll",
  3268. "coordinateSync": false,
  3269. "widthHeightSync": false,
  3270. "hideTitle": true,
  3271. "textAlign": "center",
  3272. "textContentVerticalAlign": "middle",
  3273. "qrCodeLevel": 0,
  3274. "color": "#fa1919"
  3275. },
  3276. "printElementType": {
  3277. "title": "文本",
  3278. "type": "text"
  3279. }
  3280. },
  3281. {
  3282. "options": {
  3283. "left": 708,
  3284. "top": 104,
  3285. "height": 12,
  3286. "width": 54,
  3287. "title": "平张投料(张)",
  3288. "coordinateSync": false,
  3289. "widthHeightSync": false,
  3290. "textAlign": "center",
  3291. "textContentVerticalAlign": "middle",
  3292. "qrCodeLevel": 0,
  3293. "color": "#ff0a0a"
  3294. },
  3295. "printElementType": {
  3296. "title": "文本",
  3297. "type": "text"
  3298. }
  3299. },
  3300. {
  3301. "options": {
  3302. "left": 17,
  3303. "top": 105,
  3304. "height": 12,
  3305. "width": 45,
  3306. "title": "码源数量",
  3307. "coordinateSync": false,
  3308. "widthHeightSync": false,
  3309. "textAlign": "center",
  3310. "textContentVerticalAlign": "middle",
  3311. "qrCodeLevel": 0
  3312. },
  3313. "printElementType": {
  3314. "title": "文本",
  3315. "type": "text"
  3316. }
  3317. },
  3318. {
  3319. "options": {
  3320. "left": 64.5,
  3321. "top": 105,
  3322. "height": 12,
  3323. "width": 132,
  3324. "title": "文本",
  3325. "field": "mysl",
  3326. "coordinateSync": false,
  3327. "widthHeightSync": false,
  3328. "hideTitle": true,
  3329. "textAlign": "center",
  3330. "textContentVerticalAlign": "middle",
  3331. "qrCodeLevel": 0
  3332. },
  3333. "printElementType": {
  3334. "title": "文本",
  3335. "type": "text"
  3336. }
  3337. },
  3338. {
  3339. "options": {
  3340. "left": 201,
  3341. "top": 105,
  3342. "height": 12,
  3343. "width": 58.5,
  3344. "title": "客户ERP编码",
  3345. "coordinateSync": false,
  3346. "widthHeightSync": false,
  3347. "qrCodeLevel": 0,
  3348. "textAlign": "center",
  3349. "textContentVerticalAlign": "middle"
  3350. },
  3351. "printElementType": {
  3352. "title": "文本",
  3353. "type": "text"
  3354. }
  3355. },
  3356. {
  3357. "options": {
  3358. "left": 264,
  3359. "top": 105,
  3360. "height": 11,
  3361. "width": 196,
  3362. "title": "文本",
  3363. "field": "kherpbm",
  3364. "coordinateSync": false,
  3365. "widthHeightSync": false,
  3366. "hideTitle": true,
  3367. "textAlign": "center",
  3368. "textContentVerticalAlign": "middle",
  3369. "qrCodeLevel": 0,
  3370. "textContentWrap": "clip"
  3371. },
  3372. "printElementType": {
  3373. "title": "文本",
  3374. "type": "text"
  3375. }
  3376. },
  3377. {
  3378. "options": {
  3379. "left": 463,
  3380. "top": 105,
  3381. "height": 12,
  3382. "width": 52,
  3383. "title": "开单日期",
  3384. "coordinateSync": false,
  3385. "widthHeightSync": false,
  3386. "textAlign": "center",
  3387. "textContentVerticalAlign": "middle",
  3388. "qrCodeLevel": 0
  3389. },
  3390. "printElementType": {
  3391. "title": "文本",
  3392. "type": "text"
  3393. }
  3394. },
  3395. {
  3396. "options": {
  3397. "left": 517,
  3398. "top": 105,
  3399. "height": 12,
  3400. "width": 61,
  3401. "title": "文本",
  3402. "field": "kdrq",
  3403. "coordinateSync": false,
  3404. "widthHeightSync": false,
  3405. "hideTitle": true,
  3406. "textAlign": "center",
  3407. "textContentVerticalAlign": "middle",
  3408. "qrCodeLevel": 0,
  3409. "textContentWrap": "clip",
  3410. "fontWeight": "bold"
  3411. },
  3412. "printElementType": {
  3413. "title": "文本",
  3414. "type": "text"
  3415. }
  3416. },
  3417. {
  3418. "options": {
  3419. "left": 582,
  3420. "top": 105,
  3421. "height": 12,
  3422. "width": 52,
  3423. "title": "交货日期",
  3424. "coordinateSync": false,
  3425. "widthHeightSync": false,
  3426. "textAlign": "center",
  3427. "textContentVerticalAlign": "middle",
  3428. "qrCodeLevel": 0
  3429. },
  3430. "printElementType": {
  3431. "title": "文本",
  3432. "type": "text"
  3433. }
  3434. },
  3435. {
  3436. "options": {
  3437. "left": 641,
  3438. "top": 105,
  3439. "height": 12,
  3440. "width": 61,
  3441. "title": "文本",
  3442. "field": "jhrq",
  3443. "coordinateSync": false,
  3444. "widthHeightSync": false,
  3445. "hideTitle": true,
  3446. "textAlign": "center",
  3447. "textContentVerticalAlign": "middle",
  3448. "qrCodeLevel": 0,
  3449. "textContentWrap": "clip",
  3450. "fontWeight": "bold"
  3451. },
  3452. "printElementType": {
  3453. "title": "文本",
  3454. "type": "text"
  3455. }
  3456. },
  3457. {
  3458. "options": {
  3459. "left": 15,
  3460. "top": 118.5,
  3461. "height": 9,
  3462. "width": 815,
  3463. "borderWidth": "0.75",
  3464. "coordinateSync": false,
  3465. "widthHeightSync": false
  3466. },
  3467. "printElementType": {
  3468. "title": "横线",
  3469. "type": "hline"
  3470. }
  3471. },
  3472. {
  3473. "options": {
  3474. "left": 556,
  3475. "top": 118.5,
  3476. "height": 39,
  3477. "width": 5,
  3478. "coordinateSync": false,
  3479. "widthHeightSync": false
  3480. },
  3481. "printElementType": {
  3482. "title": "竖线",
  3483. "type": "vline"
  3484. }
  3485. },
  3486. {
  3487. "options": {
  3488. "left": 609,
  3489. "top": 118.5,
  3490. "height": 39,
  3491. "width": 5,
  3492. "coordinateSync": false,
  3493. "widthHeightSync": false
  3494. },
  3495. "printElementType": {
  3496. "title": "竖线",
  3497. "type": "vline"
  3498. }
  3499. },
  3500. {
  3501. "options": {
  3502. "left": 660,
  3503. "top": 118.5,
  3504. "height": 39,
  3505. "width": 5,
  3506. "coordinateSync": false,
  3507. "widthHeightSync": false
  3508. },
  3509. "printElementType": {
  3510. "title": "竖线",
  3511. "type": "vline"
  3512. }
  3513. },
  3514. {
  3515. "options": {
  3516. "left": 718,
  3517. "top": 118.5,
  3518. "height": 39,
  3519. "width": 5,
  3520. "coordinateSync": false,
  3521. "widthHeightSync": false
  3522. },
  3523. "printElementType": {
  3524. "title": "竖线",
  3525. "type": "vline"
  3526. }
  3527. },
  3528. {
  3529. "options": {
  3530. "left": 774,
  3531. "top": 118.5,
  3532. "height": 39,
  3533. "width": 5,
  3534. "coordinateSync": false,
  3535. "widthHeightSync": false
  3536. },
  3537. "printElementType": {
  3538. "title": "竖线",
  3539. "type": "vline"
  3540. }
  3541. },
  3542. {
  3543. "options": {
  3544. "left": 505,
  3545. "top": 119,
  3546. "height": 40,
  3547. "width": 9,
  3548. "coordinateSync": false,
  3549. "widthHeightSync": false
  3550. },
  3551. "printElementType": {
  3552. "title": "竖线",
  3553. "type": "vline"
  3554. }
  3555. },
  3556. {
  3557. "options": {
  3558. "left": 17,
  3559. "top": 121.5,
  3560. "height": 34.5,
  3561. "width": 49.5,
  3562. "title": "工单说明:",
  3563. "coordinateSync": false,
  3564. "widthHeightSync": false,
  3565. "color": "#ff0000",
  3566. "qrCodeLevel": 0,
  3567. "textAlign": "center"
  3568. },
  3569. "printElementType": {
  3570. "title": "文本",
  3571. "type": "text"
  3572. }
  3573. },
  3574. {
  3575. "options": {
  3576. "left": 66,
  3577. "top": 121.5,
  3578. "height": 34.5,
  3579. "width": 438,
  3580. "title": "文本",
  3581. "field": "gdsm",
  3582. "coordinateSync": false,
  3583. "widthHeightSync": false,
  3584. "hideTitle": true,
  3585. "qrCodeLevel": 0
  3586. },
  3587. "printElementType": {
  3588. "title": "文本",
  3589. "type": "text"
  3590. }
  3591. },
  3592. {
  3593. "options": {
  3594. "left": 507,
  3595. "top": 121.5,
  3596. "height": 12,
  3597. "width": 49,
  3598. "title": "投料率",
  3599. "coordinateSync": false,
  3600. "widthHeightSync": false,
  3601. "textAlign": "center",
  3602. "textContentVerticalAlign": "middle",
  3603. "qrCodeLevel": 0
  3604. },
  3605. "printElementType": {
  3606. "title": "文本",
  3607. "type": "text"
  3608. }
  3609. },
  3610. {
  3611. "options": {
  3612. "left": 559,
  3613. "top": 121.5,
  3614. "height": 12,
  3615. "width": 49,
  3616. "title": "目标合格率",
  3617. "coordinateSync": false,
  3618. "widthHeightSync": false,
  3619. "textAlign": "center",
  3620. "textContentVerticalAlign": "middle",
  3621. "qrCodeLevel": 0
  3622. },
  3623. "printElementType": {
  3624. "title": "文本",
  3625. "type": "text"
  3626. }
  3627. },
  3628. {
  3629. "options": {
  3630. "left": 611,
  3631. "top": 121.5,
  3632. "height": 12,
  3633. "width": 49,
  3634. "title": "平均合格率",
  3635. "coordinateSync": false,
  3636. "widthHeightSync": false,
  3637. "textAlign": "center",
  3638. "textContentVerticalAlign": "middle",
  3639. "qrCodeLevel": 0
  3640. },
  3641. "printElementType": {
  3642. "title": "文本",
  3643. "type": "text"
  3644. }
  3645. },
  3646. {
  3647. "options": {
  3648. "left": 663,
  3649. "top": 121.5,
  3650. "height": 12,
  3651. "width": 54,
  3652. "title": "订货数量(箱)",
  3653. "coordinateSync": false,
  3654. "widthHeightSync": false,
  3655. "qrCodeLevel": 0,
  3656. "textAlign": "center",
  3657. "textContentVerticalAlign": "middle"
  3658. },
  3659. "printElementType": {
  3660. "title": "文本",
  3661. "type": "text"
  3662. }
  3663. },
  3664. {
  3665. "options": {
  3666. "left": 721.5,
  3667. "top": 121.5,
  3668. "height": 12,
  3669. "width": 53,
  3670. "title": "库存数量(箱)",
  3671. "coordinateSync": false,
  3672. "widthHeightSync": false,
  3673. "qrCodeLevel": 0,
  3674. "textAlign": "center",
  3675. "textContentVerticalAlign": "middle"
  3676. },
  3677. "printElementType": {
  3678. "title": "文本",
  3679. "type": "text"
  3680. }
  3681. },
  3682. {
  3683. "options": {
  3684. "left": 775.5,
  3685. "top": 121.5,
  3686. "height": 12,
  3687. "width": 55,
  3688. "title": "投料数量(箱)",
  3689. "coordinateSync": false,
  3690. "widthHeightSync": false,
  3691. "qrCodeLevel": 0,
  3692. "textAlign": "center",
  3693. "textContentVerticalAlign": "middle"
  3694. },
  3695. "printElementType": {
  3696. "title": "文本",
  3697. "type": "text"
  3698. }
  3699. },
  3700. {
  3701. "options": {
  3702. "left": 505.5,
  3703. "top": 138,
  3704. "height": 6,
  3705. "width": 324,
  3706. "borderWidth": "0.75",
  3707. "coordinateSync": false,
  3708. "widthHeightSync": false
  3709. },
  3710. "printElementType": {
  3711. "title": "横线",
  3712. "type": "hline"
  3713. }
  3714. },
  3715. {
  3716. "options": {
  3717. "left": 560,
  3718. "top": 142,
  3719. "height": 12,
  3720. "width": 49,
  3721. "title": "文本",
  3722. "field": "mbhgl",
  3723. "coordinateSync": false,
  3724. "widthHeightSync": false,
  3725. "hideTitle": true,
  3726. "textAlign": "center",
  3727. "textContentVerticalAlign": "middle",
  3728. "qrCodeLevel": 0
  3729. },
  3730. "printElementType": {
  3731. "title": "文本",
  3732. "type": "text"
  3733. }
  3734. },
  3735. {
  3736. "options": {
  3737. "left": 720,
  3738. "top": 142,
  3739. "height": 12,
  3740. "width": 54,
  3741. "title": "文本",
  3742. "field": "kcsl",
  3743. "coordinateSync": false,
  3744. "widthHeightSync": false,
  3745. "hideTitle": true,
  3746. "textAlign": "center",
  3747. "textContentVerticalAlign": "middle",
  3748. "qrCodeLevel": 0
  3749. },
  3750. "printElementType": {
  3751. "title": "文本",
  3752. "type": "text"
  3753. }
  3754. },
  3755. {
  3756. "options": {
  3757. "left": 775,
  3758. "top": 142,
  3759. "height": 12,
  3760. "width": 55,
  3761. "title": "文本",
  3762. "field": "tlsl",
  3763. "coordinateSync": false,
  3764. "widthHeightSync": false,
  3765. "hideTitle": true,
  3766. "textAlign": "center",
  3767. "textContentVerticalAlign": "middle",
  3768. "qrCodeLevel": 0
  3769. },
  3770. "printElementType": {
  3771. "title": "文本",
  3772. "type": "text"
  3773. }
  3774. },
  3775. {
  3776. "options": {
  3777. "left": 507,
  3778. "top": 142.5,
  3779. "height": 12,
  3780. "width": 49,
  3781. "title": "文本",
  3782. "field": "tll",
  3783. "coordinateSync": false,
  3784. "widthHeightSync": false,
  3785. "hideTitle": true,
  3786. "textAlign": "center",
  3787. "textContentVerticalAlign": "middle",
  3788. "qrCodeLevel": 0
  3789. },
  3790. "printElementType": {
  3791. "title": "文本",
  3792. "type": "text"
  3793. }
  3794. },
  3795. {
  3796. "options": {
  3797. "left": 611,
  3798. "top": 142.5,
  3799. "height": 12,
  3800. "width": 49,
  3801. "title": "文本",
  3802. "field": "pjhgl",
  3803. "coordinateSync": false,
  3804. "widthHeightSync": false,
  3805. "hideTitle": true,
  3806. "textAlign": "center",
  3807. "textContentVerticalAlign": "middle",
  3808. "qrCodeLevel": 0
  3809. },
  3810. "printElementType": {
  3811. "title": "文本",
  3812. "type": "text"
  3813. }
  3814. },
  3815. {
  3816. "options": {
  3817. "left": 661,
  3818. "top": 142.5,
  3819. "height": 12,
  3820. "width": 57,
  3821. "title": "文本",
  3822. "field": "dhsl",
  3823. "coordinateSync": false,
  3824. "widthHeightSync": false,
  3825. "hideTitle": true,
  3826. "textAlign": "center",
  3827. "textContentVerticalAlign": "middle",
  3828. "qrCodeLevel": 0
  3829. },
  3830. "printElementType": {
  3831. "title": "文本",
  3832. "type": "text"
  3833. }
  3834. },
  3835. {
  3836. "options": {
  3837. "left": 15,
  3838. "top": 163.5,
  3839. "height": 9,
  3840. "width": 815,
  3841. "borderWidth": "0.75",
  3842. "coordinateSync": false,
  3843. "widthHeightSync": false
  3844. },
  3845. "printElementType": {
  3846. "title": "横线",
  3847. "type": "hline"
  3848. }
  3849. },
  3850. {
  3851. "options": {
  3852. "left": 349,
  3853. "top": 163.5,
  3854. "height": 38,
  3855. "width": 9,
  3856. "coordinateSync": false,
  3857. "widthHeightSync": false
  3858. },
  3859. "printElementType": {
  3860. "title": "竖线",
  3861. "type": "vline"
  3862. }
  3863. },
  3864. {
  3865. "options": {
  3866. "left": 654,
  3867. "top": 163.5,
  3868. "height": 38,
  3869. "width": 9,
  3870. "coordinateSync": false,
  3871. "widthHeightSync": false
  3872. },
  3873. "printElementType": {
  3874. "title": "竖线",
  3875. "type": "vline"
  3876. }
  3877. },
  3878. {
  3879. "options": {
  3880. "left": 15,
  3881. "top": 164,
  3882. "height": 38,
  3883. "width": 9,
  3884. "coordinateSync": false,
  3885. "widthHeightSync": false
  3886. },
  3887. "printElementType": {
  3888. "title": "竖线",
  3889. "type": "vline"
  3890. }
  3891. },
  3892. {
  3893. "options": {
  3894. "left": 45,
  3895. "top": 164,
  3896. "height": 38,
  3897. "width": 9,
  3898. "coordinateSync": false,
  3899. "widthHeightSync": false
  3900. },
  3901. "printElementType": {
  3902. "title": "竖线",
  3903. "type": "vline"
  3904. }
  3905. },
  3906. {
  3907. "options": {
  3908. "left": 294,
  3909. "top": 164,
  3910. "height": 38,
  3911. "width": 9,
  3912. "coordinateSync": false,
  3913. "widthHeightSync": false
  3914. },
  3915. "printElementType": {
  3916. "title": "竖线",
  3917. "type": "vline"
  3918. }
  3919. },
  3920. {
  3921. "options": {
  3922. "left": 577,
  3923. "top": 164,
  3924. "height": 38,
  3925. "width": 9,
  3926. "coordinateSync": false,
  3927. "widthHeightSync": false
  3928. },
  3929. "printElementType": {
  3930. "title": "竖线",
  3931. "type": "vline"
  3932. }
  3933. },
  3934. {
  3935. "options": {
  3936. "left": 684,
  3937. "top": 164,
  3938. "height": 38,
  3939. "width": 9,
  3940. "coordinateSync": false,
  3941. "widthHeightSync": false
  3942. },
  3943. "printElementType": {
  3944. "title": "竖线",
  3945. "type": "vline"
  3946. }
  3947. },
  3948. {
  3949. "options": {
  3950. "left": 830,
  3951. "top": 164,
  3952. "height": 39,
  3953. "width": 9,
  3954. "coordinateSync": false,
  3955. "widthHeightSync": false
  3956. },
  3957. "printElementType": {
  3958. "title": "竖线",
  3959. "type": "vline"
  3960. }
  3961. },
  3962. {
  3963. "options": {
  3964. "left": 48,
  3965. "top": 165,
  3966. "height": 12,
  3967. "width": 245,
  3968. "title": "印件代号及名称",
  3969. "coordinateSync": false,
  3970. "widthHeightSync": false,
  3971. "textAlign": "center",
  3972. "textContentVerticalAlign": "middle",
  3973. "qrCodeLevel": 0
  3974. },
  3975. "printElementType": {
  3976. "title": "文本",
  3977. "type": "text"
  3978. }
  3979. },
  3980. {
  3981. "options": {
  3982. "left": 299,
  3983. "top": 165,
  3984. "height": 12,
  3985. "width": 48,
  3986. "title": "平张投料量",
  3987. "coordinateSync": false,
  3988. "widthHeightSync": false,
  3989. "textAlign": "center",
  3990. "textContentVerticalAlign": "middle",
  3991. "qrCodeLevel": 0
  3992. },
  3993. "printElementType": {
  3994. "title": "文本",
  3995. "type": "text"
  3996. }
  3997. },
  3998. {
  3999. "options": {
  4000. "left": 350,
  4001. "top": 165,
  4002. "height": 12,
  4003. "width": 227,
  4004. "title": "纸张名称",
  4005. "coordinateSync": false,
  4006. "widthHeightSync": false,
  4007. "textAlign": "center",
  4008. "textContentVerticalAlign": "middle",
  4009. "qrCodeLevel": 0
  4010. },
  4011. "printElementType": {
  4012. "title": "文本",
  4013. "type": "text"
  4014. }
  4015. },
  4016. {
  4017. "options": {
  4018. "left": 579,
  4019. "top": 165,
  4020. "height": 12,
  4021. "width": 75,
  4022. "title": "投料规格",
  4023. "coordinateSync": false,
  4024. "widthHeightSync": false,
  4025. "textAlign": "center",
  4026. "textContentVerticalAlign": "middle",
  4027. "qrCodeLevel": 0
  4028. },
  4029. "printElementType": {
  4030. "title": "文本",
  4031. "type": "text"
  4032. }
  4033. },
  4034. {
  4035. "options": {
  4036. "left": 656,
  4037. "top": 165,
  4038. "height": 12,
  4039. "width": 27,
  4040. "title": "联数",
  4041. "coordinateSync": false,
  4042. "widthHeightSync": false,
  4043. "textAlign": "center",
  4044. "textContentVerticalAlign": "middle",
  4045. "qrCodeLevel": 0
  4046. },
  4047. "printElementType": {
  4048. "title": "文本",
  4049. "type": "text"
  4050. }
  4051. },
  4052. {
  4053. "options": {
  4054. "left": 686,
  4055. "top": 165,
  4056. "height": 12,
  4057. "width": 27,
  4058. "title": "开数",
  4059. "coordinateSync": false,
  4060. "widthHeightSync": false,
  4061. "textAlign": "center",
  4062. "textContentVerticalAlign": "middle",
  4063. "qrCodeLevel": 0
  4064. },
  4065. "printElementType": {
  4066. "title": "文本",
  4067. "type": "text"
  4068. }
  4069. },
  4070. {
  4071. "options": {
  4072. "left": 712.5,
  4073. "top": 165,
  4074. "height": 38,
  4075. "width": 5,
  4076. "coordinateSync": false,
  4077. "widthHeightSync": false
  4078. },
  4079. "printElementType": {
  4080. "title": "竖线",
  4081. "type": "vline"
  4082. }
  4083. },
  4084. {
  4085. "options": {
  4086. "left": 714,
  4087. "top": 165,
  4088. "height": 12,
  4089. "width": 116,
  4090. "title": "备注",
  4091. "coordinateSync": false,
  4092. "widthHeightSync": false,
  4093. "textAlign": "center",
  4094. "textContentVerticalAlign": "middle",
  4095. "qrCodeLevel": 0
  4096. },
  4097. "printElementType": {
  4098. "title": "文本",
  4099. "type": "text"
  4100. }
  4101. },
  4102. {
  4103. "options": {
  4104. "left": 17,
  4105. "top": 166,
  4106. "height": 12,
  4107. "width": 27,
  4108. "title": "印件",
  4109. "coordinateSync": false,
  4110. "widthHeightSync": false,
  4111. "textAlign": "center",
  4112. "textContentVerticalAlign": "middle",
  4113. "qrCodeLevel": 0
  4114. },
  4115. "printElementType": {
  4116. "title": "文本",
  4117. "type": "text"
  4118. }
  4119. },
  4120. {
  4121. "options": {
  4122. "left": 15,
  4123. "top": 178.5,
  4124. "height": 9,
  4125. "width": 815,
  4126. "borderWidth": "0.75",
  4127. "coordinateSync": false,
  4128. "widthHeightSync": false
  4129. },
  4130. "printElementType": {
  4131. "title": "横线",
  4132. "type": "hline"
  4133. }
  4134. },
  4135. {
  4136. "options": {
  4137. "left": 350,
  4138. "top": 180,
  4139. "height": 12,
  4140. "width": 227,
  4141. "title": "文本",
  4142. "field": "zzmc",
  4143. "coordinateSync": false,
  4144. "widthHeightSync": false,
  4145. "hideTitle": true,
  4146. "textContentVerticalAlign": "middle",
  4147. "qrCodeLevel": 0,
  4148. "textContentWrap": "clip"
  4149. },
  4150. "printElementType": {
  4151. "title": "文本",
  4152. "type": "text"
  4153. }
  4154. },
  4155. {
  4156. "options": {
  4157. "left": 579,
  4158. "top": 180,
  4159. "height": 12,
  4160. "width": 75,
  4161. "title": "文本",
  4162. "field": "tlgg",
  4163. "coordinateSync": false,
  4164. "widthHeightSync": false,
  4165. "hideTitle": true,
  4166. "textContentVerticalAlign": "middle",
  4167. "qrCodeLevel": 0,
  4168. "textAlign": "center",
  4169. "textContentWrap": "clip"
  4170. },
  4171. "printElementType": {
  4172. "title": "文本",
  4173. "type": "text"
  4174. }
  4175. },
  4176. {
  4177. "options": {
  4178. "left": 656,
  4179. "top": 180,
  4180. "height": 12,
  4181. "width": 27,
  4182. "title": "文本",
  4183. "field": "ls",
  4184. "coordinateSync": false,
  4185. "widthHeightSync": false,
  4186. "hideTitle": true,
  4187. "textAlign": "center",
  4188. "textContentVerticalAlign": "middle",
  4189. "qrCodeLevel": 0,
  4190. "textContentWrap": "clip"
  4191. },
  4192. "printElementType": {
  4193. "title": "文本",
  4194. "type": "text"
  4195. }
  4196. },
  4197. {
  4198. "options": {
  4199. "left": 685.5,
  4200. "top": 180,
  4201. "height": 12,
  4202. "width": 27,
  4203. "title": "文本",
  4204. "field": "ks",
  4205. "coordinateSync": false,
  4206. "widthHeightSync": false,
  4207. "hideTitle": true,
  4208. "textAlign": "center",
  4209. "textContentVerticalAlign": "middle",
  4210. "qrCodeLevel": 0,
  4211. "textContentWrap": "clip"
  4212. },
  4213. "printElementType": {
  4214. "title": "文本",
  4215. "type": "text"
  4216. }
  4217. },
  4218. {
  4219. "options": {
  4220. "left": 714,
  4221. "top": 180,
  4222. "height": 12,
  4223. "width": 116,
  4224. "title": "文本",
  4225. "field": "bz",
  4226. "coordinateSync": false,
  4227. "widthHeightSync": false,
  4228. "hideTitle": true,
  4229. "qrCodeLevel": 0,
  4230. "textContentWrap": "clip"
  4231. },
  4232. "printElementType": {
  4233. "title": "文本",
  4234. "type": "text"
  4235. }
  4236. },
  4237. {
  4238. "options": {
  4239. "left": 296,
  4240. "top": 181,
  4241. "height": 14,
  4242. "width": 52,
  4243. "title": "文本",
  4244. "field": "pztll",
  4245. "coordinateSync": false,
  4246. "widthHeightSync": false,
  4247. "hideTitle": true,
  4248. "textAlign": "center",
  4249. "textContentVerticalAlign": "middle",
  4250. "qrCodeLevel": 0
  4251. },
  4252. "printElementType": {
  4253. "title": "文本",
  4254. "type": "text"
  4255. }
  4256. },
  4257. {
  4258. "options": {
  4259. "left": 17,
  4260. "top": 182,
  4261. "height": 12,
  4262. "width": 27,
  4263. "title": "文本",
  4264. "coordinateSync": false,
  4265. "widthHeightSync": false,
  4266. "textAlign": "center",
  4267. "textContentVerticalAlign": "middle",
  4268. "qrCodeLevel": 0,
  4269. "field": "yjh",
  4270. "hideTitle": true
  4271. },
  4272. "printElementType": {
  4273. "title": "文本",
  4274. "type": "text"
  4275. }
  4276. },
  4277. {
  4278. "options": {
  4279. "left": 47,
  4280. "top": 182,
  4281. "height": 12,
  4282. "width": 247,
  4283. "title": "文本",
  4284. "field": "thdhjmc",
  4285. "coordinateSync": false,
  4286. "widthHeightSync": false,
  4287. "hideTitle": true,
  4288. "textContentVerticalAlign": "middle",
  4289. "qrCodeLevel": 0,
  4290. "textContentWrap": "clip"
  4291. },
  4292. "printElementType": {
  4293. "title": "文本",
  4294. "type": "text"
  4295. }
  4296. },
  4297. {
  4298. "options": {
  4299. "left": 15,
  4300. "top": 202,
  4301. "height": 9,
  4302. "width": 816,
  4303. "borderWidth": "0.75",
  4304. "coordinateSync": false,
  4305. "widthHeightSync": false
  4306. },
  4307. "printElementType": {
  4308. "title": "横线",
  4309. "type": "hline"
  4310. }
  4311. },
  4312. {
  4313. "options": {
  4314. "left": 15,
  4315. "top": 208.5,
  4316. "height": 91.5,
  4317. "width": 816,
  4318. "field": "table2",
  4319. "coordinateSync": false,
  4320. "widthHeightSync": false,
  4321. "tableHeaderBackground": "#ffffff",
  4322. "columns": [
  4323. [
  4324. {
  4325. "width": 300.1855077418251,
  4326. "title": "印件及工序名称",
  4327. "titleSync": false,
  4328. "field": "yjjgxmc",
  4329. "checked": true,
  4330. "columnId": "yjjgxmc",
  4331. "fixed": false,
  4332. "rowspan": 1,
  4333. "colspan": 1,
  4334. "tableQRCodeLevel": 0,
  4335. "tableSummaryTitle": true,
  4336. "tableSummary": ""
  4337. },
  4338. {
  4339. "width": 54.48396735336328,
  4340. "title": "转序数(张)",
  4341. "titleSync": false,
  4342. "field": "zxs",
  4343. "checked": true,
  4344. "columnId": "zxs",
  4345. "fixed": false,
  4346. "rowspan": 1,
  4347. "colspan": 1,
  4348. "tableQRCodeLevel": 0,
  4349. "tableSummaryTitle": true,
  4350. "tableSummary": ""
  4351. },
  4352. {
  4353. "width": 45.53587180900963,
  4354. "title": "报废定额",
  4355. "titleSync": false,
  4356. "field": "bfde",
  4357. "checked": true,
  4358. "columnId": "bfde",
  4359. "fixed": false,
  4360. "rowspan": 1,
  4361. "colspan": 1,
  4362. "tableQRCodeLevel": 0,
  4363. "tableSummaryTitle": true,
  4364. "tableSummary": ""
  4365. },
  4366. {
  4367. "width": 46.13787813620061,
  4368. "title": "允许比例",
  4369. "titleSync": false,
  4370. "field": "yxbl",
  4371. "checked": true,
  4372. "columnId": "yxbl",
  4373. "fixed": false,
  4374. "rowspan": 1,
  4375. "colspan": 1,
  4376. "tableQRCodeLevel": 0,
  4377. "tableSummaryTitle": true,
  4378. "tableSummary": ""
  4379. },
  4380. {
  4381. "width": 46.26871540323957,
  4382. "title": "损耗系数",
  4383. "titleSync": false,
  4384. "field": "shxs",
  4385. "checked": true,
  4386. "columnId": "shxs",
  4387. "fixed": false,
  4388. "rowspan": 1,
  4389. "colspan": 1,
  4390. "tableQRCodeLevel": 0,
  4391. "tableSummaryTitle": true,
  4392. "tableSummary": ""
  4393. },
  4394. {
  4395. "width": 45.722331785648365,
  4396. "title": "装板工时",
  4397. "titleSync": false,
  4398. "field": "zbgs",
  4399. "checked": true,
  4400. "columnId": "zbgs",
  4401. "fixed": false,
  4402. "rowspan": 1,
  4403. "colspan": 1,
  4404. "tableQRCodeLevel": 0,
  4405. "tableSummaryTitle": true,
  4406. "tableSummary": ""
  4407. },
  4408. {
  4409. "width": 45.902414161246085,
  4410. "title": "小时定额",
  4411. "titleSync": false,
  4412. "field": "xsde",
  4413. "checked": true,
  4414. "columnId": "xsde",
  4415. "fixed": false,
  4416. "rowspan": 1,
  4417. "colspan": 1,
  4418. "tableQRCodeLevel": 0,
  4419. "tableSummaryTitle": true,
  4420. "tableSummary": ""
  4421. },
  4422. {
  4423. "width": 51.093669275306894,
  4424. "title": "生产工时",
  4425. "titleSync": false,
  4426. "field": "scgs",
  4427. "checked": true,
  4428. "columnId": "scgs",
  4429. "fixed": false,
  4430. "rowspan": 1,
  4431. "colspan": 1,
  4432. "tableQRCodeLevel": 0,
  4433. "tableSummaryTitle": true,
  4434. "tableSummary": ""
  4435. },
  4436. {
  4437. "width": 180.66964433416047,
  4438. "title": "备注",
  4439. "titleSync": false,
  4440. "field": "bz",
  4441. "checked": true,
  4442. "columnId": "bz",
  4443. "fixed": false,
  4444. "rowspan": 1,
  4445. "colspan": 1,
  4446. "align": "center",
  4447. "halign": "center",
  4448. "vAlign": "middle",
  4449. "tableQRCodeLevel": 0,
  4450. "tableSummaryTitle": true,
  4451. "tableSummary": ""
  4452. }
  4453. ]
  4454. ]
  4455. },
  4456. "printElementType": {
  4457. "title": "表格",
  4458. "type": "table",
  4459. "editable": true,
  4460. "columnDisplayEditable": true,
  4461. "columnDisplayIndexEditable": true,
  4462. "columnTitleEditable": true,
  4463. "columnResizable": true,
  4464. "columnAlignEditable": true,
  4465. "isEnableEditField": true,
  4466. "isEnableContextMenu": true,
  4467. "isEnableInsertRow": true,
  4468. "isEnableDeleteRow": true,
  4469. "isEnableInsertColumn": true,
  4470. "isEnableDeleteColumn": true,
  4471. "isEnableMergeCell": true
  4472. }
  4473. },
  4474. {
  4475. "options": {
  4476. "left": 15,
  4477. "top": 524,
  4478. "height": 14,
  4479. "width": 45,
  4480. "title": "制单:",
  4481. "coordinateSync": false,
  4482. "widthHeightSync": false,
  4483. "fontSize": 12,
  4484. "textAlign": "center",
  4485. "textContentVerticalAlign": "middle",
  4486. "qrCodeLevel": 0
  4487. },
  4488. "printElementType": {
  4489. "title": "文本",
  4490. "type": "text"
  4491. }
  4492. },
  4493. {
  4494. "options": {
  4495. "left": 64.5,
  4496. "top": 524,
  4497. "height": 14,
  4498. "width": 120,
  4499. "title": "文本",
  4500. "field": "zdr",
  4501. "coordinateSync": false,
  4502. "widthHeightSync": false,
  4503. "hideTitle": true,
  4504. "fontSize": 12,
  4505. "textContentVerticalAlign": "middle",
  4506. "qrCodeLevel": 0
  4507. },
  4508. "printElementType": {
  4509. "title": "文本",
  4510. "type": "text"
  4511. }
  4512. },
  4513. {
  4514. "options": {
  4515. "left": 396,
  4516. "top": 524,
  4517. "height": 14,
  4518. "width": 40.5,
  4519. "title": "审核:",
  4520. "coordinateSync": false,
  4521. "widthHeightSync": false,
  4522. "fontSize": 12,
  4523. "textAlign": "center",
  4524. "textContentVerticalAlign": "middle",
  4525. "qrCodeLevel": 0
  4526. },
  4527. "printElementType": {
  4528. "title": "文本",
  4529. "type": "text"
  4530. }
  4531. },
  4532. {
  4533. "options": {
  4534. "left": 436.5,
  4535. "top": 524,
  4536. "height": 14,
  4537. "width": 120,
  4538. "title": "文本",
  4539. "field": "shr",
  4540. "coordinateSync": false,
  4541. "widthHeightSync": false,
  4542. "hideTitle": true,
  4543. "fontSize": 12,
  4544. "textContentVerticalAlign": "middle",
  4545. "qrCodeLevel": 0
  4546. },
  4547. "printElementType": {
  4548. "title": "文本",
  4549. "type": "text"
  4550. }
  4551. }
  4552. ],
  4553. "paperNumberLeft": 565.5,
  4554. "paperNumberTop": 573,
  4555. "paperNumberDisabled": true,
  4556. "paperNumberContinue": true,
  4557. "backgroundColor": "#ffffff",
  4558. "overPrintOptions": {
  4559. "content": "",
  4560. "opacity": 0.7,
  4561. "type": 1
  4562. },
  4563. "watermarkOptions": {
  4564. "content": "",
  4565. "fillStyle": "rgba(255, 255, 255, 1)",
  4566. "fontSize": "36px",
  4567. "rotate": 25,
  4568. "width": 413,
  4569. "height": 310,
  4570. "timestamp": false,
  4571. "format": "YYYY-MM-DD HH:mm"
  4572. }
  4573. }
  4574. ]
  4575. }
  4576. hiprint.init()
  4577. const hiprintTemplate = new hiprint.PrintTemplate({ template: jsondata })
  4578. const hiprintTemplates = new hiprint.PrintTemplate({ template: jsondatas })
  4579. const _gdlx = ref('')
  4580. const cp_print_handleConfirm = async () => {
  4581. if(form['yjno'] === '' || form['yjno'] === undefined){
  4582. ElMessage({type: 'warning',message: '印件资料为空'})
  4583. return false;
  4584. }
  4585. let params = {};
  4586. params.workOrder = form['gdbh'];
  4587. params.PrepareDocument = form['zd'];
  4588. params.examine = form['sh'];
  4589. params.yjno = form['yjno'];
  4590. params.gxh = form['gxh'];
  4591. //调用打印接口【打印作业通知单】
  4592. const print_PrintJobOrder = await PrintJobOrder(params);
  4593. // console.log(print_PrintJobOrder)
  4594. if(print_PrintJobOrder.msg === '未找到物料资料信息'){
  4595. ElMessage({type: 'warning',message: '未找到物料资料信息'})
  4596. return false;
  4597. }
  4598. if(print_PrintJobOrder.data['工单类型']){
  4599. _gdlx.value = '★' +print_PrintJobOrder.data['工单类型']
  4600. }
  4601. if(print_PrintJobOrder.data === null || print_PrintJobOrder.data === undefined || print_PrintJobOrder.data === ''){
  4602. ElMessage({type: 'error',message: print_PrintJobOrder.msg});
  4603. return false;
  4604. }
  4605. // 获取当前日期
  4606. const today = new Date();
  4607. const year = today.getFullYear();
  4608. const month = String(today.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要补零
  4609. const day = String(today.getDate()).padStart(2, '0');
  4610. const hours = String(today.getHours()).padStart(2, '0');
  4611. const minutes = String(today.getMinutes()).padStart(2, '0');
  4612. const seconds = String(today.getSeconds()).padStart(2, '0');
  4613. const currentDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
  4614. const printdata = {
  4615. // "minong": "https://www.zjminong.com/static/web/images/logo.png?v=v2",
  4616. "minong": "/src/assets/logotx.png",
  4617. "ztlx":_gdlx.value,
  4618. "printcode":print_PrintJobOrder.data['生产批次号'],
  4619. "dysj":currentDate,
  4620. "scpch":print_PrintJobOrder.data['生产批次号'],
  4621. "xsddh":print_PrintJobOrder.data['销售订单号'],
  4622. "khdh": print_PrintJobOrder.data['客户代码'],
  4623. "khmc": print_PrintJobOrder.data['客户名称'],
  4624. "cpdm": print_PrintJobOrder.data['产品代码'],
  4625. "cpmc": print_PrintJobOrder.data['产品名称'],
  4626. "bbh": print_PrintJobOrder.data['版本号'],
  4627. "jybm": print_PrintJobOrder.data['警语版面'],
  4628. "mysl": print_PrintJobOrder.data['码源数量'],
  4629. "kherpbm": print_PrintJobOrder.data['客户ERP编码'],
  4630. "kdrq": print_PrintJobOrder.data['开单日期'],
  4631. "jhrq": print_PrintJobOrder.data['交货日期'],
  4632. "pzll": print_PrintJobOrder.data['平张投料量'],
  4633. "gdsm":print_PrintJobOrder.data['工单说明'],
  4634. "tll":print_PrintJobOrder.data['投料率'],
  4635. "mbhgl":print_PrintJobOrder.data['目标合格率'],
  4636. "pjhgl":print_PrintJobOrder.data['平均合格率'],
  4637. "dhsl":print_PrintJobOrder.data['订货数量'],
  4638. "kcsl":print_PrintJobOrder.data['库存数量'],
  4639. "tlsl":print_PrintJobOrder.data['投料数量'],
  4640. "yjh":print_PrintJobOrder.data['印件'],
  4641. "thdhjmc":print_PrintJobOrder.data['印件代号及名称'],
  4642. "pztll":print_PrintJobOrder.data['平张投料量'],
  4643. "zzmc":print_PrintJobOrder.data['纸张名称'],
  4644. "tlgg":print_PrintJobOrder.data['投料规格'],
  4645. "ks":print_PrintJobOrder.data['开数'],
  4646. "ls":print_PrintJobOrder.data['联数'],
  4647. "bz":print_PrintJobOrder.data['印件备注'],
  4648. 'table1': print_PrintJobOrder.data.materiel.map(item => ({
  4649. 'wldmjmc': item.物料代码及名称,
  4650. 'jhyl': item['计划用量'].toFixed(2),
  4651. 'dw': item['投料单位'],
  4652. })),
  4653. 'table2': print_PrintJobOrder.data.printDetail.map(item => ({
  4654. 'yjjgxmc': item.印件及工序名称,
  4655. 'zxs': item['转序数'],
  4656. 'bfde': item['报废定额'],
  4657. 'yxbl': item['允损比例'],
  4658. 'shxs': item['损耗系数'],
  4659. 'zbgs': item['装版工时'],
  4660. 'xsde': item['小时定额'],
  4661. 'scgs': item['生产工时'],
  4662. 'bz': item['工序备注'],
  4663. })),
  4664. "shr":form['sh'],
  4665. "zdr":form['zd']
  4666. }
  4667. if(print_PrintJobOrder.data.materiel.length === 0){
  4668. hiprintTemplates.print(printdata);
  4669. }else{
  4670. hiprintTemplate.print(printdata);
  4671. }
  4672. // hiprintTemplate.print(printdata);
  4673. // cp_print_gdlist.value = false;
  4674. }
  4675. defineExpose({ open })
  4676. </script>
  4677. <style scoped>
  4678. :deep(.el-table td .cell) {
  4679. line-height: 20px !important;
  4680. }
  4681. :deep(.el-tabs__header){
  4682. margin-bottom: 0;
  4683. }
  4684. .search{
  4685. margin-left: 0px !important;
  4686. margin-right: 10px !important;
  4687. }
  4688. .bt{
  4689. margin-left: 2px !important;
  4690. padding: 3px !important;
  4691. font-size: 12px;
  4692. }
  4693. .el-tabs__header{
  4694. margin: 0px !important;
  4695. }
  4696. .gva-table-box{
  4697. padding: 0px !important;
  4698. }
  4699. .el-pagination{
  4700. margin-top: 0px !important;
  4701. }
  4702. .mab{
  4703. margin-bottom: 5px;
  4704. }
  4705. </style>