|
|
@@ -75,6 +75,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="16">
|
|
|
+
|
|
|
<el-form-item label="可执行工序:" prop="taskNames">
|
|
|
<el-input :value="form.taskNames" placeholder="请选择"
|
|
|
@click.native="handleProduce"></el-input>
|
|
|
@@ -509,9 +510,10 @@ export default {
|
|
|
// }
|
|
|
}
|
|
|
this.form = Object.assign({}, this.form, res)
|
|
|
+
|
|
|
|
|
|
- if (res.taskInstanceList?.length) {
|
|
|
- this.form.taskNames = res.taskInstanceList.map(i => i.name)
|
|
|
+ if (res.taskList?.length) {
|
|
|
+ this.form.taskNames = res.taskList.map(i => i.name)
|
|
|
}
|
|
|
});
|
|
|
}
|