2023-08-24 10:57:49 +08:00
|
|
|
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6931],{6931:function(e,t,r){r.r(t),r.d(t,{default:function(){return L}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-box"},[t("search-bar",{ref:"searchBarForm",staticClass:"searchStyle",attrs:{formConfigs:e.formConfig,isFold:!0},on:{headBtnClick:e.buttonClick}},[t("div",{staticStyle:{display:"inline-block"}},[t("el-upload",{staticStyle:{display:"inline-block"},attrs:{data:e.dataObj,name:"excel","on-success":e.importFile,"on-error":e.importFileError,action:e.uploadApi,"show-file-list":!1,headers:{token:e.token}}},[t("el-button",{attrs:{type:"primary",size:"small",plain:""}},[e._v("导入")])],1)],1)]),t("base-table",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}},[e.tableBtn.length?t("method-btn",{attrs:{slot:"handleBtn",width:165,label:"操作",fixed:"right","method-list":e.tableBtn},on:{clickBtn:e.handleClick},slot:"handleBtn"}):e._e()],1),t("pagination",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,total:e.total},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:function(t){return e.getList()}}}),t("base-dialog",{attrs:{dialogTitle:e.addOrEditTitle,dialogVisible:e.centervisible,"before-close":e.handleCancel},on:{cancel:e.handleCancel,confirm:e.handleConfirm}},[t("work-order-add",{ref:"workOrderAdd",on:{successSubmit:e.successSubmit}})],1)],1)},o=[],l=r(475),i=function(){var e=this,t=e._self._c;return t("el-form",{ref:"form",attrs:{rules:e.rules,"label-width":"110px",model:e.form}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产线",prop:"productionLineId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:e.form.productionLineId,callback:function(t){e.$set(e.form,"productionLineId",t)},expression:"form.productionLineId"}},e._l(e.productionLineList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单编号",prop:"code"}},[t("el-input",{attrs:{placeholder:"工单编号"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单类型",prop:"type"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"工单类型"},on:{change:e.selectType},model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.orderTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"复磨面",prop:"regrind"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面",disabled:e.isDisabled},model:{value:e.form.regrind,callback:function(t){e.$set(e.form,"regrind",t)},expression:"form.regrind"}},e._l(e.regrindList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划类型",prop:"planType"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"计划类型"},model:{value:e.form.planType,callback:function(t){e.$set(e.form,"planType",t)},expression:"form.planType"}},e._l(e.planTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划数量",prop:"planNum"}},[t("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"计划数量",min:1,max:999999999999,precision:0},model:{value:e.form.planNum,callback:function(t){e.$set(e.form,"planNum",t)},expression:"form.planNum"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:
|