模板保存

dev-scheduling
zhangdi 2 months ago
parent 8e35cbe11f
commit 1e246e9a70
  1. 29
      src/views/processManagement/components/processMainte/processPlanning.vue

@ -373,7 +373,6 @@
class="tableHeight"
style="width: 100%"
@selection-change="handleSelectionChange3"
>
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="trialNo" label="工序号">
@ -786,22 +785,41 @@ export default {
return {
id: null, // null
processNo: this.getProcessNo(this.form1.tableData1), //
ppsId: item.ppsId+'', // ppsId id
ppsId: item.ppsId + '', // ppsId id
processName: item.processName,
caId: item.caId+'',
caId: item.caId + '',
craftName: item.craftName,
proDes: item.proDes,
proHours: item.proHours || '',
setoutHours: item.setoutHours || '',
isMain: item.isMain || '0',
processProjectList: item.modelProjectList || [],
// ...
};
});
// 12
this.form1.tableData1 = [...existing, ...mappedData]; //
this.modelLevelLoading = false;
let query_ = {
dsPart: this.partInfoData, //
craft: this.treeNodes.rawData, //
processList: this.form1.tableData1, //
deleteIds: this.form1.deleteIds, //ids
};
authorizedAccomplish2(query_)
.then(res => {
this.$message.success('保存成功');
this.craftLoading = false;
this.getDetails();
})
.catch(err => {
this.craftLoading = false;
});
this.$message.success('模板导入成功');
// this.$message.success('');
});
},
//
@ -1438,6 +1456,9 @@ export default {
padding: 12px;
background: #e4e7ed;
}
// .el-tree{
// height: calc(100vh - 200px - 50px - 50px - 50px);
// }
}
:deep(.el-form-item) {
margin-bottom: 0px !important;

Loading…
Cancel
Save