@ -696,7 +696,9 @@ export default {
.flat()
.join(''),
};
if (this.updateRow.id) {
promodel.id = this.updateRow.id;
}
// 2. 处理工序表格数据(清理临时字段)
const tableData = this.ruleForm.tableData.map(item => {
const { _tempId, ...rest } = item; // 移除临时ID
@ -711,7 +713,7 @@ export default {
// 修改
if (!this.moldAddMore) {
update(query)
update()
.then(res => {
this.formLoading = false;
this.$message({