tft-fe/dist/js/5271.8199e756.js

1 line
13 KiB
JavaScript
Raw Normal View History

2023-05-30 09:00:50 +08:00
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5271],{5271:function(t,e,a){a.r(e),a.d(e,{default:function(){return N}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"finalInspectionData"},[e("el-row",{staticClass:"box-top"},[e("el-col",[e("div",{staticClass:"search-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}})],1)])],1),e("el-row",{staticClass:"box",attrs:{gutter:8}},[e("el-col",{attrs:{span:9}},[e("div",{staticClass:"left-box"},[e("span",{staticClass:"table-button",on:{click:t.generateReport}},[t._v("生成表格")]),e("base-table",{attrs:{selectWidth:40,"table-props":t.tablePropsL,"table-data":t.tableDataL,"max-height":t.tableHL},on:{"selection-change":t.selectChange}})],1)]),e("el-col",{attrs:{span:15}},[e("div",{staticClass:"right-box"},[t.reportTitle?e("div",[e("span",{staticClass:"title"},[t._v(t._s(t.reportTitle))])]):t._e(),"玻璃基板缺陷统计"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-quality-report",{attrs:{tableData:t.glassQualityArr}})],1):t._e(),"厚度汇总报表"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-thick-report",{attrs:{tableData:t.thickReportArr}})],1):t._e(),"终检下片包装"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-pack-report",{attrs:{tableData1:t.packClaReportArr,tableData2:t.packReportArr}})],1):t._e()])])],1)],1)},l=[],i=a(475),o=a(6527),s=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},n=[];const p=[{prop:"time",label:"检测时间",filter:i.g6,minWidth:160},{prop:"virtualcode",label:"玻璃ID",minWidth:120},{prop:"lineA",label:"加工条件",children:[{prop:"palletId",label:"托盘ID"},{prop:"grindtype",label:"研磨类型"}]},{prop:"lineB",label:"检测数据",children:[{prop:"sums",label:"颗粒总数"},{prop:"distortion",label:"变形"},{prop:"tail",label:"拖尾"},{prop:"bl",label:"气泡"},{prop:"stone",label:"结石"},{prop:"scratch",label:"划伤"},{prop:"surfaceSum",label:"面检总数"}]},{prop:"lineC",label:"研磨电流(A)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"alle",label:"总电流"}]},{prop:"eletricityConform",label:"工艺符合性",minWidth:100},{prop:"lineD",label:"研磨时间(S)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"allt",label:"总研磨时间",minWidth:100}]}];var d={name:"glassQualityReport",data(){return{tableProps:p,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},u=d,h=a(1001),c=(0,h.Z)(u,s,n,!1,null,null,null),m=c.exports,b=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},g=[];const f=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"testTime",label:"检测时间",filter:i.g6,minWidth:160},{prop:"palletId",label:"托盘ID",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"maxValue",label:"最大值",minWidth:120},{prop:"minValue",label:"最小值",minWidth:120},{prop:"avgValue",label:"平均值",minWidth:120},{prop:"ttvValue",label:"厚薄差",minWidth:120}];var y={name:"glassThickReport",data(){return{tableProps:f,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},W=y,v=(0,h.Z)(W,b,g,!1,null,null,null),A=v.exports,C=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps1,"table-data":t.tableData1,"max-height":t.tableH}}),e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2,"max-height":t.tableH}})],1)},k=[];const R=[{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"glassNum",label:"数量",minWidth:160},{pr