var config = { options_production_type: [{ value: null, label: '' }, { value: 1, label: '正常布产' }, { value: 2, label: '委托布产' }], options_is_complete: [{ value: '0', label: '未完成' }, { value: '1', label: '已完成' }], options_is_send: [{ value: '0', label: '未发料' }, { value: '1', label: '已发料' }], options_user_type: [{ value: null, label: '' }, { value: 1, label: '管理员' }, { value: 2, label: '员工' }, { value: 3, label: '触控屏' }], printTemplate: {"panels":[{"index":0,"name":1,"height":296.6,"width":210,"paperHeader":108,"paperFooter":810,"printElements":[{"options":{"left":520.5,"top":3,"height":70,"width":70,"field":"qrcode","fontSize":15,"fontWeight":"700","textAlign":"center","hideTitle":true,"title":"qrcode","coordinateSync":false,"widthHeightSync":false,"textType":"qrcode","qrCodeLevel":0,"right":589.75,"bottom":72.25,"vCenter":554.75,"hCenter":37.25},"printElementType":{"title":"qrcode","type":"text"}},{"options":{"left":192,"top":6,"height":16,"width":211.5,"field":"mold_master_name","fontSize":15,"textAlign":"left","hideTitle":false,"title":"模具师傅"},"printElementType":{"title":"模具师傅","type":"text"}},{"options":{"left":355.5,"top":6,"height":16,"width":172.5,"field":"progress","fontSize":15,"textAlign":"left","hideTitle":false,"title":"进度","right":567,"bottom":22,"vCenter":480.75,"hCenter":14},"printElementType":{"title":"进度","type":"text"}},{"options":{"left":3,"top":7.5,"height":16,"width":198,"field":"code","fontSize":15,"title":"编号","right":164.25,"bottom":26.5,"vCenter":84.75,"hCenter":18.5,"coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0},"printElementType":{"title":"编号","type":"text"}},{"options":{"left":192,"top":22.5,"height":16,"width":211.5,"field":"mold_name","fontSize":15,"title":"模具","coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0,"right":479.25,"bottom":37,"vCenter":339,"hCenter":29},"printElementType":{"title":"模具","type":"text"}},{"options":{"left":354,"top":22.5,"height":16,"width":174,"field":"draw2D_time","fontSize":15,"title":"出2D时间","right":576,"bottom":39.25,"vCenter":494.25,"hCenter":31.25,"coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0},"printElementType":{"title":"出2D时间","type":"text"}},{"options":{"left":3,"top":24,"height":16,"width":198,"field":"order_code","fontSize":15,"title":"订单","right":162,"bottom":26.5,"vCenter":84,"hCenter":18.5,"coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0},"printElementType":{"title":"订单编号","type":"text"}},{"options":{"left":352.5,"top":39,"height":16,"width":175.5,"field":"draw_start_time","fontSize":15,"title":"画图时间","right":520.5,"bottom":55,"vCenter":435.75,"hCenter":47,"coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0},"printElementType":{"title":"画图时间","type":"text"}},{"options":{"left":192,"top":40.5,"height":16,"width":210,"field":"draw_time","fontSize":15,"title":"出图时间","right":336,"bottom":54.25,"vCenter":237,"hCenter":46.25,"coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0},"printElementType":{"title":"出图时间","type":"text"}},{"options":{"left":0,"top":42,"height":16,"width":201,"field":"split_design_time","fontSize":15,"title":"分模设计时间","right":553.5,"bottom":43,"vCenter":393.75,"hCenter":35,"coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0},"printElementType":{"title":"分模设计时间","type":"text"}},{"options":{"left":192,"top":57,"height":16,"width":210,"field":"hole","fontSize":15,"textAlign":"left","hideTitle":false,"title":"模具穴数","right":402.75,"bottom":73,"vCenter":297.75,"hCenter":65},"printElementType":{"title":"模具穴数","type":"text"}},{"options":{"left":3,"top":55.5,"height":16,"width":198,"field":"rubber","fontSize":15,"textAlign":"left","hideTitle":false,"title":"胶件材质/缩水","right":200.25,"bottom":91.75,"vCenter":101.25,"hCenter":83.75},"printElementType":{"title":"胶件材质/缩水","type":"text"}},{"options":{"left":3,"top":72,"height":16,"width":189,"field":"inlay_deep_hole_time","fontSize":15,"title":"镶件深孔钻到厂","right":410.25,"bottom":90.25,"vCenter":206.25,"hCenter":82.25,"coordinateSync":false,"widthHeightSync":false,"qrCodeLevel":0},"printElementType":{"title":"镶件深孔钻到厂","type":"text"}},{"options":{"left":192,"top":72,"height":16,"width":208.5,"field":"water","fontSize":15,"textAlign":"left","hideTitle":false,"title":"入水口类型/位置","right":356.25,"bottom":88,"vCenter":268.5,"hCenter":80},"printElementType":{"title":"入水口类型/位置","type":"text"}},{"options":{"left":3,"top":91.5,"height":16,"width":523.5,"field":"problem","fontSize":15,"textAlign":"left","hideTitle":false,"title":"出现问题及建议反馈","right":388.5,"bottom":107.5,"vCenter":196.5,"hCenter":99.5},"printElementType":{"title":"出现问题及建议反馈","type":"text"}}],"paperNumberLeft":567,"paperNumberTop":816,"watermarkOptions":{"content":"","rotate":25,"timestamp":false,"format":"YYYY-MM-DD HH:mm"}}]}, printTemplateTable1: { "options": { "left": 7.5, "top": 135, "height": 39, "width": 577.5, "tableFooterRepeat": "last", "field": "details1", "tableHeaderRepeat": "first", "fields": [{ "field": "component_detail_name", "text": "部件" }, { "field": "production_type", "text": "布产类型" }, { "field": "prepare_process_time", "text": "预备加工日期" }, { "field": "plan_complete_time", "text": "计划完成时间" } , { "field": "complete_time", "text": "实际完成时间" }, { "field": "spec", "text": "规格" }, { "field": "surface", "text": "表面工艺" }, { "field": "inlay", "text": "镶件材料" }, { "field": "remark", "text": "备注" }], "right": 576.75, "bottom": 155.25, "vCenter": 291.75, "hCenter": 135.75, "coordinateSync": false, "widthHeightSync": false, "columns": [ [{ "width": 150, "title": "部件", "field": "component_detail_name", "checked": true, "columnId": "component_detail_name", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "布产类型", "field": "production_type", "checked": true, "columnId": "production_type", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 163.85999999999999, "title": "预备加工日期", "field": "prepare_process_time", "checked": true, "columnId": "prepare_process_time", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 157.05524999999994, "title": "计划完成时间", "field": "plan_complete_time", "checked": true, "columnId": "plan_complete_time", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 } , { "width": 150, "title": "完成时间", "field": "complete_time", "checked": true, "columnId": "complete_time", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": "30", "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0, "tableSummaryTitle": true, "tableSummary": "" }, { "width": 150, "title": "规格", "field": "spec", "checked": true, "columnId": "spec", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "表面工艺", "field": "surface", "checked": true, "columnId": "surface", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "镶件材料", "field": "inlay", "checked": true, "columnId": "inlay", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "备注", "field": "remark", "checked": true, "columnId": "remark", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }] ] }, "printElementType": { "title": "部件列表", "type": "table", "editable": true, "columnDisplayEditable": true, "columnDisplayIndexEditable": true, "columnTitleEditable": true, "columnResizable": true, "columnAlignEditable": true, "isEnableEditField": true, "isEnableContextMenu": true, "isEnableInsertRow": true, "isEnableDeleteRow": true, "isEnableInsertColumn": true, "isEnableDeleteColumn": true, "isEnableMergeCell": true } }, printTemplateTable2: { "options": { "left": 7.5, "top": 171, "height": 36, "width": 577.5, "tableFooterRepeat": "last", "field": "details2", "tableHeaderRepeat": "first", "fields": [{ "field": "process_detail_name", "text": "工序" }, { "field": "progress", "text": "进度" }, { "field": "prepare_process_time", "text": "预备加工日期" }, { "field": "plan_complete_time", "text": "计划完成时间" }, { "field": "send_time", "text": "发料时间" }, { "field": "complete_time", "text": "实际完成时间" }, { "field": "remark", "text": "备注" }], "right": 556.75, "bottom": 192.75, "vCenter": 281.75, "hCenter": 174.75, "columns": [ [{ "width": 150, "title": "工序", "field": "process_detail_name", "checked": true, "columnId": "process_detail_name", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "进度", "field": "progress", "checked": true, "columnId": "progress", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "预备加工日期", "field": "prepare_process_time", "checked": true, "columnId": "prepare_process_time", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "计划完成时间", "field": "plan_complete_time", "checked": true, "columnId": "plan_complete_time", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "发料时间", "field": "send_time", "checked": true, "columnId": "send_time", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "实际完成时间", "field": "complete_time", "checked": true, "columnId": "complete_time", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }, { "width": 150, "title": "备注", "field": "remark", "checked": true, "columnId": "remark", "fixed": false, "rowspan": 1, "colspan": 1, "align": "center", "tableColumnHeight": 30, "tableTextType": "text", "tableBarcodeMode": "CODE128A", "tableQRCodeLevel": 0 }] ] }, "printElementType": { "title": "工序列表", "type": "table", "editable": true, "columnDisplayEditable": true, "columnDisplayIndexEditable": true, "columnTitleEditable": true, "columnResizable": true, "columnAlignEditable": true, "isEnableEditField": true, "isEnableContextMenu": true, "isEnableInsertRow": true, "isEnableDeleteRow": true, "isEnableInsertColumn": true, "isEnableDeleteColumn": true, "isEnableMergeCell": true } }, printTemplateDepartment: { "options": { "left": 7.5, "top": 117, "height": 16, "width": 193.5, "field": "department_nameX", "fontSize": 15, "hideTitle": true, "title": "部门X", "right": 186, "bottom": 140.5, "vCenter": 96.75, "hCenter": 132.5, "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0 }, "printElementType": { "title": "部门X", "type": "text" } }, printTemplateProgress: { "options": { "left": 201, "top": 117, "height": 16, "width": 382.5, "field": "progress", "fontSize": 15, "title": "进度", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0 }, "printElementType": { "title": "进度X", "type": "text" } }, printTemplateProgress2: { "options": { "left": 201, "top": 117 + 100, "height": 16, "width": 382.5, "field": "progress", "fontSize": 15, "title": "进度2", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0 }, "printElementType": { "title": "进度X", "type": "text" } }, }; module.exports = config