feat(xumu): 新增免疫登记功能

- 添加免疫登记管理页面登记的新增、编辑和删除功能
- 集成耳标和相关组件
- 实现免疫号选择器组件
- 优化称重管理功能,修复相关问题
This commit is contained in:
aixianling
2024-12-27 12:12:02 +08:00
parent ab9ec446c7
commit 19a9486f48
7 changed files with 450 additions and 2 deletions

View File

@@ -61,7 +61,8 @@ export default {
},
submit() {
this.$refs.detail.validate().then(() => {
this.instance.post("/api/breed/weight/addOrEdit", this.detail).then(res => {
this.form.biochipEarNumber = this.detail.biochipEarNumber
this.instance.post("/api/breed/weight/addOrEdit", this.form).then(res => {
if (res?.code == 0) {
this.dialog = false
this.getDetail()