| | |
| | | style="width:100%" |
| | | v-model="dataForm.operationNo" |
| | | placeholder="工序编号" |
| | | :disabled="isUpdate" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | 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() |