1 line
22 KiB
JavaScript
1 line
22 KiB
JavaScript
webpackJsonp([86],{DEYC:function(e,t){},SY73:function(e,t){},r2cS:function(e,t,a){"use strict";var s=a("bzuE"),i={name:"ChooseProjects",props:{id:{type:String,default:""},visible:{type:Boolean,default:!1}},watch:{visible:function(e,t){e!==t&&(e&&this.initData(),this.innerVisible=e)},innerVisible:function(e,t){e!==t&&this.$emit("update:visible",e)}},data:function(){return{ruleForm:{name:[{required:!0,message:"请填写保养项目",trigger:"blur"}],function:[{required:!0,message:"请填写保养方法",trigger:"blur"}]},form:{code:"",deviceTepy:"",name:"",function:""},subsetList:[],subsetAll:[],subsetTotal:0,searchData_Subset:{pageno:1,pagesize:5},callBackData:[],innerVisible:this.visible,loading:!1,dialogLoading:!1,deviceType:[],addVisible:!1,config:s.a}},computed:{},methods:{clickRow:function(e){this.$refs.tb.toggleRowSelection(e)},initData:function(){var e=this;this.$api.dictAPI.getDictsByType("device_type").then(function(t){0===t.code&&(e.deviceType=t.datas)}),this.searchSubset()},searchSubset:function(e){var t=this;e&&(this.searchData_Subset.pageno=1),this.dialogLoading=!0,this.$api.upkeepPlanAPI.findProjects(this.searchData_Subset).then(function(e){console.log(e),t.dialogLoading=!1,0===e.code&&(t.subsetList=e.data?e.data.datas:[],t.subsetTotal=e.data?e.data.totalRows:0)})},addProject:function(){this.form={},this.addVisible=!0,this.resetFields()},save:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;t.$api.upkeepPlanAPI.addProjects(t.form).then(function(e){0===e.code?(t.$message({message:e.msg,type:"success"}),t.addVisible=!1,t.searchSubset()):t.$message({message:e.msg,type:"error"})})})},ckSubsetAll:function(e){this.subsetAll=e},subsetSizeChange:function(e){this.searchData_Subset.pagesize=e,this.searchSubset()},subsetCurrentChange:function(e){this.searchData_Subset.pageno=e,this.searchSubset()},submit:function(e){var t=[];this.subsetAll.length>0&&this.subsetAll.forEach(function(e){t.push(e)}),console.log(t),this.$emit("change",t),this.innerVisible=!1},resetFields:function(){this.$refs.form&&this.$refs.form.resetFields()}}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-dialog",{attrs:{center:"",title:"选择保养项目",visible:e.innerVisible,width:"900px"},on:{"update:visible":function(t){e.innerVisible=t}}},[a("div",[a("el-form",{attrs:{inline:""}},[a("el-form-item",{attrs:{label:"保养项目"}},[a("el-input",{attrs:{placeholder:"保养项目"},model:{value:e.searchData_Subset.name,callback:function(t){e.$set(e.searchData_Subset,"name",t)},expression:"searchData_Subset.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"保养方法"}},[a("el-input",{attrs:{placeholder:"保养方法"},model:{value:e.searchData_Subset.function,callback:function(t){e.$set(e.searchData_Subset,"function",t)},expression:"searchData_Subset.function"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.searchSubset(1)}}},[e._v("查询")])],1)],1)],1),e._v(" "),a("div",{staticClass:"sys-table"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.dialogLoading,expression:"dialogLoading"}],ref:"tb",attrs:{data:e.subsetList,"header-cell-style":{fontWeight:"normal",textAlign:"center",backgroundColor:"#eceff4",color:"#222"}},on:{"row-click":e.clickRow,"selection-change":e.ckSubsetAll}},[a("el-table-column",{attrs:{type:"selection",width:"50",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"保养项目",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"function","show-overflow-tooltip":"",label:"保养方法",align:"center"}})],1)],1),e._v(" "),a("div",{staticClass:"sys-pagination"},[a("el-pagination",{attrs:{"current-page":e.searchData_Subset.pageno,"page-sizes":[5,10,20],"page-size":e.searchData_Subset.pagesize,layout:"total, sizes, prev, pager, next, jumper",total:e.subsetTotal},on:{"update:currentPage":function(t){return e.$set(e.searchData_Subset,"pageno",t)},"update:current-page":function(t){return e.$set(e.searchData_Subset,"pageno",t)},"size-change":e.subsetSizeChange,"current-change":e.subsetCurrentChange}})],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:function(t){return e.submit()}}},[e._v("确定")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.innerVisible=!1}}},[e._v(e._s(e.config.cancelText))]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.addProject()}}},[e._v("增加项目")])],1)]),e._v(" "),a("el-dialog",{attrs:{center:"",title:"添加保养项目",visible:e.addVisible,width:"600px"},on:{"update:visible":function(t){e.addVisible=t}}},[a("el-form",{ref:"form",attrs:{"label-width":"90px",model:e.form,rules:e.ruleForm}},[a("el-form-item",{attrs:{label:"编号"}},[a("el-input",{attrs:{placeholder:"请填写编号"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"保养项目",prop:"name"}},[a("el-input",{attrs:{placeholder:"请填写保养项目"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"保养方法",prop:"function"}},[a("el-input",{attrs:{placeholder:"请填写保养方法",autosize:{minRows:4},type:"textarea"},model:{value:e.form.function,callback:function(t){e.$set(e.form,"function",t)},expression:"form.function"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.save("form")}}},[e._v("保存")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.addVisible=!1}}},[e._v(e._s(e.config.cancelText))])],1)],1)],1)},staticRenderFns:[]},r=a("VU/8")(i,o,!1,null,null,null);t.a=r.exports},vCZS:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s,i=a("bOdI"),o=a.n(i),r=a("mvHQ"),n=a.n(r),l=a("woOf"),c=a.n(l),u=a("d7EF"),d=a.n(u),f=a("//Fk"),m=a.n(f),p=a("BO1k"),h=a.n(p),b=a("Dd8w"),v=a.n(b),g=(a("GKmE"),a("ysqt")),D=a("OG67"),y=a("r2cS"),_=a("G9gL"),w=a("3MlD"),j=a("NYxO"),x=a("bzuE"),$=a("lbHh"),k=a.n($),z="/apis/mdh/sbbg/detail",S="/apis/mdh/sbbg/edit",C={name:"sbbg-add",components:{btnInput:g.a,ChooseProjects:y.a,ChooseDevices:_.a,DialogChooseSingleUser:w.a,dialogChooseSingleParts:D.a},data:function(){return{userInfo:{},depOptions:[],selectDeptId:[],formData:{deviceModel:"",deviceUser:"",deviceSite:"",deviceDept:"",deviceName:"",deviceId:null,engineerId:null,cellphone:"",startTime:"",endTime:"",expireday:"",intervalTime:"",engineerName:"",name:"",type:""},start_datetime:{disabledDate:function(e){return e.getTime()<Date.now()}},end_datetime:{disabledDate:function(e){return e.getTime()<Date.now()}},ruleForm:{cjid:[{required:!0,message:"请选择车间",trigger:"change"}],xjsj:[{required:!0,message:"请选择下卷时间",trigger:"change"}],sjsj:[{required:!0,message:"请选择上卷时间",trigger:"blur"}],deviceName:[{required:!0,message:"请选择设备",trigger:"change"}],startTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择计划完成时间",trigger:"change"}],expireday:[{required:!0,message:"请填写提醒天数",trigger:"blur"}],intervalTime:[{required:!0,message:"请填写间隔天数",trigger:"blur"}],type:[{required:!0,message:"请选择保养级别",trigger:"change"}]},chooseMaterielVisible:!1,chooseDevicesVisible:!1,chooseUserVisible:!1,getUserList:[],levelList:[],tableData:[],deptList:[],chooseVisible:!1,projects:[],chooseProjects:[],choosePartsVisible:!1,parts:[],choosePartss:[],loading:!1,isDisabled:!1,config:x.a,currentChildIndex:0,cjList:[]}},mounted:function(){this.userInfo=JSON.parse(k.a.get("userInfo")),this.initialize(),this.$route.query.id&&(this.formData.id=this.$route.query.id,this.getDetail())},watch:{formData:{handler:function(e,t){""==e.deviceId&&(this.formData.deviceModel="",this.formData.deviceUser="",this.formData.deviceSite="",this.formData.deviceDept="",this.formData.deviceName=""),""==e.engineerId&&(this.formData.engineerName="",this.formData.cellphone="",this.formData.deptId="",this.selectDeptId=[])},deep:!0}},methods:v()({},Object(j.d)({removeTagNav:"tagNav/removeTagNav"}),(s={currentIndex:function(e){this.currentChildIndex=e},getPart:function(e){e?(e.convCoefficient&&this.formData.countSupport&&(this.formData.count=this.formData.countSupport*e.convCoefficient),this.$set(this.formData,"materielId",e.id),this.$set(this.formData,"materielName",e.name?e.name:""),this.$set(this.formData,"materielSerialNo",e.serialNo?e.serialNo:""),this.$set(this.formData,"specification",e.specification?e.specification:""),this.$set(this.formData,"unitUomName",e.unitUomName?e.unitUomName:""),this.formData.supportUomName=e.supportUomName?e.supportUomName:"",this.formData.supportUom=e.supportUom,this.formData.convCoefficient=e.convCoefficient):(this.$set(this.formData,"materielId",""),this.$set(this.formData,"materielName",""),this.$set(this.formData,"materielSerialNo",""),this.$set(this.formData,"specification",""),this.$set(this.formData,"unitUomName",""))},setTotal:function(e){return e.num&&e.salePrice?parseFloat(e.num)*parseFloat(e.salePrice):0},treeFindPath:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e)return[];var s=!0,i=!1,o=void 0;try{for(var r,n=h()(e);!(s=(r=n.next()).done);s=!0){var l=r.value;if(a.push(l.id),t(l))return a;if(l.children){var c=this.treeFindPath(l.children,t,a);if(c.length)return c}a.pop()}}catch(e){i=!0,o=e}finally{try{!s&&n.return&&n.return()}finally{if(i)throw o}}return[]},setDeptList:function(e){var t=!0,a=!1,s=void 0;try{for(var i,o=h()(e);!(t=(i=o.next()).done);t=!0){var r=i.value;r.hasChildren?this.setDeptList(r.children):r.children=void 0}}catch(e){a=!0,s=e}finally{try{!t&&o.return&&o.return()}finally{if(a)throw s}}},handleChange:function(e){this.formData.deptId=e.length>=1?e[e.length-1]:"",this.selectDeptId=e},getDevice:function(e){e&&(this.formData.deviceId=e.id,this.formData.deviceModel=e.model,this.formData.deviceUser=e.userName,this.formData.deviceSite=e.site,this.formData.deviceDept=e.deptName,this.formData.deviceName=e.name)},getUser:function(e){e&&(this.$set(this.formData.zbList[this.currentChildIndex],"czyid",e.id),this.$set(this.formData.zbList[this.currentChildIndex],"czy",e.name))},getProject:function(e){var t=this;e&&e.forEach(function(e){t.projects.push(e)})},removeProject:function(){var e=this;this.chooseProjects&&this.chooseProjects.forEach(function(t){var a=e.formData.zbList.findIndex(function(e){if(e.id==t.id)return!0});e.formData.zbList.splice(a,1)})},handleProjectChange:function(e){this.chooseProjects=e}},o()(s,"getPart",function(e){var t=this;e&&e.forEach(function(e){t.parts.push(e)})}),o()(s,"removePart",function(){var e=this;this.chooseParts&&this.chooseParts.forEach(function(t){var a=e.parts.findIndex(function(e){if(e.id==t.id)return!0});e.parts.splice(a,1)})}),o()(s,"handlePartChange",function(e){this.chooseParts=e}),o()(s,"initialize",function(){var e=this;m.a.all([this.$api.commonAPI.getUsers(),this.$api.commonAPI.getDeptsTree(),this.$api.dictAPI.getDictsByType("bz"),this.$api.dictAPI.getDictsByType("cj")]).then(function(t){var a=d()(t,4),s=a[0],i=a[1],o=a[2],r=a[3];0===s.code&&(e.getUserList=s.datas),0===i.code&&(e.depOptions=i.data.children,e.setDeptList(e.depOptions),e.setDefaultDept()),0===o.code&&(e.levelList=o.datas),0===r.code&&(e.cjList=r.datas)}).catch(function(e){console.log(e)})}),o()(s,"back",function(){this.removeTagNav({path:this.$route.path,title:this.$route.meta.name}),this.$router.push({path:"/basic/sbbg",query:{t:Date.now()}})}),o()(s,"getDetail",function(){var e=this;this.loading=!0,this.$api.yxkAPI.yxkGet(z,{id:this.formData.id}).then(function(t){0==t.code&&(e.formData=c()({},t.data)),e.loading=!1}).catch(function(t){e.loading=!1})}),o()(s,"setDefaultDept",function(){if(this.depOptions.length>0&&this.formData.selectDeptId){var e=n()(this.formData.selectDeptId),t=this.treeFindPath(this.depOptions,function(t){return t.id===e});this.selectDeptId=JSON.parse(n()(t))}}),o()(s,"tempSave",function(e){var t=this;this.isDisabled=!0,this.formData.zczt=0,this.formData.zt=2,this.$api.yxkAPI.yxkPost(S,this.formData).then(function(e){t.isDisabled=!1,0==e.code?(t.$message({message:e.msg,type:"success"}),t.back()):t.$message({message:e.msg,type:"error"})})}),o()(s,"save",function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;0!=t.formData.zbList.length?t.formData.zbList.some(function(e){return!(e.bz&&e.czy&&e.jlsj&&e.gzsc&&e.sbjz)})?t.$message({message:"请完善生箔报工的必填项",type:"error"}):(t.isDisabled=!0,t.formData.zczt=1,t.formData.zt=3,t.$api.yxkAPI.yxkPost(S,t.formData).then(function(e){t.isDisabled=!1,0==e.code?(t.$message({message:e.msg,type:"success"}),t.back()):t.$message({message:e.msg,type:"error"})})):t.$message({message:"请至少新增一条生箔报工记录",type:"error"})})}),s))},P={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sys-box plan-box"},[a("div",{staticClass:"sys-operate"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.back()}}},[e._v(e._s(e.config.cancelText))])],1),e._v(" "),a("div",{staticClass:"sys-form"},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"form",attrs:{"label-width":"120px",model:e.formData,disabled:"",rules:e.ruleForm}},[a("div",{staticClass:"flex"},[a("el-form-item",{staticClass:"form-inline",attrs:{label:"生箔卷号"}},[a("el-input",{attrs:{placeholder:"生箔卷号",disabled:""},model:{value:e.formData.jh,callback:function(t){e.$set(e.formData,"jh",t)},expression:"formData.jh"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"生产日期",prop:"scrq"}},[a("el-date-picker",{attrs:{format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",clearable:"",disabled:"",placeholder:"生产日期"},model:{value:e.formData.scrq,callback:function(t){e.$set(e.formData,"scrq",t)},expression:"formData.scrq"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"设备名称",prop:"sbmc"}},[[a("btn-input",{attrs:{valueText:e.formData.sbmc,valueId:e.formData.sbid,chooseVisible:e.chooseMaterielVisible,disableBtn:!1},on:{"update:valueText":function(t){return e.$set(e.formData,"sbmc",t)},"update:value-text":function(t){return e.$set(e.formData,"sbmc",t)},"update:valueId":function(t){return e.$set(e.formData,"sbid",t)},"update:value-id":function(t){return e.$set(e.formData,"sbid",t)},"update:chooseVisible":function(t){e.chooseMaterielVisible=t},"update:choose-visible":function(t){e.chooseMaterielVisible=t}}})]],2),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"物料编码",prop:"wlbm"}},[a("el-input",{attrs:{placeholder:"物料编码",disabled:""},model:{value:e.formData.wlbm,callback:function(t){e.$set(e.formData,"wlbm",t)},expression:"formData.wlbm"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"规格型号",prop:"ggxh"}},[a("el-input",{attrs:{placeholder:"请输入规格型号",disabled:""},model:{value:e.formData.ggxh,callback:function(t){e.$set(e.formData,"ggxh",t)},expression:"formData.ggxh"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"克重(g/m)",prop:"kz"}},[a("el-input",{attrs:{placeholder:"请输入",disabled:""},model:{value:e.formData.kz,callback:function(t){e.$set(e.formData,"kz",t)},expression:"formData.kz"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"上卷时间",prop:"sjsj"}},[a("el-date-picker",{attrs:{format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",clearable:"",placeholder:"上卷时间"},model:{value:e.formData.sjsj,callback:function(t){e.$set(e.formData,"sjsj",t)},expression:"formData.sjsj"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"下卷时间",prop:"xjsj"}},[a("el-date-picker",{attrs:{format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",clearable:"",placeholder:"下卷时间"},model:{value:e.formData.xjsj,callback:function(t){e.$set(e.formData,"xjsj",t)},expression:"formData.xjsj"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"废箔量",prop:"fbl"}},[a("el-input-number",{attrs:{placeholder:"废箔量",type:"number"},model:{value:e.formData.fbl,callback:function(t){e.$set(e.formData,"fbl",t)},expression:"formData.fbl"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"边料",prop:"bl"}},[a("el-input-number",{attrs:{placeholder:"边料",typre:"number"},model:{value:e.formData.bl,callback:function(t){e.$set(e.formData,"bl",t)},expression:"formData.bl"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"车间",prop:"cjid"}},[a("el-select",{attrs:{clearable:"",placeholder:"车间"},on:{change:function(t){e.formData.cj=e.cjList.filter(function(e){return e.id==t})[0].name}},model:{value:e.formData.cjid,callback:function(t){e.$set(e.formData,"cjid",t)},expression:"formData.cjid"}},e._l(e.cjList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"备注"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:4},placeholder:"请简要填写备注内容"},model:{value:e.formData.bz,callback:function(t){e.$set(e.formData,"bz",t)},expression:"formData.bz"}})],1),e._v(" "),a("el-form-item",{attrs:{required:""}},[a("div",{staticClass:"sys-operate"}),e._v(" "),a("el-table",{attrs:{data:e.formData.zbList,"header-cell-style":{fontWeight:"normal",textAlign:"center",backgroundColor:"#eceff4",color:"#222"},border:"","show-summary":""},on:{"selection-change":e.handleProjectChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"bb",width:"200",align:"center","show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v("班别/组号")]),e._v(" "),a("span",{staticStyle:{color:"red"}},[e._v("*")])]}},{key:"default",fn:function(t){return[a("el-select",{attrs:{clearable:"",placeholder:"请选择班别/组号"},on:{change:function(a){t.row.bb=e.levelList.filter(function(e){return e.id==a})[0].name}},model:{value:t.row.bbid,callback:function(a){e.$set(t.row,"bbid",a)},expression:"scope.row.bbid"}},e._l(e.levelList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"czy",width:"180",align:"center","show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v("操作员")]),e._v(" "),a("span",{staticStyle:{color:"red"}},[e._v("*")])]}},{key:"default",fn:function(t){return[a("btn-input",{attrs:{valueText:t.row.czy,valueId:t.row.czyid,chooseVisible:e.chooseUserVisible,index:t.$index},on:{"update:valueText":function(a){return e.$set(t.row,"czy",a)},"update:value-text":function(a){return e.$set(t.row,"czy",a)},"update:valueId":function(a){return e.$set(t.row,"czyid",a)},"update:value-id":function(a){return e.$set(t.row,"czyid",a)},"update:chooseVisible":function(t){e.chooseUserVisible=t},"update:choose-visible":function(t){e.chooseUserVisible=t},currentIndex:e.currentIndex}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"jlsj",width:"250",align:"center","show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v("记录时间")]),e._v(" "),a("span",{staticStyle:{color:"red"}},[e._v("*")])]}},{key:"default",fn:function(t){return[a("el-date-picker",{attrs:{format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",clearable:"",placeholder:"记录时间"},model:{value:t.row.jlsj,callback:function(a){e.$set(t.row,"jlsj",a)},expression:"scope.row.jlsj"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"pgjl",label:"抛光记录",align:"center",width:"200","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input-number",{attrs:{placeholder:"抛光记录"},model:{value:t.row.pgjl,callback:function(a){e.$set(t.row,"pgjl",a)},expression:"scope.row.pgjl"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"pgsj",label:"抛光时间(min)",align:"center",width:"200","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input-number",{attrs:{placeholder:"抛光时间(min)"},model:{value:t.row.pgsj,callback:function(a){e.$set(t.row,"pgsj",a)},expression:"scope.row.pgsj"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"gzsc",align:"center",width:"200","show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v("工作时长(h)")]),e._v(" "),a("span",{staticStyle:{color:"red"}},[e._v("*")])]}},{key:"default",fn:function(t){return[a("el-input-number",{attrs:{placeholder:"工作时长(h)"},model:{value:t.row.gzsc,callback:function(a){e.$set(t.row,"gzsc",a)},expression:"scope.row.gzsc"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"sbjz",width:"200",align:"center","show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v("生箔卷重")]),e._v(" "),a("span",{staticStyle:{color:"red"}},[e._v("*")])]}},{key:"default",fn:function(t){return[a("el-input-number",{attrs:{placeholder:"生箔卷重"},model:{value:t.row.sbjz,callback:function(a){e.$set(t.row,"sbjz",a)},expression:"scope.row.sbjz"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"tbzlwtjl",label:"铜箔质量问题记录",align:"center",width:"250","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{attrs:{placeholder:"铜箔质量问题记录"},model:{value:t.row.tbzlwtjl,callback:function(a){e.$set(t.row,"tbzlwtjl",a)},expression:"scope.row.tbzlwtjl"}})]}}])})],1)],1)],1)],1),e._v(" "),a("dialogChooseSingleParts",{attrs:{visible:e.chooseMaterielVisible},on:{"update:visible":function(t){e.chooseMaterielVisible=t},change:e.getPart}}),e._v(" "),a("ChooseProjects",{attrs:{visible:e.chooseVisible},on:{"update:visible":function(t){e.chooseVisible=t},change:e.getProject}}),e._v(" "),a("ChooseDevices",{attrs:{visible:e.chooseDevicesVisible,canUsed:"canUsed"},on:{"update:visible":function(t){e.chooseDevicesVisible=t},change:e.getDevice}}),e._v(" "),a("DialogChooseSingleUser",{attrs:{visible:e.chooseUserVisible},on:{"update:visible":function(t){e.chooseUserVisible=t},change:e.getUser}})],1)},staticRenderFns:[]};var I=a("VU/8")(C,P,!1,function(e){a("SY73"),a("DEYC")},"data-v-709758aa",null);t.default=I.exports}}); |