processSheet.vue 133 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351
  1. <template>
  2. <el-container>
  3. <el-main>
  4. <form method="POST" :model="workData" action="{:U('NewBarCodeNew/add_bach')}" style="margin-bottom:50px;" id="form">
  5. <input name="userid" id="userid" value="{$session_config[uid]}" type="hidden">
  6. <fieldset class="newlabel">
  7. <legend style="width:auto;margin-left:20px;">标记参数</legend>
  8. <table width="100%" border="1">
  9. <caption>标签序列配置</caption>
  10. <tr>
  11. <th style="width:40%;"><span>字段</span> </th>
  12. <th><span>值</span></th>
  13. </tr>
  14. <tr>
  15. <td><span>生产批次号</span></td>
  16. <td><input name="Gd_gdbh" type="text" v-model="workData.Gd_gdbh" @input="propertyChange" class="required" style="width: 380px;height: 30px;"></td>
  17. </tr>
  18. <tr v-if="dan">
  19. <td><span>纸张名称</span></td>
  20. <td>
  21. <select style="width: 380px;height: 30px;">
  22. <option v-for="option in selectedPaper">
  23. {{ option.bom_物料名称 }}
  24. </option>
  25. </select>
  26. </td>
  27. </tr>
  28. <tr v-if="shuang">
  29. <td><span>纸张名称</span></td>
  30. <td>
  31. <select @change="selectpPaper" style="width: 380px;height: 30px;">
  32. <option v-for="option in selectedPaper" :value="option.bom_计划用量">
  33. {{ option.bom_物料名称 }}
  34. </option>
  35. </select>
  36. </td>
  37. </tr>
  38. <tr >
  39. <td><span style="color: red">码包</span></td>
  40. <td><input name="mabao" type="text" v-model="workData.mabao" style="width: 380px;height: 30px;" placeholder="利群(新版)专用,不是利群(新版)不要填"></td>
  41. </tr>
  42. <tr v-if="shuang" class="peijian">
  43. <td><span style="color: red">配件名称</span></td>
  44. <td>
  45. <select name="peijian" @change="selectPeijian" style="width: 380px;height: 30px; color: red" >
  46. <option v-for="option in selectedPeijian" :value="option.id">
  47. {{ option.peijian_name }}
  48. </option>
  49. </select>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td><span>单个流程包含的件数</span></td>
  54. <td><input name="tldx" type="text" v-model="workData.tldx" value="3000" class="required" style="width: 380px;height: 30px;"></td>
  55. </tr>
  56. <tr>
  57. <td><span>总投纸数</span></td>
  58. <td>
  59. <input name="num" v-model="workData.num" value="" style="width: 380px;height: 30px;">
  60. </td>
  61. </tr>
  62. <tr>
  63. <td><span>总流程</span></td>
  64. <td><input name="liucheng_total" type="number" v-model="workData.liucheng_total" value="" class="required" style="width: 380px;height: 30px;"></td>
  65. </tr>
  66. <tr>
  67. <td><span>版本号标识</span></td>
  68. <td><input name="version" type="text" v-model="workData.version" class="required" style="width: 380px;height: 30px;"></td>
  69. </tr>
  70. <tr>
  71. <td><span>起始流程号</span></td>
  72. <td><input name="start_liucheng" type="text" v-model="workData.start_liucheng" value="1" class="required" style="width: 380px;height: 30px;"></td>
  73. </tr>
  74. <tr>
  75. <td><span>本次打印流程数量</span></td>
  76. <td><input name="liucheng_num" type="text" v-model="workData.liucheng_num" value="1" class="required" style="width: 380px;height: 30px;"></td>
  77. </tr>
  78. <tr>
  79. <td>
  80. <span>备注</span></td>
  81. <td>
  82. <input name="remark" type="text" v-model="workData.remark" style="width: 380px;height: 30px;"></td>
  83. </tr>
  84. <tr>
  85. <td>
  86. <span>左右偏移量</span></td>
  87. <td>
  88. <input name="x_offset" type="number" v-model="workData.x_offset" value="0" style="width: 380px;height: 30px;"></td>
  89. </tr>
  90. <tr>
  91. <td>
  92. <span>上下偏移量</span></td>
  93. <td>
  94. <input name="y_offset" type="number" v-model="workData.y_offset" value="0" style="width: 380px;height: 30px;"></td>
  95. </tr>
  96. </table>
  97. </fieldset>
  98. <div id="liucheng">
  99. <fieldset class="newlabel">
  100. <table width="100%" border="1" class="new_craft" id="new_craft">
  101. <caption>工艺</caption>
  102. <tr>
  103. <td width="40%">上次<span style="color: red">{{department}}</span>工艺更新时间:<span style="color: red" class="shijian">{{update}}</span></td>
  104. <td>
  105. <input type="button" style="margin-left: 1px;" value="增加工艺" @click="addInput"/>
  106. </td>
  107. </tr>
  108. <tr v-for="(item,index) in gyData">
  109. <td></td>
  110. <td><input type="text" v-model="item.gy"></td>
  111. </tr>
  112. </table>
  113. </fieldset>
  114. </div>
  115. <div style="position:fixed;bottom:0;width:100%;height:50px;line-height:50px;">
  116. <button type='button' onsubmit='return false' class="submitbtn" @click="sendClick" id="send">打印</button>
  117. </div>
  118. </form>
  119. </el-main>
  120. </el-container>
  121. </template>
  122. <script setup>
  123. import {
  124. getDocumentData,
  125. getDocumentHistory,
  126. saveDocumentData,
  127. getHistory,
  128. getDocumentInfo
  129. } from '@/api/mes/job'
  130. import { getDictFunc, formatDate, formatBoolean, filterDict, ReturnArrImg, onDownloadFile } from '@/utils/format'
  131. import { ElMessage, ElMessageBox } from 'element-plus'
  132. import { ref, reactive } from 'vue'
  133. import {hiprint} from "vue-plugin-hiprint";
  134. const workData = ref({
  135. Gd_gdbh:'',
  136. maobao:'',
  137. mabao:'',
  138. peijian:'',
  139. tldx:3000,
  140. num:'',
  141. liucheng_total:'',
  142. version:'',
  143. start_liucheng:1,
  144. liucheng_num:1,
  145. remark:'',
  146. x_offset:0,
  147. y_offset:0
  148. })
  149. const department = ref()
  150. const dan = ref(true)
  151. const shuang = ref(false)
  152. const update = ref()
  153. const data = ref()
  154. const peijian = ref(0)
  155. const gyData = ref([])
  156. const selectedPaper = ref([])
  157. const selectedPeijian = ref([])
  158. const datas = ref([])
  159. //在使用中的不带边框的模板
  160. const jsondata1= {
  161. "panels": [
  162. {
  163. "index": 0,
  164. "name": 1,
  165. "paperType": "A4",
  166. "height": 297,
  167. "width": 210,
  168. "paperHeader": 192,
  169. "paperFooter": 822,
  170. "printElements": [
  171. {
  172. "options": {
  173. "left": 519,
  174. "top": 12,
  175. "height": 65,
  176. "width": 65,
  177. "textType": "qrcode",
  178. "title": "qrcode",
  179. "right": 584.75,
  180. "bottom": 77,
  181. "vCenter": 552.25,
  182. "hCenter": 44.5,
  183. "field": "qrcode",
  184. "coordinateSync": false,
  185. "widthHeightSync": false,
  186. "qrCodeLevel": 0
  187. },
  188. "printElementType": {
  189. "title": "qrcode",
  190. "type": "text"
  191. }
  192. },
  193. {
  194. "options": {
  195. "left": 241.5,
  196. "top": 27,
  197. "height": 20,
  198. "width": 103,
  199. "title": "流程单",
  200. "right": 344.5,
  201. "bottom": 47,
  202. "vCenter": 293,
  203. "hCenter": 37,
  204. "coordinateSync": false,
  205. "widthHeightSync": false,
  206. "fontSize": 21.75,
  207. "fontWeight": "900",
  208. "letterSpacing": 12,
  209. "textAlign": "center",
  210. "qrCodeLevel": 0,
  211. "field": "lcd1",
  212. "hideTitle": true
  213. },
  214. "printElementType": {
  215. "title": "文本",
  216. "type": "text"
  217. }
  218. },
  219. {
  220. "options": {
  221. "left": 31,
  222. "top": 40,
  223. "height": 9.75,
  224. "width": 133,
  225. "title": "文本",
  226. "right": 159.5,
  227. "bottom": 42.75,
  228. "vCenter": 100,
  229. "hCenter": 37.875,
  230. "coordinateSync": false,
  231. "widthHeightSync": false,
  232. "qrCodeLevel": 0,
  233. "field": "qr",
  234. "hideTitle": true
  235. },
  236. "printElementType": {
  237. "title": "文本",
  238. "type": "text"
  239. }
  240. },
  241. {
  242. "options": {
  243. "left": 13,
  244. "top": 61,
  245. "height": 36,
  246. "width": 58,
  247. "title": "生产批次号",
  248. "coordinateSync": false,
  249. "widthHeightSync": false,
  250. "fontSize": 12,
  251. "textAlign": "center",
  252. "textContentVerticalAlign": "middle",
  253. "lineHeight": 15,
  254. "qrCodeLevel": 0,
  255. "draggable": false,
  256. "field": "scpch1",
  257. "hideTitle": true
  258. },
  259. "printElementType": {
  260. "title": "文本",
  261. "type": "text"
  262. }
  263. },
  264. {
  265. "options": {
  266. "left": 71,
  267. "top": 61,
  268. "height": 36,
  269. "width": 100,
  270. "title": "文本",
  271. "coordinateSync": false,
  272. "widthHeightSync": false,
  273. "fontSize": 12,
  274. "textAlign": "center",
  275. "textContentVerticalAlign": "middle",
  276. "lineHeight": 15,
  277. "qrCodeLevel": 0,
  278. "right": 127,
  279. "bottom": 96.75,
  280. "vCenter": 98,
  281. "hCenter": 78.75,
  282. "field": "scpch",
  283. "hideTitle": true,
  284. "draggable": false
  285. },
  286. "printElementType": {
  287. "title": "文本",
  288. "type": "text"
  289. }
  290. },
  291. {
  292. "options": {
  293. "left": 13,
  294. "top": 97,
  295. "height": 36,
  296. "width": 58,
  297. "title": "销售订单号",
  298. "coordinateSync": false,
  299. "widthHeightSync": false,
  300. "fontSize": 12,
  301. "textAlign": "center",
  302. "textContentVerticalAlign": "middle",
  303. "lineHeight": 15,
  304. "qrCodeLevel": 0,
  305. "right": 68.9921875,
  306. "bottom": 133.74609375,
  307. "vCenter": 39.9921875,
  308. "hCenter": 115.74609375,
  309. "draggable": false,
  310. "field": "xsddh1",
  311. "hideTitle": true
  312. },
  313. "printElementType": {
  314. "title": "文本",
  315. "type": "text"
  316. }
  317. },
  318. {
  319. "options": {
  320. "left": 71,
  321. "top": 97,
  322. "height": 36,
  323. "width": 100,
  324. "title": "销售订单号",
  325. "coordinateSync": false,
  326. "widthHeightSync": false,
  327. "fontSize": 12,
  328. "textAlign": "center",
  329. "textContentVerticalAlign": "middle",
  330. "lineHeight": 15,
  331. "qrCodeLevel": 0,
  332. "right": 127.24609375,
  333. "bottom": 130.74609375,
  334. "vCenter": 98.24609375,
  335. "hCenter": 112.74609375,
  336. "field": "xsddh",
  337. "hideTitle": true,
  338. "draggable": false
  339. },
  340. "printElementType": {
  341. "title": "文本",
  342. "type": "text"
  343. }
  344. },
  345. {
  346. "options": {
  347. "left": 172,
  348. "top": 97,
  349. "height": 36,
  350. "width": 35,
  351. "title": "码包号",
  352. "coordinateSync": false,
  353. "widthHeightSync": false,
  354. "fontSize": 12,
  355. "textAlign": "center",
  356. "textContentVerticalAlign": "middle",
  357. "lineHeight": 15,
  358. "qrCodeLevel": 0,
  359. "right": 206.5,
  360. "bottom": 133.5,
  361. "vCenter": 188,
  362. "hCenter": 115.5,
  363. "draggable": false,
  364. "field": "mbh1",
  365. "hideTitle": true
  366. },
  367. "printElementType": {
  368. "title": "文本",
  369. "type": "text"
  370. }
  371. },
  372. {
  373. "options": {
  374. "left": 208,
  375. "top": 97,
  376. "height": 36,
  377. "width": 212,
  378. "title": "销售订单号",
  379. "coordinateSync": false,
  380. "widthHeightSync": false,
  381. "fontSize": 12,
  382. "textAlign": "center",
  383. "textContentVerticalAlign": "middle",
  384. "lineHeight": 15,
  385. "qrCodeLevel": 0,
  386. "right": 306.49609375,
  387. "bottom": 130.74609375,
  388. "vCenter": 256.49609375,
  389. "hCenter": 112.74609375,
  390. "field": "mbh",
  391. "hideTitle": true,
  392. "draggable": false
  393. },
  394. "printElementType": {
  395. "title": "文本",
  396. "type": "text"
  397. }
  398. },
  399. {
  400. "options": {
  401. "left": 422,
  402. "top": 97,
  403. "height": 36,
  404. "width": 32,
  405. "title": "流程单号",
  406. "coordinateSync": false,
  407. "widthHeightSync": false,
  408. "fontSize": 12,
  409. "textAlign": "center",
  410. "textContentVerticalAlign": "middle",
  411. "lineHeight": 15,
  412. "qrCodeLevel": 0,
  413. "right": 456.25,
  414. "bottom": 134.25,
  415. "vCenter": 437.75,
  416. "hCenter": 116.25,
  417. "draggable": false,
  418. "field": "lcdh1",
  419. "hideTitle": true
  420. },
  421. "printElementType": {
  422. "title": "文本",
  423. "type": "text"
  424. }
  425. },
  426. {
  427. "options": {
  428. "left": 455,
  429. "top": 97,
  430. "height": 36,
  431. "width": 130,
  432. "title": "销售订单号",
  433. "coordinateSync": false,
  434. "widthHeightSync": false,
  435. "fontSize": 12,
  436. "textAlign": "center",
  437. "textContentVerticalAlign": "middle",
  438. "lineHeight": 15,
  439. "qrCodeLevel": 0,
  440. "right": 582.5,
  441. "bottom": 133.5,
  442. "vCenter": 518.5,
  443. "hCenter": 115.5,
  444. "field": "lcdh",
  445. "hideTitle": true,
  446. "draggable": false
  447. },
  448. "printElementType": {
  449. "title": "文本",
  450. "type": "text"
  451. }
  452. },
  453. {
  454. "options": {
  455. "left": 13,
  456. "top": 138,
  457. "height": 26,
  458. "width": 58,
  459. "title": "工单",
  460. "coordinateSync": false,
  461. "widthHeightSync": false,
  462. "fontSize": 12,
  463. "textAlign": "center",
  464. "textContentVerticalAlign": "bottom",
  465. "lineHeight": 15,
  466. "qrCodeLevel": 0,
  467. "right": 71.5,
  468. "bottom": 163,
  469. "vCenter": 42.5,
  470. "hCenter": 150.5,
  471. "field": "gd1",
  472. "hideTitle": true
  473. },
  474. "printElementType": {
  475. "title": "文本",
  476. "type": "text"
  477. }
  478. },
  479. {
  480. "options": {
  481. "left": 71,
  482. "top": 138,
  483. "height": 52,
  484. "width": 513,
  485. "title": "销售订单号",
  486. "coordinateSync": false,
  487. "widthHeightSync": false,
  488. "fontSize": 12,
  489. "textAlign": "center",
  490. "textContentVerticalAlign": "middle",
  491. "lineHeight": 15,
  492. "qrCodeLevel": 0,
  493. "right": 171.25,
  494. "bottom": 188.75,
  495. "vCenter": 121.25,
  496. "hCenter": 163.75,
  497. "field": "gdsm",
  498. "hideTitle": true,
  499. "draggable": false
  500. },
  501. "printElementType": {
  502. "title": "文本",
  503. "type": "text"
  504. }
  505. },
  506. {
  507. "options": {
  508. "left": 13,
  509. "top": 164,
  510. "height": 26,
  511. "width": 58,
  512. "title": "说明",
  513. "coordinateSync": false,
  514. "widthHeightSync": false,
  515. "fontSize": 12,
  516. "textAlign": "center",
  517. "lineHeight": 15,
  518. "qrCodeLevel": 0,
  519. "right": 70.75,
  520. "bottom": 188.75,
  521. "vCenter": 41.75,
  522. "hCenter": 175.75,
  523. "field": "sm1",
  524. "hideTitle": true
  525. },
  526. "printElementType": {
  527. "title": "文本",
  528. "type": "text"
  529. }
  530. },
  531. {
  532. "options": {
  533. "left": 13,
  534. "top": 196,
  535. "height": 28,
  536. "width": 76,
  537. "title": "产品名称",
  538. "coordinateSync": false,
  539. "widthHeightSync": false,
  540. "fontSize": 12,
  541. "textAlign": "center",
  542. "textContentVerticalAlign": "middle",
  543. "lineHeight": 15,
  544. "qrCodeLevel": 0,
  545. "right": 70.24609375,
  546. "bottom": 231.99609375,
  547. "vCenter": 41.24609375,
  548. "hCenter": 213.99609375,
  549. "draggable": false,
  550. "field": "cpmc1",
  551. "hideTitle": true
  552. },
  553. "printElementType": {
  554. "title": "文本",
  555. "type": "text"
  556. }
  557. },
  558. {
  559. "options": {
  560. "left": 89,
  561. "top": 196,
  562. "height": 28,
  563. "width": 203,
  564. "title": "文本",
  565. "coordinateSync": false,
  566. "widthHeightSync": false,
  567. "textContentVerticalAlign": "middle",
  568. "qrCodeLevel": 0,
  569. "right": 171.5,
  570. "bottom": 224.5,
  571. "vCenter": 130,
  572. "hCenter": 210.5,
  573. "field": "cpmc",
  574. "hideTitle": true,
  575. "draggable": false
  576. },
  577. "printElementType": {
  578. "title": "文本",
  579. "type": "text"
  580. }
  581. },
  582. {
  583. "options": {
  584. "left": 291,
  585. "top": 196,
  586. "height": 28,
  587. "width": 59,
  588. "title": "总投纸数",
  589. "coordinateSync": false,
  590. "widthHeightSync": false,
  591. "fontSize": 12,
  592. "textAlign": "center",
  593. "textContentVerticalAlign": "middle",
  594. "lineHeight": 15,
  595. "qrCodeLevel": 0,
  596. "right": 349.25,
  597. "bottom": 224.5,
  598. "vCenter": 319.75,
  599. "hCenter": 210.5,
  600. "draggable": false,
  601. "field": "ztzs1",
  602. "hideTitle": true
  603. },
  604. "printElementType": {
  605. "title": "文本",
  606. "type": "text"
  607. }
  608. },
  609. {
  610. "options": {
  611. "left": 350,
  612. "top": 196,
  613. "height": 28,
  614. "width": 90,
  615. "title": "产品名称",
  616. "coordinateSync": false,
  617. "widthHeightSync": false,
  618. "fontSize": 12,
  619. "textAlign": "center",
  620. "textContentVerticalAlign": "middle",
  621. "lineHeight": 15,
  622. "qrCodeLevel": 0,
  623. "right": 432.5,
  624. "bottom": 223.75,
  625. "vCenter": 391,
  626. "hCenter": 209.75,
  627. "field": "ztzs",
  628. "hideTitle": true,
  629. "draggable": false
  630. },
  631. "printElementType": {
  632. "title": "文本",
  633. "type": "text"
  634. }
  635. },
  636. {
  637. "options": {
  638. "left": 440,
  639. "top": 196,
  640. "height": 28,
  641. "width": 50,
  642. "title": "规矩号",
  643. "coordinateSync": false,
  644. "widthHeightSync": false,
  645. "fontSize": 12,
  646. "textAlign": "center",
  647. "textContentVerticalAlign": "middle",
  648. "lineHeight": 15,
  649. "qrCodeLevel": 0,
  650. "right": 497.24609375,
  651. "bottom": 223.24609375,
  652. "vCenter": 455.74609375,
  653. "hCenter": 209.24609375,
  654. "draggable": false,
  655. "field": "gjh1",
  656. "hideTitle": true
  657. },
  658. "printElementType": {
  659. "title": "文本",
  660. "type": "text"
  661. }
  662. },
  663. {
  664. "options": {
  665. "left": 490,
  666. "top": 196,
  667. "height": 28,
  668. "width": 94,
  669. "title": "产品名称",
  670. "coordinateSync": false,
  671. "widthHeightSync": false,
  672. "fontSize": 12,
  673. "textAlign": "center",
  674. "textContentVerticalAlign": "middle",
  675. "lineHeight": 15,
  676. "qrCodeLevel": 0,
  677. "right": 571.25,
  678. "bottom": 224.5,
  679. "vCenter": 529.75,
  680. "hCenter": 210.5,
  681. "field": "gjh",
  682. "hideTitle": true,
  683. "draggable": false
  684. },
  685. "printElementType": {
  686. "title": "文本",
  687. "type": "text"
  688. }
  689. },
  690. {
  691. "options": {
  692. "left": 12,
  693. "top": 223.5,
  694. "height": 378,
  695. "width": 572,
  696. "autoCompletion": true,
  697. "right": 584.75,
  698. "bottom": 601.5,
  699. "vCenter": 298.75,
  700. "hCenter": 412.5,
  701. "field": "table",
  702. "coordinateSync": false,
  703. "widthHeightSync": false,
  704. "maxRows": 15,
  705. "textAlign": "center",
  706. "tableHeaderRowHeight": 22.5,
  707. "tableBodyRowHeight": 23.25,
  708. "tableBorder": "noBorder",
  709. "tableHeaderBorder": "noBorder",
  710. "tableHeaderCellBorder": "noBorder",
  711. "tableHeaderBackground": "#ffffff",
  712. "tableBodyRowBorder": "noBorder",
  713. "tableBodyCellBorder": "noBorder",
  714. "tableFooterBorder": "noBorder",
  715. "tableFooterCellBorder": "noBorder",
  716. "columns": [
  717. [
  718. {
  719. "width": 75.564678549134,
  720. "titleSync": false,
  721. "field": "gxmc",
  722. "checked": true,
  723. "columnId": "gxmc",
  724. "fixed": false,
  725. "rowspan": 1,
  726. "colspan": 1,
  727. "tableQRCodeLevel": 0,
  728. "tableSummaryTitle": true,
  729. "tableSummary": ""
  730. },
  731. {
  732. "width": 28.65374282582224,
  733. "titleSync": false,
  734. "field": "rq",
  735. "checked": true,
  736. "columnId": "rq",
  737. "fixed": false,
  738. "rowspan": 1,
  739. "colspan": 1,
  740. "tableQRCodeLevel": 0,
  741. "tableSummaryTitle": true,
  742. "tableSummary": ""
  743. },
  744. {
  745. "width": 30.691055236427328,
  746. "titleSync": false,
  747. "field": "sj",
  748. "checked": true,
  749. "columnId": "sj",
  750. "fixed": false,
  751. "rowspan": 1,
  752. "colspan": 1,
  753. "tableQRCodeLevel": 0,
  754. "tableSummaryTitle": true,
  755. "tableSummary": ""
  756. },
  757. {
  758. "width": 46.073534173378626,
  759. "titleSync": false,
  760. "field": "hgps",
  761. "checked": true,
  762. "columnId": "hgps",
  763. "fixed": false,
  764. "rowspan": 1,
  765. "colspan": 1,
  766. "tableQRCodeLevel": 0,
  767. "tableSummaryTitle": true,
  768. "tableSummary": ""
  769. },
  770. {
  771. "width": 45.90803945028349,
  772. "titleSync": false,
  773. "field": "cps",
  774. "checked": true,
  775. "columnId": "cps",
  776. "fixed": false,
  777. "rowspan": 1,
  778. "colspan": 1,
  779. "tableQRCodeLevel": 0,
  780. "tableSummaryTitle": true,
  781. "tableSummary": ""
  782. },
  783. {
  784. "width": 39.283655266049266,
  785. "titleSync": false,
  786. "field": "fps",
  787. "checked": true,
  788. "columnId": "fps",
  789. "fixed": false,
  790. "rowspan": 1,
  791. "colspan": 1,
  792. "tableQRCodeLevel": 0,
  793. "tableSummaryTitle": true,
  794. "tableSummary": ""
  795. },
  796. {
  797. "width": 34.03023853973766,
  798. "titleSync": false,
  799. "field": "bc",
  800. "checked": true,
  801. "columnId": "bc",
  802. "fixed": false,
  803. "rowspan": 1,
  804. "colspan": 1,
  805. "tableQRCodeLevel": 0,
  806. "tableSummaryTitle": true,
  807. "tableSummary": ""
  808. },
  809. {
  810. "width": 32.58935487917185,
  811. "titleSync": false,
  812. "field": "jt",
  813. "checked": true,
  814. "columnId": "jt",
  815. "fixed": false,
  816. "rowspan": 1,
  817. "colspan": 1,
  818. "tableQRCodeLevel": 0,
  819. "tableSummaryTitle": true,
  820. "tableSummary": ""
  821. },
  822. {
  823. "width": 42.96988913874766,
  824. "titleSync": false,
  825. "field": "czg",
  826. "checked": true,
  827. "columnId": "czg",
  828. "fixed": false,
  829. "rowspan": 1,
  830. "colspan": 1,
  831. "tableQRCodeLevel": 0,
  832. "tableSummaryTitle": true,
  833. "tableSummary": ""
  834. },
  835. {
  836. "width": 102.76126350532134,
  837. "titleSync": false,
  838. "field": "yczlczxx",
  839. "checked": true,
  840. "columnId": "yczlczxx",
  841. "fixed": false,
  842. "rowspan": 1,
  843. "colspan": 1,
  844. "tableQRCodeLevel": 0,
  845. "tableSummaryTitle": true,
  846. "tableSummary": ""
  847. },
  848. {
  849. "width": 39.91518563922935,
  850. "titleSync": false,
  851. "field": "lzg",
  852. "checked": true,
  853. "columnId": "lzg",
  854. "fixed": false,
  855. "rowspan": 1,
  856. "colspan": 1,
  857. "tableQRCodeLevel": 0,
  858. "tableSummaryTitle": true,
  859. "tableSummary": ""
  860. },
  861. {
  862. "width": 53.559362796697215,
  863. "titleSync": false,
  864. "field": "fptj",
  865. "checked": true,
  866. "columnId": "fptj",
  867. "fixed": false,
  868. "rowspan": 1,
  869. "colspan": 1,
  870. "tableQRCodeLevel": 0,
  871. "tableSummaryTitle": true,
  872. "tableSummary": ""
  873. },
  874. {
  875. "width": 85.25,
  876. "checked": false,
  877. "fixed": false,
  878. "rowspan": 1,
  879. "colspan": 1
  880. },
  881. {
  882. "width": 85.25,
  883. "checked": false,
  884. "fixed": false,
  885. "rowspan": 1,
  886. "colspan": 1
  887. }
  888. ]
  889. ]
  890. },
  891. "printElementType": {
  892. "title": "表格",
  893. "type": "table",
  894. "editable": true,
  895. "columnDisplayEditable": true,
  896. "columnDisplayIndexEditable": true,
  897. "columnTitleEditable": true,
  898. "columnResizable": true,
  899. "columnAlignEditable": true,
  900. "isEnableEditField": true,
  901. "isEnableContextMenu": true,
  902. "isEnableInsertRow": true,
  903. "isEnableDeleteRow": true,
  904. "isEnableInsertColumn": true,
  905. "isEnableDeleteColumn": true,
  906. "isEnableMergeCell": true
  907. }
  908. },
  909. // {
  910. // "options": {
  911. // "left": 13,
  912. // "top": 224,
  913. // "height": 9,
  914. // "width": 571,
  915. // "borderWidth": "0.75",
  916. // "draggable": false,
  917. // "coordinateSync": false,
  918. // "widthHeightSync": false
  919. // },
  920. // "printElementType": {
  921. // "title": "横线",
  922. // "type": "hline"
  923. // }
  924. // },
  925. {
  926. "options": {
  927. "left": 13,
  928. "top": 612,
  929. "height": 17,
  930. "width": 572,
  931. "title": "成品检验记录",
  932. "coordinateSync": false,
  933. "widthHeightSync": false,
  934. "fontSize": 12,
  935. "textAlign": "center",
  936. "textContentVerticalAlign": "middle",
  937. "lineHeight": 15,
  938. "qrCodeLevel": 0,
  939. "right": 585.25,
  940. "bottom": 629,
  941. "vCenter": 299.75,
  942. "hCenter": 620.5,
  943. "draggable": false,
  944. "field": "cpjyjl",
  945. "hideTitle": true
  946. },
  947. "printElementType": {
  948. "title": "文本",
  949. "type": "text"
  950. }
  951. },
  952. {
  953. "options": {
  954. "left": 121,
  955. "top": 629,
  956. "height": 17,
  957. "width": 35,
  958. "title": "时间",
  959. "right": 156.5,
  960. "bottom": 645.5,
  961. "vCenter": 139,
  962. "hCenter": 637,
  963. "coordinateSync": false,
  964. "widthHeightSync": false,
  965. "textAlign": "center",
  966. "textContentVerticalAlign": "middle",
  967. "qrCodeLevel": 0,
  968. "draggable": false,
  969. "field": "gx",
  970. "hideTitle": true
  971. },
  972. "printElementType": {
  973. "title": "文本",
  974. "type": "text"
  975. }
  976. },
  977. {
  978. "options": {
  979. "left": 156,
  980. "top": 629,
  981. "height": 17,
  982. "width": 52,
  983. "title": "合格品数",
  984. "right": 185.75,
  985. "bottom": 645.5,
  986. "vCenter": 169.75,
  987. "hCenter": 637,
  988. "coordinateSync": false,
  989. "widthHeightSync": false,
  990. "textAlign": "center",
  991. "textContentVerticalAlign": "middle",
  992. "qrCodeLevel": 0,
  993. "draggable": false,
  994. "field": "gx",
  995. "hideTitle": true
  996. },
  997. "printElementType": {
  998. "title": "文本",
  999. "type": "text"
  1000. }
  1001. },
  1002. {
  1003. "options": {
  1004. "left": 208,
  1005. "top": 629,
  1006. "height": 17,
  1007. "width": 38,
  1008. "title": "废品数",
  1009. "right": 243.5,
  1010. "bottom": 645.5,
  1011. "vCenter": 224.5,
  1012. "hCenter": 637,
  1013. "coordinateSync": false,
  1014. "widthHeightSync": false,
  1015. "textAlign": "center",
  1016. "textContentVerticalAlign": "middle",
  1017. "qrCodeLevel": 0,
  1018. "draggable": false,
  1019. "field": "gx",
  1020. "hideTitle": true
  1021. },
  1022. "printElementType": {
  1023. "title": "文本",
  1024. "type": "text"
  1025. }
  1026. },
  1027. {
  1028. "options": {
  1029. "left": 246,
  1030. "top": 629,
  1031. "height": 17,
  1032. "width": 101,
  1033. "title": "AB类废品及倒查",
  1034. "right": 276.5,
  1035. "bottom": 646.25,
  1036. "vCenter": 260.5,
  1037. "hCenter": 637.75,
  1038. "coordinateSync": false,
  1039. "widthHeightSync": false,
  1040. "textAlign": "center",
  1041. "textContentVerticalAlign": "middle",
  1042. "qrCodeLevel": 0,
  1043. "draggable": false,
  1044. "field": "gx",
  1045. "hideTitle": true
  1046. },
  1047. "printElementType": {
  1048. "title": "文本",
  1049. "type": "text"
  1050. }
  1051. },
  1052. {
  1053. "options": {
  1054. "left": 347,
  1055. "top": 629,
  1056. "height": 17,
  1057. "width": 35,
  1058. "title": "工序",
  1059. "right": 382.25,
  1060. "bottom": 643.25,
  1061. "vCenter": 364.75,
  1062. "hCenter": 634.75,
  1063. "coordinateSync": false,
  1064. "widthHeightSync": false,
  1065. "textAlign": "center",
  1066. "textContentVerticalAlign": "middle",
  1067. "qrCodeLevel": 0,
  1068. "draggable": false,
  1069. "field": "gx",
  1070. "hideTitle": true
  1071. },
  1072. "printElementType": {
  1073. "title": "文本",
  1074. "type": "text"
  1075. }
  1076. },
  1077. {
  1078. "options": {
  1079. "left": 382,
  1080. "top": 629,
  1081. "height": 17,
  1082. "width": 45,
  1083. "title": "检验员",
  1084. "right": 423,
  1085. "bottom": 644,
  1086. "vCenter": 400.5,
  1087. "hCenter": 635.5,
  1088. "coordinateSync": false,
  1089. "widthHeightSync": false,
  1090. "textAlign": "center",
  1091. "textContentVerticalAlign": "middle",
  1092. "qrCodeLevel": 0,
  1093. "draggable": false,
  1094. "field": "gx",
  1095. "hideTitle": true
  1096. },
  1097. "printElementType": {
  1098. "title": "文本",
  1099. "type": "text"
  1100. }
  1101. },
  1102. {
  1103. "options": {
  1104. "left": 462,
  1105. "top": 629,
  1106. "height": 17,
  1107. "width": 35,
  1108. "title": "时间",
  1109. "right": 362,
  1110. "bottom": 648.5,
  1111. "vCenter": 346,
  1112. "hCenter": 640,
  1113. "coordinateSync": false,
  1114. "widthHeightSync": false,
  1115. "textAlign": "center",
  1116. "textContentVerticalAlign": "middle",
  1117. "qrCodeLevel": 0,
  1118. "draggable": false,
  1119. "field": "gx",
  1120. "hideTitle": true
  1121. },
  1122. "printElementType": {
  1123. "title": "文本",
  1124. "type": "text"
  1125. }
  1126. },
  1127. {
  1128. "options": {
  1129. "left": 497,
  1130. "top": 629,
  1131. "height": 17,
  1132. "width": 52,
  1133. "title": "合格品数",
  1134. "right": 544.75,
  1135. "bottom": 647,
  1136. "vCenter": 518.75,
  1137. "hCenter": 638.5,
  1138. "coordinateSync": false,
  1139. "widthHeightSync": false,
  1140. "textAlign": "center",
  1141. "textContentVerticalAlign": "middle",
  1142. "qrCodeLevel": 0,
  1143. "draggable": false,
  1144. "field": "gx",
  1145. "hideTitle": true
  1146. },
  1147. "printElementType": {
  1148. "title": "文本",
  1149. "type": "text"
  1150. }
  1151. },
  1152. {
  1153. "options": {
  1154. "left": 549,
  1155. "top": 629,
  1156. "height": 17,
  1157. "width": 36,
  1158. "title": "废品数",
  1159. "right": 584,
  1160. "bottom": 644.75,
  1161. "vCenter": 565,
  1162. "hCenter": 636.25,
  1163. "coordinateSync": false,
  1164. "widthHeightSync": false,
  1165. "textAlign": "center",
  1166. "textContentVerticalAlign": "middle",
  1167. "qrCodeLevel": 0,
  1168. "draggable": false,
  1169. "field": "gx",
  1170. "hideTitle": true
  1171. },
  1172. "printElementType": {
  1173. "title": "文本",
  1174. "type": "text"
  1175. }
  1176. },
  1177. {
  1178. "options": {
  1179. "left": 13,
  1180. "top": 646,
  1181. "height": 17,
  1182. "width": 35,
  1183. "title": "机检",
  1184. "right": 45.5,
  1185. "bottom": 661.25,
  1186. "vCenter": 29.5,
  1187. "hCenter": 652.75,
  1188. "coordinateSync": false,
  1189. "widthHeightSync": false,
  1190. "textAlign": "center",
  1191. "textContentVerticalAlign": "middle",
  1192. "qrCodeLevel": 0,
  1193. "draggable": false,
  1194. "field": "gx",
  1195. "hideTitle": true
  1196. },
  1197. "printElementType": {
  1198. "title": "文本",
  1199. "type": "text"
  1200. }
  1201. },
  1202. {
  1203. "options": {
  1204. "left": 13,
  1205. "top": 663,
  1206. "height": 17,
  1207. "width": 572,
  1208. "title": "机台废次品信息记录",
  1209. "coordinateSync": false,
  1210. "widthHeightSync": false,
  1211. "fontSize": 12,
  1212. "textAlign": "center",
  1213. "textContentVerticalAlign": "middle",
  1214. "lineHeight": 15,
  1215. "qrCodeLevel": 0,
  1216. "right": 139.75,
  1217. "bottom": 677.75,
  1218. "vCenter": 76.25,
  1219. "hCenter": 669.25,
  1220. "draggable": false,
  1221. "field": "gx",
  1222. "hideTitle": true
  1223. },
  1224. "printElementType": {
  1225. "title": "文本",
  1226. "type": "text"
  1227. }
  1228. },
  1229. {
  1230. "options": {
  1231. "left": 13,
  1232. "top": 680,
  1233. "height": 16,
  1234. "width": 54,
  1235. "title": "废次品工序",
  1236. "right": 67.5,
  1237. "bottom": 693.25,
  1238. "vCenter": 40.5,
  1239. "hCenter": 685.25,
  1240. "coordinateSync": false,
  1241. "widthHeightSync": false,
  1242. "textAlign": "center",
  1243. "textContentVerticalAlign": "middle",
  1244. "qrCodeLevel": 0,
  1245. "draggable": false,
  1246. "field": "gx",
  1247. "hideTitle": true
  1248. },
  1249. "printElementType": {
  1250. "title": "文本",
  1251. "type": "text"
  1252. }
  1253. },
  1254. {
  1255. "options": {
  1256. "left": 67,
  1257. "top": 680,
  1258. "height": 128,
  1259. "width": 89,
  1260. "title": "废次品留样黏贴处",
  1261. "right": 157.25,
  1262. "bottom": 693.5,
  1263. "vCenter": 112.75,
  1264. "hCenter": 686.5,
  1265. "coordinateSync": false,
  1266. "widthHeightSync": false,
  1267. "textAlign": "center",
  1268. "textContentVerticalAlign": "middle",
  1269. "qrCodeLevel": 0,
  1270. "draggable": false,
  1271. "field": "gx",
  1272. "hideTitle": true
  1273. },
  1274. "printElementType": {
  1275. "title": "文本",
  1276. "type": "text"
  1277. }
  1278. },
  1279. {
  1280. "options": {
  1281. "left": 13,
  1282. "top": 712,
  1283. "height": 16,
  1284. "width": 54,
  1285. "title": "废次品原因",
  1286. "right": 67.5,
  1287. "bottom": 728.5,
  1288. "vCenter": 40.5,
  1289. "hCenter": 720.5,
  1290. "coordinateSync": false,
  1291. "widthHeightSync": false,
  1292. "textAlign": "center",
  1293. "textContentVerticalAlign": "middle",
  1294. "qrCodeLevel": 0,
  1295. "draggable": false,
  1296. "field": "gx",
  1297. "hideTitle": true
  1298. },
  1299. "printElementType": {
  1300. "title": "文本",
  1301. "type": "text"
  1302. }
  1303. },
  1304. {
  1305. "options": {
  1306. "left": 13,
  1307. "top": 744,
  1308. "height": 16,
  1309. "width": 54,
  1310. "title": "废次品数量",
  1311. "right": 65.25,
  1312. "bottom": 761.5,
  1313. "vCenter": 38.25,
  1314. "hCenter": 753.5,
  1315. "coordinateSync": false,
  1316. "widthHeightSync": false,
  1317. "textAlign": "center",
  1318. "textContentVerticalAlign": "middle",
  1319. "qrCodeLevel": 0,
  1320. "draggable": false,
  1321. "field": "gx",
  1322. "hideTitle": true
  1323. },
  1324. "printElementType": {
  1325. "title": "文本",
  1326. "type": "text"
  1327. }
  1328. },
  1329. {
  1330. "options": {
  1331. "left": 13,
  1332. "top": 776,
  1333. "height": 16,
  1334. "width": 54,
  1335. "title": "联拼号",
  1336. "right": 65.25,
  1337. "bottom": 792.25,
  1338. "vCenter": 38.25,
  1339. "hCenter": 784.25,
  1340. "coordinateSync": false,
  1341. "widthHeightSync": false,
  1342. "textAlign": "center",
  1343. "textContentVerticalAlign": "middle",
  1344. "qrCodeLevel": 0,
  1345. "draggable": false,
  1346. "field": "gx",
  1347. "hideTitle": true
  1348. },
  1349. "printElementType": {
  1350. "title": "文本",
  1351. "type": "text"
  1352. }
  1353. }
  1354. ],
  1355. "paperNumberLeft": 565.5,
  1356. "paperNumberTop": 819,
  1357. "paperNumberDisabled": true,
  1358. "paperNumberContinue": true,
  1359. "backgroundColor": "#f1ebff",
  1360. "overPrintOptions": {
  1361. "content": "",
  1362. "opacity": 0.7,
  1363. "type": 1
  1364. },
  1365. "watermarkOptions": {
  1366. "content": "",
  1367. "fillStyle": "rgba(255, 255, 255, 1)",
  1368. "fontSize": "36px",
  1369. "rotate": 25,
  1370. "width": 413,
  1371. "height": 310,
  1372. "timestamp": false,
  1373. "format": "YYYY-MM-DD HH:mm"
  1374. }
  1375. }
  1376. ]
  1377. }
  1378. //带边框的模板
  1379. const jsondata = {
  1380. "panels": [
  1381. {
  1382. "index": 0,
  1383. "name": 1,
  1384. "paperType": "A4",
  1385. "height": 297,
  1386. "width": 210,
  1387. "paperHeader": 192,
  1388. "paperFooter": 822,
  1389. "printElements": [
  1390. {
  1391. "options": {
  1392. "left": 519,
  1393. "top": 12,
  1394. "height": 65,
  1395. "width": 65,
  1396. "textType": "qrcode",
  1397. "title": "qrcode",
  1398. "right": 584.75,
  1399. "bottom": 77,
  1400. "vCenter": 552.25,
  1401. "hCenter": 44.5,
  1402. "field": "qrcode",
  1403. "coordinateSync": false,
  1404. "widthHeightSync": false,
  1405. "qrCodeLevel": 0
  1406. },
  1407. "printElementType": {
  1408. "title": "qrcode",
  1409. "type": "text"
  1410. }
  1411. },
  1412. {
  1413. "options": {
  1414. "left": 241.5,
  1415. "top": 27,
  1416. "height": 20,
  1417. "width": 103,
  1418. "title": "流程单",
  1419. "right": 344.5,
  1420. "bottom": 47,
  1421. "vCenter": 293,
  1422. "hCenter": 37,
  1423. "coordinateSync": false,
  1424. "widthHeightSync": false,
  1425. "fontSize": 21.75,
  1426. "fontWeight": "900",
  1427. "letterSpacing": 12,
  1428. "textAlign": "center",
  1429. "qrCodeLevel": 0
  1430. },
  1431. "printElementType": {
  1432. "title": "文本",
  1433. "type": "text"
  1434. }
  1435. },
  1436. {
  1437. "options": {
  1438. "left": 31,
  1439. "top": 40,
  1440. "height": 9.75,
  1441. "width": 133,
  1442. "title": "表式号:QR/CP03.04.005-2021",
  1443. "right": 159.5,
  1444. "bottom": 42.75,
  1445. "vCenter": 100,
  1446. "hCenter": 37.875,
  1447. "coordinateSync": false,
  1448. "widthHeightSync": false,
  1449. "qrCodeLevel": 0
  1450. },
  1451. "printElementType": {
  1452. "title": "文本",
  1453. "type": "text"
  1454. }
  1455. },
  1456. {
  1457. "options": {
  1458. "left": 13,
  1459. "top": 61,
  1460. "height": 36,
  1461. "width": 58,
  1462. "title": "生产批次号",
  1463. "coordinateSync": false,
  1464. "widthHeightSync": false,
  1465. "fontSize": 12,
  1466. "textAlign": "center",
  1467. "textContentVerticalAlign": "middle",
  1468. "lineHeight": 15,
  1469. "borderLeft": "solid",
  1470. "borderTop": "solid",
  1471. "borderRight": "solid",
  1472. "borderBottom": "solid",
  1473. "qrCodeLevel": 0,
  1474. "draggable": false
  1475. },
  1476. "printElementType": {
  1477. "title": "文本",
  1478. "type": "text"
  1479. }
  1480. },
  1481. {
  1482. "options": {
  1483. "left": 71,
  1484. "top": 61,
  1485. "height": 36,
  1486. "width": 100,
  1487. "title": "",
  1488. "coordinateSync": false,
  1489. "widthHeightSync": false,
  1490. "fontSize": 12,
  1491. "textAlign": "center",
  1492. "textContentVerticalAlign": "middle",
  1493. "lineHeight": 15,
  1494. "borderLeft": "solid",
  1495. "borderTop": "solid",
  1496. "borderRight": "solid",
  1497. "borderBottom": "solid",
  1498. "qrCodeLevel": 0,
  1499. "right": 127,
  1500. "bottom": 96.75,
  1501. "vCenter": 98,
  1502. "hCenter": 78.75,
  1503. "field": "scpch",
  1504. "hideTitle": true,
  1505. "draggable": false
  1506. },
  1507. "printElementType": {
  1508. "title": "文本",
  1509. "type": "text"
  1510. }
  1511. },
  1512. {
  1513. "options": {
  1514. "left": 13,
  1515. "top": 97,
  1516. "height": 36,
  1517. "width": 58,
  1518. "title": "销售订单号",
  1519. "coordinateSync": false,
  1520. "widthHeightSync": false,
  1521. "fontSize": 12,
  1522. "textAlign": "center",
  1523. "textContentVerticalAlign": "middle",
  1524. "lineHeight": 15,
  1525. "borderLeft": "solid",
  1526. "borderTop": "solid",
  1527. "borderRight": "solid",
  1528. "borderBottom": "solid",
  1529. "qrCodeLevel": 0,
  1530. "right": 68.9921875,
  1531. "bottom": 133.74609375,
  1532. "vCenter": 39.9921875,
  1533. "hCenter": 115.74609375,
  1534. "draggable": false
  1535. },
  1536. "printElementType": {
  1537. "title": "文本",
  1538. "type": "text"
  1539. }
  1540. },
  1541. {
  1542. "options": {
  1543. "left": 71,
  1544. "top": 97,
  1545. "height": 36,
  1546. "width": 100,
  1547. "title": "销售订单号",
  1548. "coordinateSync": false,
  1549. "widthHeightSync": false,
  1550. "fontSize": 12,
  1551. "textAlign": "center",
  1552. "textContentVerticalAlign": "middle",
  1553. "lineHeight": 15,
  1554. "borderLeft": "solid",
  1555. "borderTop": "solid",
  1556. "borderRight": "solid",
  1557. "borderBottom": "solid",
  1558. "qrCodeLevel": 0,
  1559. "right": 127.24609375,
  1560. "bottom": 130.74609375,
  1561. "vCenter": 98.24609375,
  1562. "hCenter": 112.74609375,
  1563. "field": "xsddh",
  1564. "hideTitle": true,
  1565. "draggable": false
  1566. },
  1567. "printElementType": {
  1568. "title": "文本",
  1569. "type": "text"
  1570. }
  1571. },
  1572. {
  1573. "options": {
  1574. "left": 172,
  1575. "top": 97,
  1576. "height": 36,
  1577. "width": 35,
  1578. "title": "码包号",
  1579. "coordinateSync": false,
  1580. "widthHeightSync": false,
  1581. "fontSize": 12,
  1582. "textAlign": "center",
  1583. "textContentVerticalAlign": "middle",
  1584. "lineHeight": 15,
  1585. "qrCodeLevel": 0,
  1586. "right": 206.5,
  1587. "bottom": 133.5,
  1588. "vCenter": 188,
  1589. "hCenter": 115.5,
  1590. "draggable": false
  1591. },
  1592. "printElementType": {
  1593. "title": "文本",
  1594. "type": "text"
  1595. }
  1596. },
  1597. {
  1598. "options": {
  1599. "left": 208,
  1600. "top": 97,
  1601. "height": 36,
  1602. "width": 212,
  1603. "title": "销售订单号",
  1604. "coordinateSync": false,
  1605. "widthHeightSync": false,
  1606. "fontSize": 12,
  1607. "textAlign": "center",
  1608. "textContentVerticalAlign": "middle",
  1609. "lineHeight": 15,
  1610. "borderLeft": "solid",
  1611. "borderTop": "solid",
  1612. "borderRight": "solid",
  1613. "borderBottom": "solid",
  1614. "qrCodeLevel": 0,
  1615. "right": 306.49609375,
  1616. "bottom": 130.74609375,
  1617. "vCenter": 256.49609375,
  1618. "hCenter": 112.74609375,
  1619. "field": "mbh",
  1620. "hideTitle": true,
  1621. "draggable": false
  1622. },
  1623. "printElementType": {
  1624. "title": "文本",
  1625. "type": "text"
  1626. }
  1627. },
  1628. {
  1629. "options": {
  1630. "left": 422,
  1631. "top": 97,
  1632. "height": 36,
  1633. "width": 32,
  1634. "title": "流程单号",
  1635. "coordinateSync": false,
  1636. "widthHeightSync": false,
  1637. "fontSize": 12,
  1638. "textAlign": "center",
  1639. "textContentVerticalAlign": "middle",
  1640. "lineHeight": 15,
  1641. "qrCodeLevel": 0,
  1642. "right": 456.25,
  1643. "bottom": 134.25,
  1644. "vCenter": 437.75,
  1645. "hCenter": 116.25,
  1646. "draggable": false
  1647. },
  1648. "printElementType": {
  1649. "title": "文本",
  1650. "type": "text"
  1651. }
  1652. },
  1653. {
  1654. "options": {
  1655. "left": 455,
  1656. "top": 97,
  1657. "height": 36,
  1658. "width": 130,
  1659. "title": "销售订单号",
  1660. "coordinateSync": false,
  1661. "widthHeightSync": false,
  1662. "fontSize": 12,
  1663. "textAlign": "center",
  1664. "textContentVerticalAlign": "middle",
  1665. "lineHeight": 15,
  1666. "borderLeft": "solid",
  1667. "borderTop": "solid",
  1668. "borderRight": "solid",
  1669. "borderBottom": "solid",
  1670. "qrCodeLevel": 0,
  1671. "right": 582.5,
  1672. "bottom": 133.5,
  1673. "vCenter": 518.5,
  1674. "hCenter": 115.5,
  1675. "field": "lcdh",
  1676. "hideTitle": true,
  1677. "draggable": false
  1678. },
  1679. "printElementType": {
  1680. "title": "文本",
  1681. "type": "text"
  1682. }
  1683. },
  1684. {
  1685. "options": {
  1686. "left": 13,
  1687. "top": 138,
  1688. "height": 26,
  1689. "width": 58,
  1690. "title": "工单",
  1691. "coordinateSync": false,
  1692. "widthHeightSync": false,
  1693. "fontSize": 12,
  1694. "textAlign": "center",
  1695. "textContentVerticalAlign": "bottom",
  1696. "lineHeight": 15,
  1697. "borderLeft": "solid",
  1698. "borderTop": "solid",
  1699. "borderRight": "solid",
  1700. "qrCodeLevel": 0,
  1701. "right": 71.5,
  1702. "bottom": 163,
  1703. "vCenter": 42.5,
  1704. "hCenter": 150.5
  1705. },
  1706. "printElementType": {
  1707. "title": "文本",
  1708. "type": "text"
  1709. }
  1710. },
  1711. {
  1712. "options": {
  1713. "left": 71,
  1714. "top": 138,
  1715. "height": 52,
  1716. "width": 513,
  1717. "title": "销售订单号",
  1718. "coordinateSync": false,
  1719. "widthHeightSync": false,
  1720. "fontSize": 12,
  1721. "textAlign": "center",
  1722. "textContentVerticalAlign": "middle",
  1723. "lineHeight": 15,
  1724. "borderLeft": "solid",
  1725. "borderTop": "solid",
  1726. "borderRight": "solid",
  1727. "borderBottom": "solid",
  1728. "qrCodeLevel": 0,
  1729. "right": 171.25,
  1730. "bottom": 188.75,
  1731. "vCenter": 121.25,
  1732. "hCenter": 163.75,
  1733. "field": "gdsm",
  1734. "hideTitle": true,
  1735. "draggable": false
  1736. },
  1737. "printElementType": {
  1738. "title": "文本",
  1739. "type": "text"
  1740. }
  1741. },
  1742. {
  1743. "options": {
  1744. "left": 13,
  1745. "top": 164,
  1746. "height": 26,
  1747. "width": 58,
  1748. "title": "说明",
  1749. "coordinateSync": false,
  1750. "widthHeightSync": false,
  1751. "fontSize": 12,
  1752. "textAlign": "center",
  1753. "lineHeight": 15,
  1754. "borderLeft": "solid",
  1755. "borderRight": "solid",
  1756. "borderBottom": "solid",
  1757. "qrCodeLevel": 0,
  1758. "right": 70.75,
  1759. "bottom": 188.75,
  1760. "vCenter": 41.75,
  1761. "hCenter": 175.75
  1762. },
  1763. "printElementType": {
  1764. "title": "文本",
  1765. "type": "text"
  1766. }
  1767. },
  1768. {
  1769. "options": {
  1770. "left": 13,
  1771. "top": 196,
  1772. "height": 28,
  1773. "width": 76,
  1774. "title": "产品名称",
  1775. "coordinateSync": false,
  1776. "widthHeightSync": false,
  1777. "fontSize": 12,
  1778. "textAlign": "center",
  1779. "textContentVerticalAlign": "middle",
  1780. "lineHeight": 15,
  1781. "borderLeft": "solid",
  1782. "borderTop": "solid",
  1783. "borderRight": "solid",
  1784. "borderBottom": "solid",
  1785. "qrCodeLevel": 0,
  1786. "right": 70.24609375,
  1787. "bottom": 231.99609375,
  1788. "vCenter": 41.24609375,
  1789. "hCenter": 213.99609375,
  1790. "draggable": false
  1791. },
  1792. "printElementType": {
  1793. "title": "文本",
  1794. "type": "text"
  1795. }
  1796. },
  1797. {
  1798. "options": {
  1799. "left": 13,
  1800. "top": 196,
  1801. "height": 9,
  1802. "width": 571,
  1803. "borderWidth": "0.75",
  1804. "draggable": false,
  1805. "coordinateSync": false,
  1806. "widthHeightSync": false
  1807. },
  1808. "printElementType": {
  1809. "title": "横线",
  1810. "type": "hline"
  1811. }
  1812. },
  1813. {
  1814. "options": {
  1815. "left": 89,
  1816. "top": 196,
  1817. "height": 28,
  1818. "width": 203,
  1819. "title": "文本",
  1820. "coordinateSync": false,
  1821. "widthHeightSync": false,
  1822. "textContentVerticalAlign": "middle",
  1823. "borderLeft": "solid",
  1824. "borderTop": "solid",
  1825. "borderRight": "solid",
  1826. "borderBottom": "solid",
  1827. "qrCodeLevel": 0,
  1828. "right": 171.5,
  1829. "bottom": 224.5,
  1830. "vCenter": 130,
  1831. "hCenter": 210.5,
  1832. "field": "cpmc",
  1833. "hideTitle": true,
  1834. "draggable": false
  1835. },
  1836. "printElementType": {
  1837. "title": "文本",
  1838. "type": "text"
  1839. }
  1840. },
  1841. {
  1842. "options": {
  1843. "left": 291,
  1844. "top": 196,
  1845. "height": 28,
  1846. "width": 59,
  1847. "title": "总投纸数",
  1848. "coordinateSync": false,
  1849. "widthHeightSync": false,
  1850. "fontSize": 12,
  1851. "textAlign": "center",
  1852. "textContentVerticalAlign": "middle",
  1853. "lineHeight": 15,
  1854. "borderLeft": "solid",
  1855. "borderTop": "solid",
  1856. "borderRight": "solid",
  1857. "borderBottom": "solid",
  1858. "qrCodeLevel": 0,
  1859. "right": 349.25,
  1860. "bottom": 224.5,
  1861. "vCenter": 319.75,
  1862. "hCenter": 210.5,
  1863. "draggable": false
  1864. },
  1865. "printElementType": {
  1866. "title": "文本",
  1867. "type": "text"
  1868. }
  1869. },
  1870. {
  1871. "options": {
  1872. "left": 350,
  1873. "top": 196,
  1874. "height": 28,
  1875. "width": 90,
  1876. "title": "产品名称",
  1877. "coordinateSync": false,
  1878. "widthHeightSync": false,
  1879. "fontSize": 12,
  1880. "textAlign": "center",
  1881. "textContentVerticalAlign": "middle",
  1882. "lineHeight": 15,
  1883. "borderLeft": "solid",
  1884. "borderTop": "solid",
  1885. "borderRight": "solid",
  1886. "borderBottom": "solid",
  1887. "qrCodeLevel": 0,
  1888. "right": 432.5,
  1889. "bottom": 223.75,
  1890. "vCenter": 391,
  1891. "hCenter": 209.75,
  1892. "field": "ztzs",
  1893. "hideTitle": true,
  1894. "draggable": false
  1895. },
  1896. "printElementType": {
  1897. "title": "文本",
  1898. "type": "text"
  1899. }
  1900. },
  1901. {
  1902. "options": {
  1903. "left": 440,
  1904. "top": 196,
  1905. "height": 28,
  1906. "width": 50,
  1907. "title": "规矩号",
  1908. "coordinateSync": false,
  1909. "widthHeightSync": false,
  1910. "fontSize": 12,
  1911. "textAlign": "center",
  1912. "textContentVerticalAlign": "middle",
  1913. "lineHeight": 15,
  1914. "borderLeft": "solid",
  1915. "borderTop": "solid",
  1916. "borderRight": "solid",
  1917. "borderBottom": "solid",
  1918. "qrCodeLevel": 0,
  1919. "right": 497.24609375,
  1920. "bottom": 223.24609375,
  1921. "vCenter": 455.74609375,
  1922. "hCenter": 209.24609375,
  1923. "draggable": false
  1924. },
  1925. "printElementType": {
  1926. "title": "文本",
  1927. "type": "text"
  1928. }
  1929. },
  1930. {
  1931. "options": {
  1932. "left": 490,
  1933. "top": 196,
  1934. "height": 28,
  1935. "width": 94,
  1936. "title": "产品名称",
  1937. "coordinateSync": false,
  1938. "widthHeightSync": false,
  1939. "fontSize": 12,
  1940. "textAlign": "center",
  1941. "textContentVerticalAlign": "middle",
  1942. "lineHeight": 15,
  1943. "borderLeft": "solid",
  1944. "borderTop": "solid",
  1945. "borderRight": "solid",
  1946. "borderBottom": "solid",
  1947. "qrCodeLevel": 0,
  1948. "right": 571.25,
  1949. "bottom": 224.5,
  1950. "vCenter": 529.75,
  1951. "hCenter": 210.5,
  1952. "field": "gjh",
  1953. "hideTitle": true,
  1954. "draggable": false
  1955. },
  1956. "printElementType": {
  1957. "title": "文本",
  1958. "type": "text"
  1959. }
  1960. },
  1961. {
  1962. "options": {
  1963. "left": 13,
  1964. "top": 224,
  1965. "height": 9,
  1966. "width": 571,
  1967. "borderWidth": "0.75",
  1968. "draggable": false,
  1969. "coordinateSync": false,
  1970. "widthHeightSync": false
  1971. },
  1972. "printElementType": {
  1973. "title": "横线",
  1974. "type": "hline"
  1975. }
  1976. },
  1977. {
  1978. "options": {
  1979. "left": 13,
  1980. "top": 224,
  1981. "height": 378,
  1982. "width": 572,
  1983. "autoCompletion": true,
  1984. "right": 565.75,
  1985. "bottom": 261,
  1986. "vCenter": 290.75,
  1987. "hCenter": 243,
  1988. "field": "table",
  1989. "coordinateSync": false,
  1990. "widthHeightSync": false,
  1991. "maxRows": 15,
  1992. "textAlign": "center",
  1993. "tableHeaderRowHeight": 22.5,
  1994. "tableBodyRowHeight": 23.25,
  1995. "columns": [
  1996. [
  1997. {
  1998. "width": 75.564678549134,
  1999. "title": "工序名称",
  2000. "titleSync": false,
  2001. "field": "gxmc",
  2002. "checked": true,
  2003. "columnId": "gxmc",
  2004. "fixed": false,
  2005. "rowspan": 1,
  2006. "colspan": 1,
  2007. "tableQRCodeLevel": 0,
  2008. "tableSummaryTitle": true,
  2009. "tableSummary": ""
  2010. },
  2011. {
  2012. "width": 28.653742825822242,
  2013. "title": "日期",
  2014. "titleSync": false,
  2015. "field": "rq",
  2016. "checked": true,
  2017. "columnId": "rq",
  2018. "fixed": false,
  2019. "rowspan": 1,
  2020. "colspan": 1,
  2021. "tableQRCodeLevel": 0,
  2022. "tableSummaryTitle": true,
  2023. "tableSummary": ""
  2024. },
  2025. {
  2026. "width": 30.691055236427324,
  2027. "title": "时间",
  2028. "titleSync": false,
  2029. "field": "sj",
  2030. "checked": true,
  2031. "columnId": "sj",
  2032. "fixed": false,
  2033. "rowspan": 1,
  2034. "colspan": 1,
  2035. "tableQRCodeLevel": 0,
  2036. "tableSummaryTitle": true,
  2037. "tableSummary": ""
  2038. },
  2039. {
  2040. "width": 48.573284173378624,
  2041. "title": "合格品数",
  2042. "titleSync": false,
  2043. "field": "hgps",
  2044. "checked": true,
  2045. "columnId": "hgps",
  2046. "fixed": false,
  2047. "rowspan": 1,
  2048. "colspan": 1,
  2049. "tableQRCodeLevel": 0,
  2050. "tableSummaryTitle": true,
  2051. "tableSummary": ""
  2052. },
  2053. {
  2054. "width": 43.40828945028348,
  2055. "title": "次品数",
  2056. "titleSync": false,
  2057. "field": "cps",
  2058. "checked": true,
  2059. "columnId": "cps",
  2060. "fixed": false,
  2061. "rowspan": 1,
  2062. "colspan": 1,
  2063. "tableQRCodeLevel": 0,
  2064. "tableSummaryTitle": true,
  2065. "tableSummary": ""
  2066. },
  2067. {
  2068. "width": 39.283655266049266,
  2069. "title": "废品数",
  2070. "titleSync": false,
  2071. "field": "fps",
  2072. "checked": true,
  2073. "columnId": "fps",
  2074. "fixed": false,
  2075. "rowspan": 1,
  2076. "colspan": 1,
  2077. "tableQRCodeLevel": 0,
  2078. "tableSummaryTitle": true,
  2079. "tableSummary": ""
  2080. },
  2081. {
  2082. "width": 34.03023853973766,
  2083. "title": "班次",
  2084. "titleSync": false,
  2085. "field": "bc",
  2086. "checked": true,
  2087. "columnId": "bc",
  2088. "fixed": false,
  2089. "rowspan": 1,
  2090. "colspan": 1,
  2091. "tableQRCodeLevel": 0,
  2092. "tableSummaryTitle": true,
  2093. "tableSummary": ""
  2094. },
  2095. {
  2096. "width": 32.58935487917185,
  2097. "title": "机台",
  2098. "titleSync": false,
  2099. "field": "jt",
  2100. "checked": true,
  2101. "columnId": "jt",
  2102. "fixed": false,
  2103. "rowspan": 1,
  2104. "colspan": 1,
  2105. "tableQRCodeLevel": 0,
  2106. "tableSummaryTitle": true,
  2107. "tableSummary": ""
  2108. },
  2109. {
  2110. "width": 42.96988913874766,
  2111. "title": "操作工",
  2112. "titleSync": false,
  2113. "field": "czg",
  2114. "checked": true,
  2115. "columnId": "czg",
  2116. "fixed": false,
  2117. "rowspan": 1,
  2118. "colspan": 1,
  2119. "tableQRCodeLevel": 0,
  2120. "tableSummaryTitle": true,
  2121. "tableSummary": ""
  2122. },
  2123. {
  2124. "width": 102.76126350532134,
  2125. "title": "异常质量/操作信息",
  2126. "titleSync": false,
  2127. "field": "yczlczxx",
  2128. "checked": true,
  2129. "columnId": "yczlczxx",
  2130. "fixed": false,
  2131. "rowspan": 1,
  2132. "colspan": 1,
  2133. "tableQRCodeLevel": 0,
  2134. "tableSummaryTitle": true,
  2135. "tableSummary": ""
  2136. },
  2137. {
  2138. "width": 39.91518563922935,
  2139. "title": "拉纸工",
  2140. "titleSync": false,
  2141. "field": "lzg",
  2142. "checked": true,
  2143. "columnId": "lzg",
  2144. "fixed": false,
  2145. "rowspan": 1,
  2146. "colspan": 1,
  2147. "tableQRCodeLevel": 0,
  2148. "tableSummaryTitle": true,
  2149. "tableSummary": ""
  2150. },
  2151. {
  2152. "width": 53.559362796697215,
  2153. "title": "废品统计",
  2154. "titleSync": false,
  2155. "field": "fptj",
  2156. "checked": true,
  2157. "columnId": "fptj",
  2158. "fixed": false,
  2159. "rowspan": 1,
  2160. "colspan": 1,
  2161. "tableQRCodeLevel": 0,
  2162. "tableSummaryTitle": true,
  2163. "tableSummary": ""
  2164. },
  2165. {
  2166. "width": 85.25,
  2167. "checked": false,
  2168. "fixed": false,
  2169. "rowspan": 1,
  2170. "colspan": 1
  2171. },
  2172. {
  2173. "width": 85.25,
  2174. "checked": false,
  2175. "fixed": false,
  2176. "rowspan": 1,
  2177. "colspan": 1
  2178. }
  2179. ]
  2180. ]
  2181. },
  2182. "printElementType": {
  2183. "title": "表格",
  2184. "type": "table",
  2185. "editable": true,
  2186. "columnDisplayEditable": true,
  2187. "columnDisplayIndexEditable": true,
  2188. "columnTitleEditable": true,
  2189. "columnResizable": true,
  2190. "columnAlignEditable": true,
  2191. "isEnableEditField": true,
  2192. "isEnableContextMenu": true,
  2193. "isEnableInsertRow": true,
  2194. "isEnableDeleteRow": true,
  2195. "isEnableInsertColumn": true,
  2196. "isEnableDeleteColumn": true,
  2197. "isEnableMergeCell": true
  2198. }
  2199. },
  2200. {
  2201. "options": {
  2202. "left": 13,
  2203. "top": 612,
  2204. "height": 17,
  2205. "width": 572,
  2206. "title": "成品检验记录",
  2207. "coordinateSync": false,
  2208. "widthHeightSync": false,
  2209. "fontSize": 12,
  2210. "textAlign": "center",
  2211. "textContentVerticalAlign": "middle",
  2212. "lineHeight": 15,
  2213. "borderLeft": "solid",
  2214. "borderTop": "solid",
  2215. "borderRight": "solid",
  2216. "borderBottom": "solid",
  2217. "qrCodeLevel": 0,
  2218. "right": 585.25,
  2219. "bottom": 629,
  2220. "vCenter": 299.75,
  2221. "hCenter": 620.5,
  2222. "draggable": false
  2223. },
  2224. "printElementType": {
  2225. "title": "文本",
  2226. "type": "text"
  2227. }
  2228. },
  2229. {
  2230. "options": {
  2231. "left": 13,
  2232. "top": 629,
  2233. "height": 17,
  2234. "width": 35,
  2235. "title": "工序",
  2236. "right": 45.5,
  2237. "bottom": 647,
  2238. "vCenter": 29.5,
  2239. "hCenter": 638.5,
  2240. "coordinateSync": false,
  2241. "widthHeightSync": false,
  2242. "textAlign": "center",
  2243. "textContentVerticalAlign": "middle",
  2244. "qrCodeLevel": 0,
  2245. "borderLeft": "solid",
  2246. "borderTop": "solid",
  2247. "borderRight": "solid",
  2248. "borderBottom": "solid",
  2249. "draggable": false
  2250. },
  2251. "printElementType": {
  2252. "title": "文本",
  2253. "type": "text"
  2254. }
  2255. },
  2256. {
  2257. "options": {
  2258. "left": 48,
  2259. "top": 629,
  2260. "height": 17,
  2261. "width": 38,
  2262. "title": "机台号",
  2263. "right": 85.25,
  2264. "bottom": 645.5,
  2265. "vCenter": 66.25,
  2266. "hCenter": 637,
  2267. "coordinateSync": false,
  2268. "widthHeightSync": false,
  2269. "textAlign": "center",
  2270. "textContentVerticalAlign": "middle",
  2271. "qrCodeLevel": 0,
  2272. "borderLeft": "solid",
  2273. "borderTop": "solid",
  2274. "borderRight": "solid",
  2275. "borderBottom": "solid",
  2276. "draggable": false
  2277. },
  2278. "printElementType": {
  2279. "title": "文本",
  2280. "type": "text"
  2281. }
  2282. },
  2283. {
  2284. "options": {
  2285. "left": 86,
  2286. "top": 629,
  2287. "height": 17,
  2288. "width": 35,
  2289. "title": "日期",
  2290. "right": 119,
  2291. "bottom": 646.25,
  2292. "vCenter": 101.5,
  2293. "hCenter": 637.75,
  2294. "coordinateSync": false,
  2295. "widthHeightSync": false,
  2296. "textAlign": "center",
  2297. "textContentVerticalAlign": "middle",
  2298. "qrCodeLevel": 0,
  2299. "borderLeft": "solid",
  2300. "borderTop": "solid",
  2301. "borderRight": "solid",
  2302. "borderBottom": "solid",
  2303. "draggable": false
  2304. },
  2305. "printElementType": {
  2306. "title": "文本",
  2307. "type": "text"
  2308. }
  2309. },
  2310. {
  2311. "options": {
  2312. "left": 121,
  2313. "top": 629,
  2314. "height": 17,
  2315. "width": 35,
  2316. "title": "时间",
  2317. "right": 156.5,
  2318. "bottom": 645.5,
  2319. "vCenter": 139,
  2320. "hCenter": 637,
  2321. "coordinateSync": false,
  2322. "widthHeightSync": false,
  2323. "textAlign": "center",
  2324. "textContentVerticalAlign": "middle",
  2325. "qrCodeLevel": 0,
  2326. "borderLeft": "solid",
  2327. "borderTop": "solid",
  2328. "borderRight": "solid",
  2329. "borderBottom": "solid",
  2330. "draggable": false
  2331. },
  2332. "printElementType": {
  2333. "title": "文本",
  2334. "type": "text"
  2335. }
  2336. },
  2337. {
  2338. "options": {
  2339. "left": 156,
  2340. "top": 629,
  2341. "height": 17,
  2342. "width": 52,
  2343. "title": "合格品数",
  2344. "right": 185.75,
  2345. "bottom": 645.5,
  2346. "vCenter": 169.75,
  2347. "hCenter": 637,
  2348. "coordinateSync": false,
  2349. "widthHeightSync": false,
  2350. "textAlign": "center",
  2351. "textContentVerticalAlign": "middle",
  2352. "qrCodeLevel": 0,
  2353. "borderLeft": "solid",
  2354. "borderTop": "solid",
  2355. "borderRight": "solid",
  2356. "borderBottom": "solid",
  2357. "draggable": false
  2358. },
  2359. "printElementType": {
  2360. "title": "文本",
  2361. "type": "text"
  2362. }
  2363. },
  2364. {
  2365. "options": {
  2366. "left": 208,
  2367. "top": 629,
  2368. "height": 17,
  2369. "width": 38,
  2370. "title": "废品数",
  2371. "right": 243.5,
  2372. "bottom": 645.5,
  2373. "vCenter": 224.5,
  2374. "hCenter": 637,
  2375. "coordinateSync": false,
  2376. "widthHeightSync": false,
  2377. "textAlign": "center",
  2378. "textContentVerticalAlign": "middle",
  2379. "qrCodeLevel": 0,
  2380. "borderLeft": "solid",
  2381. "borderTop": "solid",
  2382. "borderRight": "solid",
  2383. "borderBottom": "solid",
  2384. "draggable": false
  2385. },
  2386. "printElementType": {
  2387. "title": "文本",
  2388. "type": "text"
  2389. }
  2390. },
  2391. {
  2392. "options": {
  2393. "left": 246,
  2394. "top": 629,
  2395. "height": 17,
  2396. "width": 101,
  2397. "title": "AB类废品及倒查",
  2398. "right": 276.5,
  2399. "bottom": 646.25,
  2400. "vCenter": 260.5,
  2401. "hCenter": 637.75,
  2402. "coordinateSync": false,
  2403. "widthHeightSync": false,
  2404. "textAlign": "center",
  2405. "textContentVerticalAlign": "middle",
  2406. "qrCodeLevel": 0,
  2407. "borderLeft": "solid",
  2408. "borderTop": "solid",
  2409. "borderRight": "solid",
  2410. "borderBottom": "solid",
  2411. "draggable": false
  2412. },
  2413. "printElementType": {
  2414. "title": "文本",
  2415. "type": "text"
  2416. }
  2417. },
  2418. {
  2419. "options": {
  2420. "left": 347,
  2421. "top": 629,
  2422. "height": 17,
  2423. "width": 35,
  2424. "title": "工序",
  2425. "right": 382.25,
  2426. "bottom": 643.25,
  2427. "vCenter": 364.75,
  2428. "hCenter": 634.75,
  2429. "coordinateSync": false,
  2430. "widthHeightSync": false,
  2431. "textAlign": "center",
  2432. "textContentVerticalAlign": "middle",
  2433. "qrCodeLevel": 0,
  2434. "borderLeft": "solid",
  2435. "borderTop": "solid",
  2436. "borderRight": "solid",
  2437. "borderBottom": "solid",
  2438. "draggable": false
  2439. },
  2440. "printElementType": {
  2441. "title": "文本",
  2442. "type": "text"
  2443. }
  2444. },
  2445. {
  2446. "options": {
  2447. "left": 382,
  2448. "top": 629,
  2449. "height": 17,
  2450. "width": 45,
  2451. "title": "检验员",
  2452. "right": 423,
  2453. "bottom": 644,
  2454. "vCenter": 400.5,
  2455. "hCenter": 635.5,
  2456. "coordinateSync": false,
  2457. "widthHeightSync": false,
  2458. "textAlign": "center",
  2459. "textContentVerticalAlign": "middle",
  2460. "qrCodeLevel": 0,
  2461. "borderLeft": "solid",
  2462. "borderTop": "solid",
  2463. "borderRight": "solid",
  2464. "borderBottom": "solid",
  2465. "draggable": false
  2466. },
  2467. "printElementType": {
  2468. "title": "文本",
  2469. "type": "text"
  2470. }
  2471. },
  2472. {
  2473. "options": {
  2474. "left": 427,
  2475. "top": 629,
  2476. "height": 17,
  2477. "width": 35,
  2478. "title": "日期",
  2479. "right": 460.25,
  2480. "bottom": 644,
  2481. "vCenter": 442.75,
  2482. "hCenter": 635.5,
  2483. "coordinateSync": false,
  2484. "widthHeightSync": false,
  2485. "textAlign": "center",
  2486. "textContentVerticalAlign": "middle",
  2487. "qrCodeLevel": 0,
  2488. "borderLeft": "solid",
  2489. "borderTop": "solid",
  2490. "borderRight": "solid",
  2491. "borderBottom": "solid",
  2492. "draggable": false
  2493. },
  2494. "printElementType": {
  2495. "title": "文本",
  2496. "type": "text"
  2497. }
  2498. },
  2499. {
  2500. "options": {
  2501. "left": 462,
  2502. "top": 629,
  2503. "height": 17,
  2504. "width": 35,
  2505. "title": "时间",
  2506. "right": 362,
  2507. "bottom": 648.5,
  2508. "vCenter": 346,
  2509. "hCenter": 640,
  2510. "coordinateSync": false,
  2511. "widthHeightSync": false,
  2512. "textAlign": "center",
  2513. "textContentVerticalAlign": "middle",
  2514. "qrCodeLevel": 0,
  2515. "borderLeft": "solid",
  2516. "borderTop": "solid",
  2517. "borderRight": "solid",
  2518. "borderBottom": "solid",
  2519. "draggable": false
  2520. },
  2521. "printElementType": {
  2522. "title": "文本",
  2523. "type": "text"
  2524. }
  2525. },
  2526. {
  2527. "options": {
  2528. "left": 497,
  2529. "top": 629,
  2530. "height": 17,
  2531. "width": 52,
  2532. "title": "合格品数",
  2533. "right": 544.75,
  2534. "bottom": 647,
  2535. "vCenter": 518.75,
  2536. "hCenter": 638.5,
  2537. "coordinateSync": false,
  2538. "widthHeightSync": false,
  2539. "textAlign": "center",
  2540. "textContentVerticalAlign": "middle",
  2541. "qrCodeLevel": 0,
  2542. "borderLeft": "solid",
  2543. "borderTop": "solid",
  2544. "borderRight": "solid",
  2545. "borderBottom": "solid",
  2546. "draggable": false
  2547. },
  2548. "printElementType": {
  2549. "title": "文本",
  2550. "type": "text"
  2551. }
  2552. },
  2553. {
  2554. "options": {
  2555. "left": 549,
  2556. "top": 629,
  2557. "height": 17,
  2558. "width": 36,
  2559. "title": "废品数",
  2560. "right": 584,
  2561. "bottom": 644.75,
  2562. "vCenter": 565,
  2563. "hCenter": 636.25,
  2564. "coordinateSync": false,
  2565. "widthHeightSync": false,
  2566. "textAlign": "center",
  2567. "textContentVerticalAlign": "middle",
  2568. "qrCodeLevel": 0,
  2569. "borderLeft": "solid",
  2570. "borderTop": "solid",
  2571. "borderRight": "solid",
  2572. "borderBottom": "solid",
  2573. "draggable": false
  2574. },
  2575. "printElementType": {
  2576. "title": "文本",
  2577. "type": "text"
  2578. }
  2579. },
  2580. {
  2581. "options": {
  2582. "left": 13,
  2583. "top": 646,
  2584. "height": 17,
  2585. "width": 35,
  2586. "title": "机检",
  2587. "right": 45.5,
  2588. "bottom": 661.25,
  2589. "vCenter": 29.5,
  2590. "hCenter": 652.75,
  2591. "coordinateSync": false,
  2592. "widthHeightSync": false,
  2593. "textAlign": "center",
  2594. "textContentVerticalAlign": "middle",
  2595. "qrCodeLevel": 0,
  2596. "borderLeft": "solid",
  2597. "borderTop": "solid",
  2598. "borderRight": "solid",
  2599. "borderBottom": "solid",
  2600. "draggable": false
  2601. },
  2602. "printElementType": {
  2603. "title": "文本",
  2604. "type": "text"
  2605. }
  2606. },
  2607. {
  2608. "options": {
  2609. "left": 48,
  2610. "top": 646,
  2611. "height": 17,
  2612. "width": 38,
  2613. "title": "机台号",
  2614. "right": 86.75,
  2615. "bottom": 665,
  2616. "vCenter": 67.75,
  2617. "hCenter": 656.5,
  2618. "coordinateSync": false,
  2619. "widthHeightSync": false,
  2620. "textAlign": "center",
  2621. "textContentVerticalAlign": "middle",
  2622. "qrCodeLevel": 0,
  2623. "field": "jth",
  2624. "hideTitle": true,
  2625. "borderLeft": "solid",
  2626. "borderTop": "solid",
  2627. "borderRight": "solid",
  2628. "borderBottom": "solid",
  2629. "draggable": false
  2630. },
  2631. "printElementType": {
  2632. "title": "文本",
  2633. "type": "text"
  2634. }
  2635. },
  2636. {
  2637. "options": {
  2638. "left": 86,
  2639. "top": 646,
  2640. "height": 17,
  2641. "width": 35,
  2642. "title": "日期",
  2643. "right": 118.25,
  2644. "bottom": 662,
  2645. "vCenter": 100.75,
  2646. "hCenter": 653.5,
  2647. "coordinateSync": false,
  2648. "widthHeightSync": false,
  2649. "textAlign": "center",
  2650. "textContentVerticalAlign": "middle",
  2651. "qrCodeLevel": 0,
  2652. "field": "rq",
  2653. "hideTitle": true,
  2654. "borderLeft": "solid",
  2655. "borderTop": "solid",
  2656. "borderRight": "solid",
  2657. "borderBottom": "solid",
  2658. "draggable": false
  2659. },
  2660. "printElementType": {
  2661. "title": "文本",
  2662. "type": "text"
  2663. }
  2664. },
  2665. {
  2666. "options": {
  2667. "left": 121,
  2668. "top": 646,
  2669. "height": 17,
  2670. "width": 35,
  2671. "title": "时间",
  2672. "right": 153.5,
  2673. "bottom": 663.5,
  2674. "vCenter": 136,
  2675. "hCenter": 655,
  2676. "coordinateSync": false,
  2677. "widthHeightSync": false,
  2678. "textAlign": "center",
  2679. "textContentVerticalAlign": "middle",
  2680. "qrCodeLevel": 0,
  2681. "field": "sj",
  2682. "hideTitle": true,
  2683. "borderLeft": "solid",
  2684. "borderTop": "solid",
  2685. "borderRight": "solid",
  2686. "borderBottom": "solid",
  2687. "draggable": false
  2688. },
  2689. "printElementType": {
  2690. "title": "文本",
  2691. "type": "text"
  2692. }
  2693. },
  2694. {
  2695. "options": {
  2696. "left": 156,
  2697. "top": 646,
  2698. "height": 17,
  2699. "width": 52,
  2700. "title": "合格品数",
  2701. "right": 205.75,
  2702. "bottom": 660.5,
  2703. "vCenter": 179.75,
  2704. "hCenter": 652,
  2705. "coordinateSync": false,
  2706. "widthHeightSync": false,
  2707. "textAlign": "center",
  2708. "textContentVerticalAlign": "middle",
  2709. "qrCodeLevel": 0,
  2710. "field": "hgps",
  2711. "hideTitle": true,
  2712. "borderLeft": "solid",
  2713. "borderTop": "solid",
  2714. "borderRight": "solid",
  2715. "borderBottom": "solid",
  2716. "draggable": false
  2717. },
  2718. "printElementType": {
  2719. "title": "文本",
  2720. "type": "text"
  2721. }
  2722. },
  2723. {
  2724. "options": {
  2725. "left": 208,
  2726. "top": 646,
  2727. "height": 17,
  2728. "width": 38,
  2729. "title": "废品数",
  2730. "right": 242,
  2731. "bottom": 660.5,
  2732. "vCenter": 223,
  2733. "hCenter": 652,
  2734. "coordinateSync": false,
  2735. "widthHeightSync": false,
  2736. "textAlign": "center",
  2737. "textContentVerticalAlign": "middle",
  2738. "qrCodeLevel": 0,
  2739. "field": "fps",
  2740. "hideTitle": true,
  2741. "borderLeft": "solid",
  2742. "borderTop": "solid",
  2743. "borderRight": "solid",
  2744. "borderBottom": "solid",
  2745. "draggable": false
  2746. },
  2747. "printElementType": {
  2748. "title": "文本",
  2749. "type": "text"
  2750. }
  2751. },
  2752. {
  2753. "options": {
  2754. "left": 246,
  2755. "top": 646,
  2756. "height": 17,
  2757. "width": 101,
  2758. "title": "AB类废品及倒查",
  2759. "right": 277.25,
  2760. "bottom": 662,
  2761. "vCenter": 261.25,
  2762. "hCenter": 653.5,
  2763. "coordinateSync": false,
  2764. "widthHeightSync": false,
  2765. "textAlign": "center",
  2766. "textContentVerticalAlign": "middle",
  2767. "qrCodeLevel": 0,
  2768. "field": "ABlfpjdc",
  2769. "hideTitle": true,
  2770. "borderLeft": "solid",
  2771. "borderTop": "solid",
  2772. "borderRight": "solid",
  2773. "borderBottom": "solid",
  2774. "draggable": false
  2775. },
  2776. "printElementType": {
  2777. "title": "文本",
  2778. "type": "text"
  2779. }
  2780. },
  2781. {
  2782. "options": {
  2783. "left": 347,
  2784. "top": 646,
  2785. "height": 17,
  2786. "width": 35,
  2787. "title": "工序",
  2788. "right": 381.5,
  2789. "bottom": 662,
  2790. "vCenter": 364,
  2791. "hCenter": 653.5,
  2792. "coordinateSync": false,
  2793. "widthHeightSync": false,
  2794. "textAlign": "center",
  2795. "textContentVerticalAlign": "middle",
  2796. "qrCodeLevel": 0,
  2797. "field": "gx",
  2798. "hideTitle": true,
  2799. "borderLeft": "solid",
  2800. "borderTop": "solid",
  2801. "borderRight": "solid",
  2802. "borderBottom": "solid",
  2803. "draggable": false
  2804. },
  2805. "printElementType": {
  2806. "title": "文本",
  2807. "type": "text"
  2808. }
  2809. },
  2810. {
  2811. "options": {
  2812. "left": 382,
  2813. "top": 646,
  2814. "height": 17,
  2815. "width": 45,
  2816. "title": "检验员",
  2817. "right": 426,
  2818. "bottom": 659.75,
  2819. "vCenter": 403.5,
  2820. "hCenter": 651.25,
  2821. "coordinateSync": false,
  2822. "widthHeightSync": false,
  2823. "textAlign": "center",
  2824. "textContentVerticalAlign": "middle",
  2825. "qrCodeLevel": 0,
  2826. "field": "jyy",
  2827. "hideTitle": true,
  2828. "borderLeft": "solid",
  2829. "borderTop": "solid",
  2830. "borderRight": "solid",
  2831. "borderBottom": "solid",
  2832. "draggable": false
  2833. },
  2834. "printElementType": {
  2835. "title": "文本",
  2836. "type": "text"
  2837. }
  2838. },
  2839. {
  2840. "options": {
  2841. "left": 427,
  2842. "top": 646,
  2843. "height": 17,
  2844. "width": 35,
  2845. "title": "日期",
  2846. "right": 459.5,
  2847. "bottom": 659.75,
  2848. "vCenter": 442,
  2849. "hCenter": 651.25,
  2850. "coordinateSync": false,
  2851. "widthHeightSync": false,
  2852. "textAlign": "center",
  2853. "textContentVerticalAlign": "middle",
  2854. "qrCodeLevel": 0,
  2855. "field": "rq",
  2856. "hideTitle": true,
  2857. "borderLeft": "solid",
  2858. "borderTop": "solid",
  2859. "borderRight": "solid",
  2860. "borderBottom": "solid",
  2861. "draggable": false
  2862. },
  2863. "printElementType": {
  2864. "title": "文本",
  2865. "type": "text"
  2866. }
  2867. },
  2868. {
  2869. "options": {
  2870. "left": 462,
  2871. "top": 646,
  2872. "height": 17,
  2873. "width": 35,
  2874. "title": "时间",
  2875. "right": 493.25,
  2876. "bottom": 664.25,
  2877. "vCenter": 475.75,
  2878. "hCenter": 655.75,
  2879. "coordinateSync": false,
  2880. "widthHeightSync": false,
  2881. "textAlign": "center",
  2882. "textContentVerticalAlign": "middle",
  2883. "qrCodeLevel": 0,
  2884. "field": "sj",
  2885. "hideTitle": true,
  2886. "borderLeft": "solid",
  2887. "borderTop": "solid",
  2888. "borderRight": "solid",
  2889. "borderBottom": "solid",
  2890. "draggable": false
  2891. },
  2892. "printElementType": {
  2893. "title": "文本",
  2894. "type": "text"
  2895. }
  2896. },
  2897. {
  2898. "options": {
  2899. "left": 497,
  2900. "top": 646,
  2901. "height": 17,
  2902. "width": 52,
  2903. "title": "合格品数",
  2904. "right": 547,
  2905. "bottom": 662,
  2906. "vCenter": 521,
  2907. "hCenter": 653.5,
  2908. "coordinateSync": false,
  2909. "widthHeightSync": false,
  2910. "textAlign": "center",
  2911. "textContentVerticalAlign": "middle",
  2912. "qrCodeLevel": 0,
  2913. "field": "hgps",
  2914. "hideTitle": true,
  2915. "borderLeft": "solid",
  2916. "borderTop": "solid",
  2917. "borderRight": "solid",
  2918. "borderBottom": "solid",
  2919. "draggable": false
  2920. },
  2921. "printElementType": {
  2922. "title": "文本",
  2923. "type": "text"
  2924. }
  2925. },
  2926. {
  2927. "options": {
  2928. "left": 549,
  2929. "top": 646,
  2930. "height": 17,
  2931. "width": 36,
  2932. "title": "废品数",
  2933. "right": 582.5,
  2934. "bottom": 661.25,
  2935. "vCenter": 563.5,
  2936. "hCenter": 652.75,
  2937. "coordinateSync": false,
  2938. "widthHeightSync": false,
  2939. "textAlign": "center",
  2940. "textContentVerticalAlign": "middle",
  2941. "qrCodeLevel": 0,
  2942. "field": "fps",
  2943. "hideTitle": true,
  2944. "borderLeft": "solid",
  2945. "borderTop": "solid",
  2946. "borderRight": "solid",
  2947. "borderBottom": "solid",
  2948. "draggable": false
  2949. },
  2950. "printElementType": {
  2951. "title": "文本",
  2952. "type": "text"
  2953. }
  2954. },
  2955. {
  2956. "options": {
  2957. "left": 13,
  2958. "top": 663,
  2959. "height": 17,
  2960. "width": 572,
  2961. "title": "机台废次品信息记录",
  2962. "coordinateSync": false,
  2963. "widthHeightSync": false,
  2964. "fontSize": 12,
  2965. "textAlign": "center",
  2966. "textContentVerticalAlign": "middle",
  2967. "lineHeight": 15,
  2968. "borderLeft": "solid",
  2969. "borderTop": "solid",
  2970. "borderRight": "solid",
  2971. "borderBottom": "solid",
  2972. "qrCodeLevel": 0,
  2973. "right": 139.75,
  2974. "bottom": 677.75,
  2975. "vCenter": 76.25,
  2976. "hCenter": 669.25,
  2977. "draggable": false
  2978. },
  2979. "printElementType": {
  2980. "title": "文本",
  2981. "type": "text"
  2982. }
  2983. },
  2984. {
  2985. "options": {
  2986. "left": 13,
  2987. "top": 680,
  2988. "height": 16,
  2989. "width": 54,
  2990. "title": "废次品工序",
  2991. "right": 67.5,
  2992. "bottom": 693.25,
  2993. "vCenter": 40.5,
  2994. "hCenter": 685.25,
  2995. "coordinateSync": false,
  2996. "widthHeightSync": false,
  2997. "textAlign": "center",
  2998. "textContentVerticalAlign": "middle",
  2999. "qrCodeLevel": 0,
  3000. "borderLeft": "solid",
  3001. "borderTop": "solid",
  3002. "borderRight": "solid",
  3003. "borderBottom": "solid",
  3004. "draggable": false
  3005. },
  3006. "printElementType": {
  3007. "title": "文本",
  3008. "type": "text"
  3009. }
  3010. },
  3011. {
  3012. "options": {
  3013. "left": 67,
  3014. "top": 680,
  3015. "height": 128,
  3016. "width": 89,
  3017. "title": "废次品留样黏贴处",
  3018. "right": 157.25,
  3019. "bottom": 693.5,
  3020. "vCenter": 112.75,
  3021. "hCenter": 686.5,
  3022. "coordinateSync": false,
  3023. "widthHeightSync": false,
  3024. "textAlign": "center",
  3025. "textContentVerticalAlign": "middle",
  3026. "qrCodeLevel": 0,
  3027. "borderLeft": "solid",
  3028. "borderTop": "solid",
  3029. "borderRight": "solid",
  3030. "borderBottom": "solid",
  3031. "draggable": false
  3032. },
  3033. "printElementType": {
  3034. "title": "文本",
  3035. "type": "text"
  3036. }
  3037. },
  3038. {
  3039. "options": {
  3040. "left": 156,
  3041. "top": 680,
  3042. "height": 16,
  3043. "width": 54,
  3044. "title": "废次品工序",
  3045. "right": 208.5,
  3046. "bottom": 696.25,
  3047. "vCenter": 181.5,
  3048. "hCenter": 688.25,
  3049. "coordinateSync": false,
  3050. "widthHeightSync": false,
  3051. "textAlign": "center",
  3052. "textContentVerticalAlign": "middle",
  3053. "qrCodeLevel": 0,
  3054. "borderLeft": "solid",
  3055. "borderTop": "solid",
  3056. "borderRight": "solid",
  3057. "borderBottom": "solid",
  3058. "draggable": false
  3059. },
  3060. "printElementType": {
  3061. "title": "文本",
  3062. "type": "text"
  3063. }
  3064. },
  3065. {
  3066. "options": {
  3067. "left": 210,
  3068. "top": 680,
  3069. "height": 128,
  3070. "width": 89,
  3071. "title": "废次品留样黏贴处",
  3072. "right": 297,
  3073. "bottom": 809,
  3074. "vCenter": 253.5,
  3075. "hCenter": 802,
  3076. "coordinateSync": false,
  3077. "widthHeightSync": false,
  3078. "textAlign": "center",
  3079. "textContentVerticalAlign": "middle",
  3080. "qrCodeLevel": 0,
  3081. "borderLeft": "solid",
  3082. "borderTop": "solid",
  3083. "borderRight": "solid",
  3084. "borderBottom": "solid",
  3085. "draggable": false
  3086. },
  3087. "printElementType": {
  3088. "title": "文本",
  3089. "type": "text"
  3090. }
  3091. },
  3092. {
  3093. "options": {
  3094. "left": 299,
  3095. "top": 680,
  3096. "height": 16,
  3097. "width": 54,
  3098. "title": "废次品工序",
  3099. "right": 353.25,
  3100. "bottom": 693.25,
  3101. "vCenter": 326.25,
  3102. "hCenter": 685.25,
  3103. "coordinateSync": false,
  3104. "widthHeightSync": false,
  3105. "textAlign": "center",
  3106. "textContentVerticalAlign": "middle",
  3107. "qrCodeLevel": 0,
  3108. "borderLeft": "solid",
  3109. "borderTop": "solid",
  3110. "borderRight": "solid",
  3111. "borderBottom": "solid",
  3112. "draggable": false
  3113. },
  3114. "printElementType": {
  3115. "title": "文本",
  3116. "type": "text"
  3117. }
  3118. },
  3119. {
  3120. "options": {
  3121. "left": 353,
  3122. "top": 680,
  3123. "height": 128,
  3124. "width": 89,
  3125. "title": "废次品留样黏贴处",
  3126. "right": 439.5,
  3127. "bottom": 809,
  3128. "vCenter": 396,
  3129. "hCenter": 802,
  3130. "coordinateSync": false,
  3131. "widthHeightSync": false,
  3132. "textAlign": "center",
  3133. "textContentVerticalAlign": "middle",
  3134. "qrCodeLevel": 0,
  3135. "borderLeft": "solid",
  3136. "borderTop": "solid",
  3137. "borderRight": "solid",
  3138. "borderBottom": "solid",
  3139. "draggable": false
  3140. },
  3141. "printElementType": {
  3142. "title": "文本",
  3143. "type": "text"
  3144. }
  3145. },
  3146. {
  3147. "options": {
  3148. "left": 442,
  3149. "top": 680,
  3150. "height": 16,
  3151. "width": 54,
  3152. "title": "废次品工序",
  3153. "right": 497.25,
  3154. "bottom": 696.25,
  3155. "vCenter": 470.25,
  3156. "hCenter": 688.25,
  3157. "coordinateSync": false,
  3158. "widthHeightSync": false,
  3159. "textAlign": "center",
  3160. "textContentVerticalAlign": "middle",
  3161. "qrCodeLevel": 0,
  3162. "borderLeft": "solid",
  3163. "borderTop": "solid",
  3164. "borderRight": "solid",
  3165. "borderBottom": "solid",
  3166. "draggable": false
  3167. },
  3168. "printElementType": {
  3169. "title": "文本",
  3170. "type": "text"
  3171. }
  3172. },
  3173. {
  3174. "options": {
  3175. "left": 496,
  3176. "top": 680,
  3177. "height": 128,
  3178. "width": 89,
  3179. "title": "废次品留样黏贴处",
  3180. "right": 564.25,
  3181. "bottom": 807.5,
  3182. "vCenter": 523.25,
  3183. "hCenter": 800.5,
  3184. "coordinateSync": false,
  3185. "widthHeightSync": false,
  3186. "textAlign": "center",
  3187. "textContentVerticalAlign": "middle",
  3188. "qrCodeLevel": 0,
  3189. "borderLeft": "solid",
  3190. "borderTop": "solid",
  3191. "borderRight": "solid",
  3192. "borderBottom": "solid",
  3193. "draggable": false
  3194. },
  3195. "printElementType": {
  3196. "title": "文本",
  3197. "type": "text"
  3198. }
  3199. },
  3200. {
  3201. "options": {
  3202. "left": 13,
  3203. "top": 696,
  3204. "height": 16,
  3205. "width": 54,
  3206. "title": "废次品工序",
  3207. "right": 67.5,
  3208. "bottom": 711.25,
  3209. "vCenter": 40.5,
  3210. "hCenter": 703.25,
  3211. "coordinateSync": false,
  3212. "widthHeightSync": false,
  3213. "textAlign": "center",
  3214. "textContentVerticalAlign": "middle",
  3215. "qrCodeLevel": 0,
  3216. "field": "fcpgx",
  3217. "hideTitle": true,
  3218. "borderLeft": "solid",
  3219. "borderTop": "solid",
  3220. "borderRight": "solid",
  3221. "borderBottom": "solid",
  3222. "draggable": false
  3223. },
  3224. "printElementType": {
  3225. "title": "文本",
  3226. "type": "text"
  3227. }
  3228. },
  3229. {
  3230. "options": {
  3231. "left": 156,
  3232. "top": 696,
  3233. "height": 16,
  3234. "width": 54,
  3235. "title": "废次品工序",
  3236. "right": 207.24609375,
  3237. "bottom": 710.74609375,
  3238. "vCenter": 180.24609375,
  3239. "hCenter": 702.74609375,
  3240. "coordinateSync": false,
  3241. "widthHeightSync": false,
  3242. "textAlign": "center",
  3243. "textContentVerticalAlign": "middle",
  3244. "qrCodeLevel": 0,
  3245. "field": "fcpgx",
  3246. "hideTitle": true,
  3247. "borderLeft": "solid",
  3248. "borderTop": "solid",
  3249. "borderRight": "solid",
  3250. "borderBottom": "solid",
  3251. "draggable": false
  3252. },
  3253. "printElementType": {
  3254. "title": "文本",
  3255. "type": "text"
  3256. }
  3257. },
  3258. {
  3259. "options": {
  3260. "left": 299,
  3261. "top": 696,
  3262. "height": 16,
  3263. "width": 54,
  3264. "title": "废次品工序",
  3265. "right": 352.5,
  3266. "bottom": 709,
  3267. "vCenter": 325.5,
  3268. "hCenter": 701,
  3269. "coordinateSync": false,
  3270. "widthHeightSync": false,
  3271. "textAlign": "center",
  3272. "textContentVerticalAlign": "middle",
  3273. "qrCodeLevel": 0,
  3274. "field": "fcpgx",
  3275. "hideTitle": true,
  3276. "borderLeft": "solid",
  3277. "borderTop": "solid",
  3278. "borderRight": "solid",
  3279. "borderBottom": "solid",
  3280. "draggable": false
  3281. },
  3282. "printElementType": {
  3283. "title": "文本",
  3284. "type": "text"
  3285. }
  3286. },
  3287. {
  3288. "options": {
  3289. "left": 442,
  3290. "top": 696,
  3291. "height": 16,
  3292. "width": 54,
  3293. "title": "废次品工序",
  3294. "right": 492.24609375,
  3295. "bottom": 709.99609375,
  3296. "vCenter": 465.24609375,
  3297. "hCenter": 701.99609375,
  3298. "coordinateSync": false,
  3299. "widthHeightSync": false,
  3300. "textAlign": "center",
  3301. "textContentVerticalAlign": "middle",
  3302. "qrCodeLevel": 0,
  3303. "field": "fcpgx",
  3304. "hideTitle": true,
  3305. "borderLeft": "solid",
  3306. "borderTop": "solid",
  3307. "borderRight": "solid",
  3308. "borderBottom": "solid",
  3309. "draggable": false
  3310. },
  3311. "printElementType": {
  3312. "title": "文本",
  3313. "type": "text"
  3314. }
  3315. },
  3316. {
  3317. "options": {
  3318. "left": 13,
  3319. "top": 712,
  3320. "height": 16,
  3321. "width": 54,
  3322. "title": "废次品原因",
  3323. "right": 67.5,
  3324. "bottom": 728.5,
  3325. "vCenter": 40.5,
  3326. "hCenter": 720.5,
  3327. "coordinateSync": false,
  3328. "widthHeightSync": false,
  3329. "textAlign": "center",
  3330. "textContentVerticalAlign": "middle",
  3331. "qrCodeLevel": 0,
  3332. "borderLeft": "solid",
  3333. "borderTop": "solid",
  3334. "borderRight": "solid",
  3335. "borderBottom": "solid",
  3336. "draggable": false
  3337. },
  3338. "printElementType": {
  3339. "title": "文本",
  3340. "type": "text"
  3341. }
  3342. },
  3343. {
  3344. "options": {
  3345. "left": 156,
  3346. "top": 712,
  3347. "height": 16,
  3348. "width": 54,
  3349. "title": "废次品原因",
  3350. "right": 209.49609375,
  3351. "bottom": 725.74609375,
  3352. "vCenter": 182.49609375,
  3353. "hCenter": 717.74609375,
  3354. "coordinateSync": false,
  3355. "widthHeightSync": false,
  3356. "textAlign": "center",
  3357. "textContentVerticalAlign": "middle",
  3358. "qrCodeLevel": 0,
  3359. "borderLeft": "solid",
  3360. "borderTop": "solid",
  3361. "borderRight": "solid",
  3362. "borderBottom": "solid",
  3363. "draggable": false
  3364. },
  3365. "printElementType": {
  3366. "title": "文本",
  3367. "type": "text"
  3368. }
  3369. },
  3370. {
  3371. "options": {
  3372. "left": 299,
  3373. "top": 712,
  3374. "height": 16,
  3375. "width": 54,
  3376. "title": "废次品原因",
  3377. "right": 348,
  3378. "bottom": 439,
  3379. "vCenter": 321,
  3380. "hCenter": 431,
  3381. "coordinateSync": false,
  3382. "widthHeightSync": false,
  3383. "textAlign": "center",
  3384. "textContentVerticalAlign": "middle",
  3385. "qrCodeLevel": 0,
  3386. "draggable": false,
  3387. "borderLeft": "solid",
  3388. "borderTop": "solid",
  3389. "borderRight": "solid",
  3390. "borderBottom": "solid"
  3391. },
  3392. "printElementType": {
  3393. "title": "文本",
  3394. "type": "text"
  3395. }
  3396. },
  3397. {
  3398. "options": {
  3399. "left": 442,
  3400. "top": 712,
  3401. "height": 16,
  3402. "width": 54,
  3403. "title": "废次品原因",
  3404. "right": 498,
  3405. "bottom": 727.75,
  3406. "vCenter": 471,
  3407. "hCenter": 719.75,
  3408. "coordinateSync": false,
  3409. "widthHeightSync": false,
  3410. "textAlign": "center",
  3411. "textContentVerticalAlign": "middle",
  3412. "qrCodeLevel": 0,
  3413. "borderLeft": "solid",
  3414. "borderTop": "solid",
  3415. "borderRight": "solid",
  3416. "borderBottom": "solid",
  3417. "draggable": false
  3418. },
  3419. "printElementType": {
  3420. "title": "文本",
  3421. "type": "text"
  3422. }
  3423. },
  3424. {
  3425. "options": {
  3426. "left": 13,
  3427. "top": 728,
  3428. "height": 16,
  3429. "width": 54,
  3430. "title": "废次品原因",
  3431. "right": 66.75,
  3432. "bottom": 745,
  3433. "vCenter": 39.75,
  3434. "hCenter": 737,
  3435. "coordinateSync": false,
  3436. "widthHeightSync": false,
  3437. "textAlign": "center",
  3438. "textContentVerticalAlign": "middle",
  3439. "qrCodeLevel": 0,
  3440. "field": "fcpyy",
  3441. "hideTitle": true,
  3442. "borderLeft": "solid",
  3443. "borderTop": "solid",
  3444. "borderRight": "solid",
  3445. "borderBottom": "solid",
  3446. "draggable": false
  3447. },
  3448. "printElementType": {
  3449. "title": "文本",
  3450. "type": "text"
  3451. }
  3452. },
  3453. {
  3454. "options": {
  3455. "left": 156,
  3456. "top": 728,
  3457. "height": 16,
  3458. "width": 54,
  3459. "title": "废次品原因",
  3460. "right": 211.74609375,
  3461. "bottom": 743.74609375,
  3462. "vCenter": 184.74609375,
  3463. "hCenter": 735.74609375,
  3464. "coordinateSync": false,
  3465. "widthHeightSync": false,
  3466. "textAlign": "center",
  3467. "textContentVerticalAlign": "middle",
  3468. "qrCodeLevel": 0,
  3469. "field": "fcpyy",
  3470. "hideTitle": true,
  3471. "borderLeft": "solid",
  3472. "borderTop": "solid",
  3473. "borderRight": "solid",
  3474. "borderBottom": "solid",
  3475. "draggable": false
  3476. },
  3477. "printElementType": {
  3478. "title": "文本",
  3479. "type": "text"
  3480. }
  3481. },
  3482. {
  3483. "options": {
  3484. "left": 299,
  3485. "top": 728,
  3486. "height": 16,
  3487. "width": 54,
  3488. "title": "废次品原因",
  3489. "right": 353.49609375,
  3490. "bottom": 744.49609375,
  3491. "vCenter": 326.49609375,
  3492. "hCenter": 736.49609375,
  3493. "coordinateSync": false,
  3494. "widthHeightSync": false,
  3495. "textAlign": "center",
  3496. "textContentVerticalAlign": "middle",
  3497. "qrCodeLevel": 0,
  3498. "field": "fcpyy",
  3499. "hideTitle": true,
  3500. "borderLeft": "solid",
  3501. "borderTop": "solid",
  3502. "borderRight": "solid",
  3503. "borderBottom": "solid",
  3504. "draggable": false
  3505. },
  3506. "printElementType": {
  3507. "title": "文本",
  3508. "type": "text"
  3509. }
  3510. },
  3511. {
  3512. "options": {
  3513. "left": 442,
  3514. "top": 728,
  3515. "height": 16,
  3516. "width": 54,
  3517. "title": "废次品原因",
  3518. "right": 494.25,
  3519. "bottom": 744.25,
  3520. "vCenter": 467.25,
  3521. "hCenter": 736.25,
  3522. "coordinateSync": false,
  3523. "widthHeightSync": false,
  3524. "textAlign": "center",
  3525. "textContentVerticalAlign": "middle",
  3526. "qrCodeLevel": 0,
  3527. "field": "fcpyy",
  3528. "hideTitle": true,
  3529. "borderLeft": "solid",
  3530. "borderTop": "solid",
  3531. "borderRight": "solid",
  3532. "borderBottom": "solid",
  3533. "draggable": false
  3534. },
  3535. "printElementType": {
  3536. "title": "文本",
  3537. "type": "text"
  3538. }
  3539. },
  3540. {
  3541. "options": {
  3542. "left": 13,
  3543. "top": 744,
  3544. "height": 16,
  3545. "width": 54,
  3546. "title": "废次品数量",
  3547. "right": 65.25,
  3548. "bottom": 761.5,
  3549. "vCenter": 38.25,
  3550. "hCenter": 753.5,
  3551. "coordinateSync": false,
  3552. "widthHeightSync": false,
  3553. "textAlign": "center",
  3554. "textContentVerticalAlign": "middle",
  3555. "qrCodeLevel": 0,
  3556. "borderLeft": "solid",
  3557. "borderTop": "solid",
  3558. "borderRight": "solid",
  3559. "borderBottom": "solid",
  3560. "draggable": false
  3561. },
  3562. "printElementType": {
  3563. "title": "文本",
  3564. "type": "text"
  3565. }
  3566. },
  3567. {
  3568. "options": {
  3569. "left": 156,
  3570. "top": 744,
  3571. "height": 16,
  3572. "width": 54,
  3573. "title": "废次品数量",
  3574. "right": 209.49609375,
  3575. "bottom": 759.49609375,
  3576. "vCenter": 182.49609375,
  3577. "hCenter": 751.49609375,
  3578. "coordinateSync": false,
  3579. "widthHeightSync": false,
  3580. "textAlign": "center",
  3581. "textContentVerticalAlign": "middle",
  3582. "qrCodeLevel": 0,
  3583. "borderLeft": "solid",
  3584. "borderTop": "solid",
  3585. "borderRight": "solid",
  3586. "borderBottom": "solid",
  3587. "draggable": false
  3588. },
  3589. "printElementType": {
  3590. "title": "文本",
  3591. "type": "text"
  3592. }
  3593. },
  3594. {
  3595. "options": {
  3596. "left": 299,
  3597. "top": 744,
  3598. "height": 16,
  3599. "width": 54,
  3600. "title": "废次品数量",
  3601. "right": 350.25,
  3602. "bottom": 758.5,
  3603. "vCenter": 323.25,
  3604. "hCenter": 750.5,
  3605. "coordinateSync": false,
  3606. "widthHeightSync": false,
  3607. "textAlign": "center",
  3608. "textContentVerticalAlign": "middle",
  3609. "qrCodeLevel": 0,
  3610. "borderLeft": "solid",
  3611. "borderTop": "solid",
  3612. "borderRight": "solid",
  3613. "borderBottom": "solid",
  3614. "draggable": false
  3615. },
  3616. "printElementType": {
  3617. "title": "文本",
  3618. "type": "text"
  3619. }
  3620. },
  3621. {
  3622. "options": {
  3623. "left": 442,
  3624. "top": 744,
  3625. "height": 16,
  3626. "width": 54,
  3627. "title": "废次品数量",
  3628. "right": 495,
  3629. "bottom": 759.25,
  3630. "vCenter": 468,
  3631. "hCenter": 751.25,
  3632. "coordinateSync": false,
  3633. "widthHeightSync": false,
  3634. "textAlign": "center",
  3635. "textContentVerticalAlign": "middle",
  3636. "qrCodeLevel": 0,
  3637. "borderLeft": "solid",
  3638. "borderTop": "solid",
  3639. "borderRight": "solid",
  3640. "borderBottom": "solid",
  3641. "draggable": false
  3642. },
  3643. "printElementType": {
  3644. "title": "文本",
  3645. "type": "text"
  3646. }
  3647. },
  3648. {
  3649. "options": {
  3650. "left": 13,
  3651. "top": 760,
  3652. "height": 16,
  3653. "width": 54,
  3654. "title": "废次品数量",
  3655. "right": 66,
  3656. "bottom": 778.75,
  3657. "vCenter": 39,
  3658. "hCenter": 770.75,
  3659. "coordinateSync": false,
  3660. "widthHeightSync": false,
  3661. "textAlign": "center",
  3662. "textContentVerticalAlign": "middle",
  3663. "qrCodeLevel": 0,
  3664. "field": "fcpsl",
  3665. "hideTitle": true,
  3666. "borderLeft": "solid",
  3667. "borderTop": "solid",
  3668. "borderRight": "solid",
  3669. "borderBottom": "solid",
  3670. "draggable": false
  3671. },
  3672. "printElementType": {
  3673. "title": "文本",
  3674. "type": "text"
  3675. }
  3676. },
  3677. {
  3678. "options": {
  3679. "left": 156,
  3680. "top": 760,
  3681. "height": 16,
  3682. "width": 54,
  3683. "title": "废次品数量",
  3684. "right": 211.74609375,
  3685. "bottom": 775.24609375,
  3686. "vCenter": 184.74609375,
  3687. "hCenter": 767.24609375,
  3688. "coordinateSync": false,
  3689. "widthHeightSync": false,
  3690. "textAlign": "center",
  3691. "textContentVerticalAlign": "middle",
  3692. "qrCodeLevel": 0,
  3693. "field": "fcpsl",
  3694. "hideTitle": true,
  3695. "borderLeft": "solid",
  3696. "borderTop": "solid",
  3697. "borderRight": "solid",
  3698. "borderBottom": "solid",
  3699. "draggable": false
  3700. },
  3701. "printElementType": {
  3702. "title": "文本",
  3703. "type": "text"
  3704. }
  3705. },
  3706. {
  3707. "options": {
  3708. "left": 299,
  3709. "top": 760,
  3710. "height": 16,
  3711. "width": 54,
  3712. "title": "废次品数量",
  3713. "right": 354.75,
  3714. "bottom": 778.75,
  3715. "vCenter": 327.75,
  3716. "hCenter": 770.75,
  3717. "coordinateSync": false,
  3718. "widthHeightSync": false,
  3719. "textAlign": "center",
  3720. "textContentVerticalAlign": "middle",
  3721. "qrCodeLevel": 0,
  3722. "field": "fcpsl",
  3723. "hideTitle": true,
  3724. "borderLeft": "solid",
  3725. "borderTop": "solid",
  3726. "borderRight": "solid",
  3727. "borderBottom": "solid",
  3728. "draggable": false
  3729. },
  3730. "printElementType": {
  3731. "title": "文本",
  3732. "type": "text"
  3733. }
  3734. },
  3735. {
  3736. "options": {
  3737. "left": 442,
  3738. "top": 760,
  3739. "height": 16,
  3740. "width": 54,
  3741. "title": "废次品数量",
  3742. "right": 494.25,
  3743. "bottom": 775,
  3744. "vCenter": 467.25,
  3745. "hCenter": 767,
  3746. "coordinateSync": false,
  3747. "widthHeightSync": false,
  3748. "textAlign": "center",
  3749. "textContentVerticalAlign": "middle",
  3750. "qrCodeLevel": 0,
  3751. "field": "fcpsl",
  3752. "hideTitle": true,
  3753. "borderLeft": "solid",
  3754. "borderTop": "solid",
  3755. "borderRight": "solid",
  3756. "borderBottom": "solid",
  3757. "draggable": false
  3758. },
  3759. "printElementType": {
  3760. "title": "文本",
  3761. "type": "text"
  3762. }
  3763. },
  3764. {
  3765. "options": {
  3766. "left": 13,
  3767. "top": 776,
  3768. "height": 16,
  3769. "width": 54,
  3770. "title": "联拼号",
  3771. "right": 65.25,
  3772. "bottom": 792.25,
  3773. "vCenter": 38.25,
  3774. "hCenter": 784.25,
  3775. "coordinateSync": false,
  3776. "widthHeightSync": false,
  3777. "textAlign": "center",
  3778. "textContentVerticalAlign": "middle",
  3779. "qrCodeLevel": 0,
  3780. "borderLeft": "solid",
  3781. "borderTop": "solid",
  3782. "borderRight": "solid",
  3783. "borderBottom": "solid",
  3784. "draggable": false
  3785. },
  3786. "printElementType": {
  3787. "title": "文本",
  3788. "type": "text"
  3789. }
  3790. },
  3791. {
  3792. "options": {
  3793. "left": 156,
  3794. "top": 776,
  3795. "height": 16,
  3796. "width": 54,
  3797. "title": "联拼号",
  3798. "right": 207.24609375,
  3799. "bottom": 792.49609375,
  3800. "vCenter": 180.24609375,
  3801. "hCenter": 784.49609375,
  3802. "coordinateSync": false,
  3803. "widthHeightSync": false,
  3804. "textAlign": "center",
  3805. "textContentVerticalAlign": "middle",
  3806. "qrCodeLevel": 0,
  3807. "borderLeft": "solid",
  3808. "borderTop": "solid",
  3809. "borderRight": "solid",
  3810. "borderBottom": "solid",
  3811. "draggable": false
  3812. },
  3813. "printElementType": {
  3814. "title": "文本",
  3815. "type": "text"
  3816. }
  3817. },
  3818. {
  3819. "options": {
  3820. "left": 299,
  3821. "top": 776,
  3822. "height": 16,
  3823. "width": 54,
  3824. "title": "联拼号",
  3825. "right": 353.49609375,
  3826. "bottom": 793.99609375,
  3827. "vCenter": 326.49609375,
  3828. "hCenter": 785.99609375,
  3829. "coordinateSync": false,
  3830. "widthHeightSync": false,
  3831. "textAlign": "center",
  3832. "textContentVerticalAlign": "middle",
  3833. "qrCodeLevel": 0,
  3834. "borderLeft": "solid",
  3835. "borderTop": "solid",
  3836. "borderRight": "solid",
  3837. "borderBottom": "solid",
  3838. "draggable": false
  3839. },
  3840. "printElementType": {
  3841. "title": "文本",
  3842. "type": "text"
  3843. }
  3844. },
  3845. {
  3846. "options": {
  3847. "left": 442,
  3848. "top": 776,
  3849. "height": 16,
  3850. "width": 54,
  3851. "title": "联拼号",
  3852. "right": 497.25,
  3853. "bottom": 792.25,
  3854. "vCenter": 470.25,
  3855. "hCenter": 784.25,
  3856. "coordinateSync": false,
  3857. "widthHeightSync": false,
  3858. "textAlign": "center",
  3859. "textContentVerticalAlign": "middle",
  3860. "qrCodeLevel": 0,
  3861. "borderLeft": "solid",
  3862. "borderTop": "solid",
  3863. "borderRight": "solid",
  3864. "borderBottom": "solid",
  3865. "draggable": false
  3866. },
  3867. "printElementType": {
  3868. "title": "文本",
  3869. "type": "text"
  3870. }
  3871. },
  3872. {
  3873. "options": {
  3874. "left": 13,
  3875. "top": 792,
  3876. "height": 16,
  3877. "width": 54,
  3878. "title": "联拼号",
  3879. "right": 68.25,
  3880. "bottom": 808.75,
  3881. "vCenter": 41.25,
  3882. "hCenter": 800.75,
  3883. "coordinateSync": false,
  3884. "widthHeightSync": false,
  3885. "textAlign": "center",
  3886. "textContentVerticalAlign": "middle",
  3887. "qrCodeLevel": 0,
  3888. "field": "lph",
  3889. "hideTitle": true,
  3890. "borderLeft": "solid",
  3891. "borderTop": "solid",
  3892. "borderRight": "solid",
  3893. "borderBottom": "solid",
  3894. "draggable": false
  3895. },
  3896. "printElementType": {
  3897. "title": "文本",
  3898. "type": "text"
  3899. }
  3900. },
  3901. {
  3902. "options": {
  3903. "left": 156,
  3904. "top": 792,
  3905. "height": 16,
  3906. "width": 54,
  3907. "title": "联拼号",
  3908. "right": 209.25,
  3909. "bottom": 808.75,
  3910. "vCenter": 182.25,
  3911. "hCenter": 800.75,
  3912. "coordinateSync": false,
  3913. "widthHeightSync": false,
  3914. "textAlign": "center",
  3915. "textContentVerticalAlign": "middle",
  3916. "qrCodeLevel": 0,
  3917. "field": "lph",
  3918. "hideTitle": true,
  3919. "borderLeft": "solid",
  3920. "borderTop": "solid",
  3921. "borderRight": "solid",
  3922. "borderBottom": "solid",
  3923. "draggable": false
  3924. },
  3925. "printElementType": {
  3926. "title": "文本",
  3927. "type": "text"
  3928. }
  3929. },
  3930. {
  3931. "options": {
  3932. "left": 299,
  3933. "top": 792,
  3934. "height": 16,
  3935. "width": 54,
  3936. "title": "联拼号",
  3937. "right": 352.5,
  3938. "bottom": 809.5,
  3939. "vCenter": 325.5,
  3940. "hCenter": 801.5,
  3941. "field": "lph",
  3942. "coordinateSync": false,
  3943. "widthHeightSync": false,
  3944. "hideTitle": true,
  3945. "textAlign": "center",
  3946. "textContentVerticalAlign": "middle",
  3947. "borderLeft": "solid",
  3948. "borderTop": "solid",
  3949. "borderRight": "solid",
  3950. "borderBottom": "solid",
  3951. "qrCodeLevel": 0,
  3952. "draggable": false
  3953. },
  3954. "printElementType": {
  3955. "title": "文本",
  3956. "type": "text"
  3957. }
  3958. },
  3959. {
  3960. "options": {
  3961. "left": 442,
  3962. "top": 792,
  3963. "height": 16,
  3964. "width": 54,
  3965. "title": "联拼号",
  3966. "right": 495,
  3967. "bottom": 807.25,
  3968. "vCenter": 468,
  3969. "hCenter": 799.25,
  3970. "coordinateSync": false,
  3971. "widthHeightSync": false,
  3972. "textAlign": "center",
  3973. "textContentVerticalAlign": "middle",
  3974. "qrCodeLevel": 0,
  3975. "field": "lph",
  3976. "hideTitle": true,
  3977. "borderLeft": "solid",
  3978. "borderTop": "solid",
  3979. "borderRight": "solid",
  3980. "borderBottom": "solid",
  3981. "draggable": false
  3982. },
  3983. "printElementType": {
  3984. "title": "文本",
  3985. "type": "text"
  3986. }
  3987. }
  3988. ],
  3989. "paperNumberLeft": 565.5,
  3990. "paperNumberTop": 819,
  3991. "paperNumberDisabled": true,
  3992. "paperNumberContinue": true,
  3993. "backgroundColor": "#ffffff",
  3994. "overPrintOptions": {
  3995. "content": "",
  3996. "opacity": 0.7,
  3997. "type": 1
  3998. },
  3999. "watermarkOptions": {
  4000. "content": "",
  4001. "fillStyle": "rgba(255, 255, 255, 1)",
  4002. "fontSize": "36px",
  4003. "rotate": 25,
  4004. "width": 413,
  4005. "height": 310,
  4006. "timestamp": false,
  4007. "format": "YYYY-MM-DD HH:mm"
  4008. }
  4009. }
  4010. ]
  4011. }
  4012. hiprint.init()
  4013. const hiprintTemplate = new hiprint.PrintTemplate({ template: jsondata1 })
  4014. const propertyChange = () => {
  4015. if(workData.value.Gd_gdbh.length<7){
  4016. console.log("没到七位")
  4017. shuang.value=false
  4018. selectedPaper.value=[]
  4019. selectedPeijian.value=[]
  4020. gyData.value=[]
  4021. workData.value.tldx=3000
  4022. workData.value.start_liucheng=1
  4023. workData.value.liucheng_num=1
  4024. workData.value.x_offset=0
  4025. workData.value.y_offset=0
  4026. department.value=null
  4027. department.value=null
  4028. return false;
  4029. }else{
  4030. console.log("到了七位")
  4031. console.log(workData.value.Gd_gdbh)
  4032. const getDocument = async() => {
  4033. //1.1获取工单基本数据
  4034. const getDocumentDatas = await getDocumentData({order:workData.value.Gd_gdbh})
  4035. console.log(getDocumentDatas)
  4036. //1.2获取历史工艺信息
  4037. const getHistorys = await getHistory({order:workData.value.Gd_gdbh,peijian:''})
  4038. update.value = getHistorys.data.update
  4039. gyData.value=getHistorys.data.data.map((item)=>({
  4040. gy:item
  4041. }))
  4042. console.log(getHistorys.data.data)
  4043. if (getDocumentDatas.code === 0) {
  4044. workData.value.version=getDocumentDatas.data.paper[0].产品版本号;
  4045. workData.value.peijian=getDocumentDatas.data.paper;
  4046. // console.log(selectedPaper.value)
  4047. if(getDocumentDatas.data.num>1){
  4048. dan.value=false
  4049. shuang.value=true
  4050. // console.log(getDocumentDatas.data.paper.length)
  4051. selectedPaper.value=getDocumentDatas.data.paper
  4052. selectedPeijian.value=getDocumentDatas.data.peijian
  4053. }else{
  4054. dan.value=true
  4055. shuang.value=false
  4056. selectedPaper.value=getDocumentDatas.data.paper
  4057. workData.value.product=getDocumentDatas.data.paper[0].bom_物料名称;
  4058. }
  4059. workData.value.num=getDocumentDatas.data.paper[0].bom_计划用量;
  4060. if(getDocumentDatas.data.peijian){
  4061. peijian.value=getDocumentDatas.data.peijian[0]['id']
  4062. const getHistory = async() => {
  4063. const getDocumentHistorys = await getDocumentHistory({
  4064. order:workData.value.Gd_gdbh,
  4065. peijian:getDocumentDatas.data.peijian[0]['id']})
  4066. if (getDocumentHistorys.code === 0) {
  4067. department.value=getDocumentHistorys.data.department
  4068. update.value=getDocumentHistorys.data.update
  4069. gyData.value=getDocumentHistorys.data.data.map((item)=>({
  4070. gy:item
  4071. }))
  4072. }
  4073. }
  4074. getHistory()
  4075. }
  4076. }
  4077. }
  4078. getDocument()
  4079. }
  4080. }
  4081. //点击增加工艺按钮
  4082. const addInput = () => {
  4083. gyData.value.push({gy:''})
  4084. }
  4085. const sendClick = () => {
  4086. saveDocument()
  4087. }
  4088. const saveDocument = async() => {
  4089. datas.value=[]
  4090. gyData.value.map((item)=>{
  4091. if(item.gy==''){
  4092. }else{
  4093. datas.value.push(item.gy)
  4094. }
  4095. })
  4096. // datas.value = gyData.value.map((item)=>(item.gy))
  4097. data.value= datas.value.join(",")
  4098. const saveDocumentDatas = await saveDocumentData({order:workData.value.Gd_gdbh,data:`${data.value},`,peijian:peijian.value})
  4099. if (saveDocumentDatas.code === 0) {
  4100. getDocument()
  4101. }
  4102. }
  4103. const getDocument = async() => {
  4104. console.log(111111)
  4105. const getDocumentInfos = await getDocumentInfo({
  4106. order:workData.value.Gd_gdbh,
  4107. mabao:workData.value.mabao,
  4108. version:workData.value.version,
  4109. start_liucheng:workData.value.start_liucheng,
  4110. tldx:workData.value.tldx,
  4111. remark:workData.value.remark,
  4112. string:data.value,
  4113. num:workData.value.num
  4114. })
  4115. if (getDocumentInfos.code === 0) {
  4116. // const printdata = {
  4117. // "scpch": "123456",
  4118. // "xsddh": "123456",
  4119. // "mbh": "123456",
  4120. // "lcdh": "123456",
  4121. // "gdsm": "123456",
  4122. // "cpmc": "111",
  4123. // "ztzs": "222",
  4124. // "gjh": "333",
  4125. // 'table': getDocumentInfos.data.gy_data.map(item=>({
  4126. // gxmc:item
  4127. // }))
  4128. // }
  4129. // hiprintTemplate.print(printdata);
  4130. console.log(workData)
  4131. const data = getDocumentInfos.data
  4132. if(workData.value.liucheng_total=== '' || workData.value.liucheng_total === null){
  4133. ElMessage({type: 'warning',message: '总流程不能玩为空'})
  4134. return false;
  4135. }
  4136. for (let i = workData.value.start_liucheng; i <= workData.value.liucheng_total; i++) {
  4137. const printdata = {
  4138. "scpch": getDocumentInfos.data[0].Gd_gdbh,
  4139. "xsddh": getDocumentInfos.data[0].销售订单号.split(' ')[1],
  4140. "mbh": getDocumentInfos.data[0].mabao,
  4141. "lcdh": `${workData.value.liucheng_total}-${i}`,
  4142. "qrcode": `${getDocumentInfos.data[0].Gd_gdbh}-${workData.value.liucheng_total}-${i}`,
  4143. "gdsm": getDocumentInfos.data[0].technique_sequence,
  4144. "cpmc": getDocumentInfos.data[0].Gd_cpmc,
  4145. "ztzs": workData.value.num,
  4146. 'table': getDocumentInfos.data.gy_data.map(item=>({
  4147. gxmc:item
  4148. }))
  4149. }
  4150. console.log(printdata); // 输出数据查看
  4151. try {
  4152. hiprintTemplate.print2(printdata); // 尝试打印
  4153. // hiprintTemplate.toPdf(printdata, '流程单');
  4154. } catch (error) {
  4155. console.error('打印出错:', error); // 打印错误日志
  4156. }
  4157. }
  4158. // for (let i = workData.value.start_liucheng; i <= workData.value.liucheng_total; i++) {
  4159. // const printdata = {
  4160. // "scpch": getDocumentInfos.data[0].Gd_gdbh,
  4161. // "xsddh": getDocumentInfos.data[0].销售订单号.split(' ')[1],
  4162. // "mbh": getDocumentInfos.data[0].mabao,
  4163. // "lcdh": `${workData.value.liucheng_total}-${i}`,
  4164. // "qrcode": `${getDocumentInfos.data[0].Gd_gdbh}-${workData.value.liucheng_total}-${i}`,
  4165. // "gdsm": getDocumentInfos.data[0].technique_sequence,
  4166. // "cpmc": getDocumentInfos.data[0].Gd_cpmc,
  4167. // "ztzs": workData.value.num,
  4168. // // "gjh": getDocumentInfos.data[0].version,
  4169. // 'table': getDocumentInfos.data.gy_data.map(item=>({
  4170. // gxmc:item
  4171. // }))
  4172. // }
  4173. //
  4174. // // console.log(printdata)
  4175. // hiprintTemplate.print(printdata);
  4176. // // hiprintTemplate.print2(printdata);
  4177. // hiprintTemplate.toPdf(printdata,'流程单');
  4178. // }
  4179. // const printdata = {
  4180. // "scpch": "123456",
  4181. // "xsddh": "123456",
  4182. // "mbh": "123456",
  4183. // "lcdh": "123456",
  4184. // "gdsm": "123456",
  4185. // "cpmc": "111",
  4186. // "ztzs": "222",
  4187. // "gjh": "333",
  4188. // 'table': getDocumentInfos.data.gy_data.map(item=>({
  4189. // gxmc:item
  4190. // }))
  4191. // }
  4192. // hiprintTemplate.print(printdata);
  4193. // hiprintTemplate.print(printdata);
  4194. // console.log(getDocumentInfos.data)
  4195. }
  4196. }
  4197. const selectpPaper = (event) => {
  4198. workData.value.num=event.target.value
  4199. }
  4200. const selectPeijian = async(event) => {
  4201. peijian.value=event.target.value
  4202. const getDocumentHistoryss = await getDocumentHistory({
  4203. order:workData.value.Gd_gdbh,
  4204. peijian:event.target.value})
  4205. console.log(getDocumentHistoryss)
  4206. if (getDocumentHistoryss.code === 0) {
  4207. department.value=getDocumentHistoryss.data.department
  4208. update.value=getDocumentHistoryss.data.update
  4209. if(getDocumentHistoryss.data.data[0]){
  4210. gyData.value=getDocumentHistoryss.data.data.map((item)=>({
  4211. gy:item
  4212. }))
  4213. }else{
  4214. gyData.value=[]
  4215. }
  4216. }
  4217. }
  4218. </script>
  4219. <style>
  4220. .newlabel{
  4221. display: block;
  4222. -webkit-margin-start: 2px;
  4223. -webkit-margin-end: 2px;
  4224. -webkit-padding-before: 0.35em;
  4225. -webkit-padding-start: 0.75em;
  4226. -webkit-padding-end: 0.75em;
  4227. -webkit-padding-after: 0.625em;
  4228. min-width: -webkit-min-content;
  4229. border-width: 2px;
  4230. border-style: groove;
  4231. border-color: threedface;
  4232. border-image: initial;
  4233. width:870px;
  4234. padding:10px;
  4235. margin:10px;
  4236. float: left;
  4237. }
  4238. .legend{
  4239. display: block;
  4240. -webkit-padding-start: 2px;
  4241. -webkit-padding-end: 2px;
  4242. border-width: initial;
  4243. border-style: none;
  4244. border-color: initial;
  4245. border-image: initial;
  4246. }
  4247. #daima{
  4248. display: block;
  4249. border-width: 2px;
  4250. border-style: groove;
  4251. border-color: initial;
  4252. border-image: initial;
  4253. float: left;
  4254. margin-left: 950px;
  4255. margin-top: 18px;
  4256. width: 550px;
  4257. padding: 10px;
  4258. position: fixed;
  4259. }
  4260. #daima table{
  4261. }
  4262. .firm ul,.product ul,.tag ul{
  4263. width:100%;
  4264. padding:10px;
  4265. font-size:0;
  4266. }
  4267. .firm li,.product li,.tag li{
  4268. font-size:12px;
  4269. }
  4270. .firm li:first-child ul li,.product li:first-child ul li,.tag li:first-child ul li{
  4271. display:inline-block;
  4272. width:33.3333%;
  4273. height:20px;
  4274. line-height:20px;
  4275. }
  4276. .firm input,.product input,.tag input{
  4277. width:200px;
  4278. padding:5px;
  4279. }
  4280. .tag select{
  4281. width:198px;
  4282. padding:5px;
  4283. }
  4284. .firm li ul:last-child li{
  4285. width:580px;
  4286. }
  4287. .firm li ul:last-child li input{
  4288. width:476px;
  4289. }
  4290. .newlabel table{
  4291. margin-top:20px;
  4292. min-height: 25px; line-height: 25px;border-collapse: collapse;
  4293. }
  4294. .newlabel caption{
  4295. padding:5px 0;
  4296. }
  4297. .newlabel table,.newlabel table tr th,.newlabel table tr td { border:1px dashed #ddd;padding:5px;}
  4298. #daima table,#daima table tr th,#daima table tr td { border:1px dashed #ddd;padding:5px;}
  4299. #createcode{
  4300. display:inline-block;
  4301. width:100px;
  4302. height:30px;
  4303. line-height:30px;
  4304. margin-left:290px;
  4305. border-radius:10px;
  4306. background:#0fa2f1;
  4307. color:#fff;
  4308. text-align:center;
  4309. cursor: pointer;
  4310. opacity:0.8;
  4311. filter:80%;
  4312. }
  4313. .submitbtn{
  4314. width:100px;
  4315. height:30px;
  4316. line-height:30px;
  4317. background:#0fa2f1;
  4318. margin-left:30%;
  4319. text-align:center;
  4320. outline:none;
  4321. border:0;
  4322. color:#fff;
  4323. border-radius:10px;
  4324. opacity:0.8;
  4325. filter:80%;
  4326. }
  4327. .high{ color: red; }
  4328. .msg{ font-size: 13px; }
  4329. .onError{ color: red; }
  4330. .onSuccess{ color: green; }
  4331. </style>