| | |
| | | <el-button type="primary" :disabled="programOnMachine" plain @click="addApp">添加文件 |
| | | </el-button> |
| | | </div> |
| | | <el-text type="danger" v-if="row.variables.curedLocked === 'Y'">固化程序已锁定,请谨慎使用。锁定原因:{{ remark }}</el-text> |
| | | <el-text type="danger" v-if="row.processDefinitionKey === 'program-unlock'">程序已锁定,锁定原因:{{ remark }}</el-text> |
| | | <el-text type="danger" v-if="row.variables.curedLocked === 'Y'">固化程序已锁定,请谨慎使用。锁定原因:{{ remark }}<br/></el-text> |
| | | <el-text type="danger" v-if="row.processDefinitionKey === 'program-unlock'">程序已锁定,锁定原因:{{ remark }}<br/></el-text> |
| | | <el-text type="primary" v-if="row.processDefinitionKey === 'program-unlock'"><br/>解锁原因:</el-text> |
| | | <el-text type="warning">{{row.variables.unlockReason}}</el-text> |
| | | <el-text type="danger" v-if="row.variables.hasCuredProgram==='Y' && row.variables.isProcessEditionSame=='N' && row.variables.cureProgramUseable==undefined">已固化程序工序版次不一致,派工版次:{{row.variables.processEdition}},已固化版次:{{row.variables.curedProcessEdition}}</el-text> |
| | |
| | | }, |
| | | formSubmit(form, done) { |
| | | var form = { ...form }; |
| | | console.log('submit',form); |
| | | |
| | | if(this.attachForm.producePlanId){ |
| | | //手动指定了人员职责表id,不用继续从服务端验证 |
| | | this.startDispatch(form,done); |
| | |
| | | res => { |
| | | |
| | | if(res.data.code == 200){ |
| | | this.$message({ |
| | | type: 'success', |
| | | message: '操作成功!', |
| | | }); |
| | | |
| | | this.attachForm.producePlanId = res.data.data.id; |
| | | //this.drawingNoMatch = true; |