tft-fe/dist/js/2873.59a351a5.js

1 行
12 KiB
JavaScript

2023-07-19 15:45:49 +08:00
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2873],{2873:function(r,o,t){t.r(o),t.d(o,{default:function(){return D}});var e=function(){var r=this,o=r._self._c;return o("div",{staticClass:"production-report-box"},[o("search-bar",{ref:"searchBarForm",attrs:{formConfigs:r.formConfig},on:{headBtnClick:r.buttonClick}}),o("base-table",{attrs:{page:r.listQuery.current,limit:r.listQuery.size,"table-props":r.tableProp,"table-data":r.tableData,"span-method":r.spanMethod,"max-height":r.tableH}})],1)},n=[],w=t(475),a=function(){var r=this,o=r._self._c;return o("div",[o("el-tag",{attrs:{size:"medium"}},[r._v(r._s(r.showTotal))])],1)},i=[],p={name:"TableTags",data(){return{showTotal:""}},props:{injectData:{type:Object,default:()=>({})}},mounted(){"daySum"===this.injectData.prop?this.showTotal=this.injectData.daySum:"nightSum"===this.injectData.prop?this.showTotal=this.injectData.nightSum:"sum"===this.injectData.prop&&(this.showTotal=this.injectData.sum)}},l=p,s=t(1001),u=(0,s.Z)(l,a,i,!1,null,null,null),h=u.exports,d=t(381),c=t.n(d),f=t(6527);const b=[{prop:"row1",label:"区域",fixed:!0},{prop:"row2",label:"",fixed:!0},{prop:"row3",label:"项目指标",minWidth:150,fixed:!0},{label:"白班(8:00-20:00)",align:"center",children:[{prop:"seven",label:"7-8",width:60},{prop:"eight",label:"8-9",width:60},{prop:"nine",label:"9-10",width:60},{prop:"ten",label:"10-11",width:60},{prop:"eleven",label:"11-12",width:60},{prop:"twelve",label:"12-13",width:60},{prop:"thirteen",label:"13-14",width:60},{prop:"fourteen",label:"14-15",width:60},{prop:"fifteen",label:"15-16",width:60},{prop:"sixteen",label:"16-17",width:60},{prop:"seventeen",label:"17-18",width:60},{prop:"eighteen",label:"18-19",width:60},{prop:"daySum",label:"合计",subcomponent:h}]},{label:"夜班(20:00-8:00)",align:"center",children:[{prop:"nineteen",label:"19-20",width:60},{prop:"twenty",label:"20-21",width:60},{prop:"twentyOne",label:"21-22",width:60},{prop:"twentyTwo",label:"22-23",width:60},{prop:"twentyThree",label:"23-24",width:60},{prop:"zero",label:"0-1",width:60},{prop:"one",label:"1-2",width:60},{prop:"two",label:"2-3",width:60},{prop:"three",label:"3-4",width:60},{prop:"four",label:"4-5",width:60},{prop:"five",label:"5-6",width:60},{prop:"six",label:"6-7",width:60},{prop:"nightSum",label:"合计",subcomponent:h}]},{prop:"sum",label:"总计",subcomponent:h}];var m={name:"productionReport",data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"1",clearable:!1,width:120},{type:"datePicker",label:"日期选择",dateType:"date",format:"yyyy-MM-dd",valueFormat:"yyyy-MM-dd",param:"hour",defaultSelect:"",clearable:!1,width:200},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],listQuery:{proLineId:"",hour:""},tableH:(0,w.NC)(225),tableProp:b,tableData:[],span:[],span2:[],tableHead:[{row1:"综合",row2:"",row3:"上片投入"},{row1:"综合",row2:"",row3:"机器人复投"},{row1:"综合",row2:"",row3:"再清洗品"},{row1:"综合",row2:"",row3:"良品总投入数"},{row1:"综合",row2:"",row3:"工序总损耗"},{row1:"综合",row2:"",row3:"后清洗输出"},{row1:"上片",row2:"",row3:"损失"},{row1:"精切",row2:"",row3:"损失"},{row1:"精切",row2:"",row3:"抽检"},{row1:"磨边",row2:"",row3:"损失"},{row1:"磨边",row2:"",row3:"抽检"},{row1:"前清洗",row2:"",row3:"损失"},{row1:"边检",row2:"",row3:"损失"},{row1:"复投",row2:"",row3:"损失"},{row1:"贴合压合",row2:"",row3:"贴合损失"},{row1:"贴合压合",row2:"",row3:"压合损失"},{row1:"面研磨机",row2:"",row3:"输入"},{row1:"面研磨机",row2:"",row3:"1#输入"},{row1:"面研磨机",row2:"",row3:"2#输入"},{row1:"面研磨机",row2:"",row3:"3#输入"},{row1:"面研磨机",row2:"",row3:"4#输入"},{row1:"面研磨机",row2:"",row3:"5#输入"},{row1:"面研磨机",row2:"",row3:"6#输入"},{row1:"面研磨机",row2:"",row3:"输出"},{row1:"面研磨机",ro