|
|
|
|
@ -535,6 +535,7 @@ import { |
|
|
|
|
getPartDetail, |
|
|
|
|
getProject, |
|
|
|
|
getStandardList, |
|
|
|
|
craftBatchRemoval |
|
|
|
|
} from '@/api/processManagement/taskProcessing'; |
|
|
|
|
import { getPqList } from '@/api/qualityManagement/remindRedeem/remindRedeem'; |
|
|
|
|
import { getDictionary } from '@/api/system/dict'; |
|
|
|
|
@ -964,7 +965,7 @@ export default { |
|
|
|
|
let deleteIds = node.childNodes.map(child => child.id); |
|
|
|
|
console.log('需要删除的子工序ID列表:', deleteIds); |
|
|
|
|
// 调用删除API(替换为你的实际API) |
|
|
|
|
await deleteCraft({ id: deleteIds.join(',') }).then(res => { |
|
|
|
|
await craftBatchRemoval({ id: deleteIds.join(',') }).then(res => { |
|
|
|
|
this.$message.success('删除成功'); |
|
|
|
|
this.getDetails(); |
|
|
|
|
}); |
|
|
|
|
|