print.vue 80 KB

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