|
|
@@ -425,7 +425,7 @@
|
|
|
assetName: '', //设备名称
|
|
|
meterMeasuringUnit: '', // 节拍计量单位
|
|
|
workCenterId: null, //所属工作中心
|
|
|
- produceId: null, //可执行工序
|
|
|
+ // produceId: null, //可执行工序
|
|
|
type: null,
|
|
|
teamId: null
|
|
|
},
|
|
|
@@ -669,8 +669,7 @@
|
|
|
pageNum: 1,
|
|
|
size: 999,
|
|
|
type: 1,
|
|
|
- enable:1
|
|
|
-
|
|
|
+ enable: 1
|
|
|
});
|
|
|
this.factoryList = list || [];
|
|
|
},
|
|
|
@@ -814,8 +813,7 @@
|
|
|
type: 2,
|
|
|
parentId: this.form.extInfo.factoryId,
|
|
|
size: 9999,
|
|
|
- enable:1
|
|
|
-
|
|
|
+ enable: 1
|
|
|
};
|
|
|
getFactoryarea(par).then((res) => {
|
|
|
this.workshopPlanList = res.list;
|
|
|
@@ -849,7 +847,7 @@
|
|
|
change_productionLineId() {},
|
|
|
// 请求详情
|
|
|
getData(id) {
|
|
|
- return getById(id).then((res) => {
|
|
|
+ return getById(id).then((res) => {
|
|
|
if (
|
|
|
res.workstationSubstanceList &&
|
|
|
res.workstationSubstanceList.length > 0
|
|
|
@@ -862,15 +860,13 @@
|
|
|
// }
|
|
|
}
|
|
|
this.form = Object.assign({}, this.form, res);
|
|
|
- if(this.form?.extInfo?.teamId){
|
|
|
-
|
|
|
- this.userListFn(this.form.extInfo.teamId)
|
|
|
+ if (this.form?.extInfo?.teamId) {
|
|
|
+ this.userListFn(this.form.extInfo.teamId);
|
|
|
}
|
|
|
|
|
|
if (res.taskList?.length) {
|
|
|
this.form.taskNames = res.taskList.map((i) => i.name);
|
|
|
}
|
|
|
-
|
|
|
});
|
|
|
}
|
|
|
}
|