This commit is contained in:
2022-07-18 17:08:56 +08:00
parent 6f064aa378
commit d183f004d7
2 changed files with 29 additions and 4 deletions

View File

@@ -235,11 +235,15 @@ export default {
if (!form.device_bom_code) {
this.queryClassId()
} else {
this.getSubTypes(form.material_type_id)
const data = {}
data.id = form.material_type_id
data.goal_id = '1503644361789935616'
this.getSubTypes(data)
}
},
getSubTypes(id) {
crudClassstandard.getClassSuperior(id).then(res => {
debugger
crudClassstandard.getClassSuperior2(id).then(res => {
debugger
const date = res.content
this.buildClass(date)