|
|
@@ -224,17 +224,18 @@ export default {
|
|
|
clientEnvironmentId: null,
|
|
|
operateBtn: true,
|
|
|
cloneListNum: "",
|
|
|
- feedNeedEquipment: 1, ////投料是否要添加生产设备1是0否
|
|
|
+ feedNeedEquipment: null, ////投料是否要添加生产设备1是0否
|
|
|
};
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
+ console.log(options, "options");
|
|
|
this.title = options.taskName ? options.taskName + "-投料" : "投料";
|
|
|
let queryArray = decodeURIComponent(options.arr);
|
|
|
this.idsList = JSON.parse(queryArray);
|
|
|
this.taskId = options.taskId;
|
|
|
this.taskName = options.taskName;
|
|
|
this.type = options.type;
|
|
|
- this.feedNeedEquipment = options.feedNeedEquipment;
|
|
|
+ // this.feedNeedEquipment = options.feedNeedEquipment;
|
|
|
|
|
|
console.log(this.idsList, "onLoad");
|
|
|
|
|
|
@@ -514,6 +515,8 @@ export default {
|
|
|
});
|
|
|
|
|
|
this.cloneList = JSON.parse(JSON.stringify(this.List));
|
|
|
+ this.feedNeedEquipment =
|
|
|
+ this.List[0].currentTaskDiagram.feedNeedEquipment;
|
|
|
})
|
|
|
.finally(() => {
|
|
|
this.getCacheFn();
|