"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[5067],{84040:function(a,e,t){t.r(e),t.d(e,{default:function(){return P}});var s=t(66252);const d=a=>((0,s.dD)("data-v-4136a15d"),a=a(),(0,s.Cn)(),a),l={class:"processBox"},n={class:"boxViewCenter"},o=d((()=>(0,s._)("div",{class:"title"},"锯路配置",-1))),u={class:"boxItme"},i=d((()=>(0,s._)("span",{class:"name"},"锯片厚度",-1))),c={class:"boxViewCenter"},r=d((()=>(0,s._)("div",{class:"title"},"加工误差值配置",-1))),p={class:"boxItme"},m=d((()=>(0,s._)("span",{class:"name"},"加工误差值",-1))),_=(0,s.Uk)("±");function f(a,e,t,d,f,h){const v=(0,s.up)("el-input"),w=(0,s.up)("el-divider"),P=(0,s.up)("el-icon"),C=(0,s.up)("el-main");return(0,s.wg)(),(0,s.j4)(C,null,{default:(0,s.w5)((()=>[(0,s._)("div",l,[(0,s._)("div",n,[o,(0,s._)("div",u,[i,(0,s.Wm)(v,{"input-style":"width:300px",modelValue:f.productParams.saw_line,"onUpdate:modelValue":e[0]||(e[0]=a=>f.productParams.saw_line=a),onChange:h.setProduct,placeholder:"厚度"},null,8,["modelValue","onChange"])])]),(0,s.Wm)(w),(0,s._)("div",c,[r,(0,s._)("div",p,[m,(0,s.Wm)(v,{"input-style":"width:280px",modelValue:f.productParams.diff_value,"onUpdate:modelValue":e[1]||(e[1]=a=>f.productParams.diff_value=a),onChange:h.setProduct,placeholder:"差值"},{prefix:(0,s.w5)((()=>[(0,s.Wm)(P,{class:"el-input__icon"},{default:(0,s.w5)((()=>[_])),_:1})])),_:1},8,["modelValue","onChange"])])])])])),_:1})}var h={name:"machin",data(){return{productParams:{saw_line:"",diff_value:"",id:""}}},mounted(){this.getProduct()},methods:{async getProduct(){const a=await this.$API.system.product.get.post();200==a.code&&(this.productParams={saw_line:a.data.saw_line,diff_value:a.data.diff_value,id:a.data.id})},async setProduct(){const a=await this.$API.system.product.add.post(this.productParams);a.code}}},v=t(83744);const w=(0,v.Z)(h,[["render",f],["__scopeId","data-v-4136a15d"]]);var P=w}}]);