1 line
6.8 KiB
JavaScript
1 line
6.8 KiB
JavaScript
|
webpackJsonp([323],{"90z3":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("woOf"),o=a.n(l),i=a("Dd8w"),r=a.n(i),n=a("bzuE"),s=a("NYxO"),m={components:{},data:function(){return{formDetail:{},formData:{},id:"",hitchList:[],deviceStatusList:[],tableData:[],initFilePaths:[],dialogVisible:!1,dialogImageUrl:"",repairRecordImage:[],loading:!1,tableList:[],type:null,config:n.a}},mounted:function(){this.id=this.$route.query.id,this.getDetail()},methods:r()({},Object(s.d)({removeTagNav:"tagNav/removeTagNav"}),{getDetail:function(){var e=this;this.loading=!0,this.$api.planManagementAPI.productionFeedingDetail({id:this.id}).then(function(t){0===t.code&&(e.formDetail=o()({},e.formDetail,t.feedingHeadInfo),e.formDetail.createTime=e.formDetail.createTime.substr(0,10),e.tableList=t.feedingBodyInfo),e.loading=!1}).catch(function(t){e.loading=!1})},back:function(){this.removeTagNav({path:this.$route.path,title:this.$route.meta.name}),this.$router.push({path:"/outsourcing/outsourcing_feeding_index"})}})},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sys-box repair-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"}],attrs:{"label-width":"120px",model:e.formDetail}},[a("div",{staticClass:"flex"},[a("el-form-item",{staticClass:"form-inline",attrs:{label:"委外合同号"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.contractCode,callback:function(t){e.$set(e.formDetail,"contractCode",t)},expression:"formDetail.contractCode"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"委外投料单号"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.feedingNo,callback:function(t){e.$set(e.formDetail,"feedingNo",t)},expression:"formDetail.feedingNo"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"单据日期"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.createTime,callback:function(t){e.$set(e.formDetail,"createTime",t)},expression:"formDetail.createTime"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"产品代码"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.materialSerialNo,callback:function(t){e.$set(e.formDetail,"materialSerialNo",t)},expression:"formDetail.materialSerialNo"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"产品名称"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.materialName,callback:function(t){e.$set(e.formDetail,"materialName",t)},expression:"formDetail.materialName"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"规格型号"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.specification,callback:function(t){e.$set(e.formDetail,"specification",t)},expression:"formDetail.specification"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"主计量单位"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.unitUomName,callback:function(t){e.$set(e.formDetail,"unitUomName",t)},expression:"formDetail.unitUomName"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"供应商"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.supplierName,callback:function(t){e.$set(e.formDetail,"supplierName",t)},expression:"formDetail.supplierName"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"主单位数量"}},[a("el-input",{attrs:{placeholder:"",readonly:""},model:{value:e.formDetail.planCount,callback:function(t){e.$set(e.formDetail,"planCount",t)},expression:"formDetail.planCount"}})],1),e._v(" "),a("el-form-item",{staticClass:"form-inline",attrs:{label:"是否
|