| | |
| | | style="width:100%" |
| | | v-model="dataForm.operationNo" |
| | | placeholder="工序编号" |
| | | :disabled="isUpdate" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <ParamTemplateDialog |
| | | :currshowlist.sync="showOperationTemplate" |
| | | @handleSelectionParamTemplateChange="selectOperationTemplate" |
| | | :paramTemplateObj="templateDefaultObj" |
| | | /> |
| | | <StepDialog |
| | | :currshowlist.sync="showStep" |
| | |
| | | typeOptions: [], |
| | | ids: [], |
| | | showOperationTemplate: false, |
| | | templateDefaultObj: { dataType: '生产记录' }, |
| | | showStep: false, |
| | | isInsertStep: false, |
| | | stepIndex: null, |
| | |
| | | workCenterOptions: [], |
| | | runTimeCodeDbOptions: [], |
| | | laborClassNoOptions: [], |
| | | outsideOpItemOptions: [] |
| | | outsideOpItemOptions: [], |
| | | isUpdate:false |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | init() { |
| | | // this.operationId = this.dataForm.id |
| | | // this.fetchCapabilityForOperation() |
| | | |
| | | if (this.dataForm.id) { |
| | | getObj(this.dataForm.id).then((response) => { |
| | | this.dataForm = response.data.data |
| | |
| | | |
| | | created() { |
| | | this.dataForm.id = this.$route.params.id |
| | | if(this.dataForm.id){ |
| | | this.isUpdate=true |
| | | } |
| | | this.init() |
| | | this.initPartFamilySelect() |
| | | this.getParamType() |