processSheet.vue 131 KB

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