From fc94422b9c285eaf604db775dae38a1bc3570697 Mon Sep 17 00:00:00 2001 From: zyh <2066096076@qq.com> Date: Thu, 14 Aug 2025 15:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E5=B0=BA=E6=B5=8B=E9=87=8F=EF=BC=8C?= =?UTF-8?q?=E4=BD=93=E5=86=B5=E8=AF=84=E5=88=86=EF=BC=8C=E4=B9=B3=E6=88=BF?= =?UTF-8?q?=E8=AF=84=E5=88=86=E7=BC=BA=E5=A4=B1=E5=AD=97=E6=AE=B5=E7=9A=84?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=8C=E6=94=B9=E5=93=81=E7=A7=8D=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B1=95=E7=A4=BA=E5=8E=9F=E5=93=81=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/produce/bodyManage/body_measure.js | 7 + .../produce/bodyManage/body_measure/index.vue | 139 ++++++++++++++++-- .../produce/bodyManage/body_score/index.vue | 67 ++++++--- .../bodyManage/breast_rating/index.vue | 75 ++++++++-- .../manage_sheep/changeComment/index.vue | 10 +- .../produce/manage_sheep/changeEar/index.vue | 12 +- .../manage_sheep/changeVariety/index.vue | 10 +- .../manage_sheep/trans_group/index.vue | 3 - src/views/produce/other/castrate/index.vue | 25 ++-- src/views/produce/other/fixHoof/index.vue | 4 +- 10 files changed, 276 insertions(+), 76 deletions(-) diff --git a/src/api/produce/bodyManage/body_measure.js b/src/api/produce/bodyManage/body_measure.js index 66862eb..99226d2 100644 --- a/src/api/produce/bodyManage/body_measure.js +++ b/src/api/produce/bodyManage/body_measure.js @@ -42,3 +42,10 @@ export function delBody_measure(id) { method: 'delete' }) } +//获取羊只类别列表 +export function getSheepTypeList() { + return request({ + url: '/base/base/list', + method: 'get' + }) +} \ No newline at end of file diff --git a/src/views/produce/bodyManage/body_measure/index.vue b/src/views/produce/bodyManage/body_measure/index.vue index ebf88b3..bca09c7 100644 --- a/src/views/produce/bodyManage/body_measure/index.vue +++ b/src/views/produce/bodyManage/body_measure/index.vue @@ -8,6 +8,25 @@ + + + + + + + + + + + + + + + + + + @@ -43,6 +62,24 @@ + + + + + + + + + + + + + + @@ -53,6 +90,30 @@ + + + + + + + + + + + + + + + + @@ -84,7 +145,10 @@ - + + + @@ -149,10 +213,11 @@ diff --git a/src/views/produce/bodyManage/body_score/index.vue b/src/views/produce/bodyManage/body_score/index.vue index ea09165..3798777 100644 --- a/src/views/produce/bodyManage/body_score/index.vue +++ b/src/views/produce/bodyManage/body_score/index.vue @@ -8,6 +8,11 @@ + + + + + @@ -17,8 +22,8 @@ style="max-width: 150px;" /> - - + + 删除 @@ -58,27 +63,29 @@ - - + + + + - - + + - + - + @@ -133,8 +140,8 @@ diff --git a/src/views/produce/bodyManage/breast_rating/index.vue b/src/views/produce/bodyManage/breast_rating/index.vue index 28c141f..f10e00d 100644 --- a/src/views/produce/bodyManage/breast_rating/index.vue +++ b/src/views/produce/bodyManage/breast_rating/index.vue @@ -8,6 +8,20 @@ + + + + + + + + + + + + + @@ -23,10 +37,10 @@ 新增 - + 删除 @@ -42,25 +56,33 @@ - + + + + + + + - + - + - + @@ -80,6 +102,11 @@ + + + + @@ -117,7 +144,8 @@ diff --git a/src/views/produce/manage_sheep/changeComment/index.vue b/src/views/produce/manage_sheep/changeComment/index.vue index 775410f..b689ebe 100644 --- a/src/views/produce/manage_sheep/changeComment/index.vue +++ b/src/views/produce/manage_sheep/changeComment/index.vue @@ -36,10 +36,10 @@ 新增 - + 删除 @@ -66,8 +66,8 @@ @@ -90,7 +90,7 @@ - + \ No newline at end of file diff --git a/src/views/produce/other/fixHoof/index.vue b/src/views/produce/other/fixHoof/index.vue index 15b0e4b..40da417 100644 --- a/src/views/produce/other/fixHoof/index.vue +++ b/src/views/produce/other/fixHoof/index.vue @@ -219,9 +219,9 @@ async function loadSheepInfo() { form.value.tagDetails = tagDetails; if (validTags.length > 0) { - const firstValidTag = validTags[0]; 耳号 + const firstValidTag = validTags[0]; const firstSheepfoldId = tagDetails[firstValidTag].sheepfoldId; - form.value.sheepfold = firstSheepfoldId; + form.value.sheepfold = firstSheepfoldId; } }