src/views/laboratory/ledger/index.vue
@@ -979,12 +979,15 @@ fatherName: null, sonName: null } if (_that.addTreeForm.type != null && _that.addTreeForm.type[0] != 0) { data.fatherName = _that.addTreeForm.type[0] data.fatherName = _that.addTreeFormClassTree.filter(item => { return item.value == _that.addTreeForm.type[0] })[0].label data.sonName = _that.addTreeForm.name } else { data.fatherName = _that.addTreeForm.name } } // return; let add = await addClassify(data); switch (add.message.split('-$')[0]) { case '1':