前端更新产羔记录

This commit is contained in:
zyk
2025-08-21 10:14:16 +08:00
parent 5f289eaadb
commit 138788e91f
2 changed files with 116 additions and 39 deletions

View File

@@ -17,6 +17,14 @@ export function getLambing_records(id) {
})
}
// 根据母羊耳号查询最新配种记录
export function getBreedingInfo(earNumber) {
return request({
url: '/breed/lambing_records/breeding_info/' + earNumber,
method: 'get'
})
}
// 新增产羔记录(包含羔羊信息)
export function addLambing_records(data) {
return request({