1 line
5.8 KiB
JavaScript
1 line
5.8 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[17],{"5c7a":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"",rules:[function(t){return t&&""!==t}],"option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",disable:t.disable,dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("R向")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,filled:"",rules:[function(t){return t&&t.length>0}],dense:""},model:{value:t.form.data.rdirection,callback:function(e){t.$set(t.form.data,"rdirection",e)},expression:"form.data.rdirection"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("OF宽度")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:t.disable,filled:"",dense:""},model:{value:t.form.data.ofWidth,callback:function(e){t.$set(t.form.data,"ofWidth",t._n(e))},expression:"form.data.ofWidth"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],o=a("dd67"),d=a("30d4"),r=a("2a19"),l=a("0418"),c=a("2691"),n={name:"pingbiandingxiang",components:{Header:l["a"],CommonBtngroup:o["default"],OpticsTitleCrad:d["default"],opticsTitle:c["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"},{name:"app:icon-jingbangtuihuo",title:"直径",value:"",bColor:"#55C169"}],form:{data:{deviceId:"",ofWidth:"",shift:"",rdirection:"",remarks:""}},shift:[{label:"白班",value:1},{label:"夜班",value:2}],processId:11,stepId:11,prodId:0,batchNumList:[],DeviceIdList:[],currentBatchNum:null,time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/
|