撤销报废功能

This commit is contained in:
Vergil
2020-05-09 11:32:25 +08:00
parent 58e7a3b7cc
commit 4002a50dd0
2 changed files with 56 additions and 8 deletions

View File

@@ -55,3 +55,16 @@ export function editSpare(CutCode, number, id, Unqualified, remarkGroup, people,
}
})
}
export function reSpare(CutCode) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '报废补投_撤销报废_循环执行',
param: '工艺计划流水号组=' + CutCode
}
})
}