processSheet.vue 133 KB

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