diff --git a/src/api/produce/other/fixHoof/fixHoof.js b/src/api/produce/other/fixHoof/fixHoof.js
index 828746c..a189a91 100644
--- a/src/api/produce/other/fixHoof/fixHoof.js
+++ b/src/api/produce/other/fixHoof/fixHoof.js
@@ -48,3 +48,23 @@ export function exportFixHoof(query) {
responseType: 'blob' // 导出功能需要设置响应类型为blob
})
}
+
+
+// 按管理耳号查羊只
+export function checkSheepByManageTags(manageTags) {
+ return request({
+ url: '/sheep/sheep/byManageTags/' + encodeURIComponent(manageTags),
+ method: 'get'
+ })
+}
+
+//获取品种
+export function getVarietyOptions(query){
+ return request({
+ url:'/base/variety/list',
+ method:'get',
+ params:query
+ })
+}
+
+
diff --git a/src/views/produce/manage_sheep/add_sheep/index.vue b/src/views/produce/manage_sheep/add_sheep/index.vue
index dddd5f8..3a8846d 100644
--- a/src/views/produce/manage_sheep/add_sheep/index.vue
+++ b/src/views/produce/manage_sheep/add_sheep/index.vue
@@ -70,12 +70,7 @@
-
+
@@ -111,17 +106,8 @@
-
+
将文件拖到此处,或点击上传
@@ -133,12 +119,12 @@
+/* -------------------- 入口 -------------------- */
+onMounted(() => {
+ getVarietyOptions()
+ getList()
+})
+
\ 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 028e4ca..78729f5 100644
--- a/src/views/produce/other/fixHoof/index.vue
+++ b/src/views/produce/other/fixHoof/index.vue
@@ -2,8 +2,8 @@
-
-
+
+
@@ -19,12 +19,8 @@
-
+
@@ -37,19 +33,19 @@
新增
+ v-hasPermi="['fixHoof:fixHoof:add']">新增
修改
+ v-hasPermi="['fixHoof:fixHoof:edit']">修改
删除
+ v-hasPermi="['fixHoof:fixHoof:remove']">删除
导出
+ v-hasPermi="['fixHoof:fixHoof:export']">导出
@@ -57,7 +53,7 @@
-
+
@@ -71,24 +67,21 @@
修改
+ v-hasPermi="['fixHoof:fixHoof:edit']">修改
删除
+ v-hasPermi="['fixHoof:fixHoof:remove']">删除
-
+
-
-
+
+
@@ -118,9 +111,9 @@
\ No newline at end of file