diff --git a/src/api/embryo/flush.js b/src/api/embryo/flush.js index 1c24cfc..6f07eb4 100644 --- a/src/api/embryo/flush.js +++ b/src/api/embryo/flush.js @@ -58,4 +58,30 @@ export function getDonorFemaleList() { url: '/embryo/flush/donorFemaleList', method: 'get' }) +} + +// 获取供体公羊下拉列表 +export function getDonorMaleList() { + return request({ + url: '/embryo/flush/donorMaleList', + method: 'get' + }) +} + +// 根据耳号获取基础信息 +export function getSheepInfo(manageTag) { + return request({ + url: '/embryo/flush/getSheepInfo', + method: 'get', + params: { manageTag } + }) +} + +// 计算胚胎品种 +export function calculateEmbryoVariety(maleVariety, femaleVariety) { + return request({ + url: '/embryo/flush/calculateVariety', + method: 'get', + params: { maleVariety, femaleVariety } + }) } \ No newline at end of file diff --git a/src/views/Weaning/weaning_record/index.vue b/src/views/Weaning/weaning_record/index.vue index 4270740..3b51aef 100644 --- a/src/views/Weaning/weaning_record/index.vue +++ b/src/views/Weaning/weaning_record/index.vue @@ -1,8 +1,9 @@