From 1fd3521d3492c9cfa6c953efde0232d4ea1995d2 Mon Sep 17 00:00:00 2001
From: zyh <2066096076@qq.com>
Date: Tue, 19 Aug 2025 18:00:27 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=BE=A4=E5=8A=9F=E8=83=BD=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../manage_sheep/trans_group/index.vue | 78 +++++++++----------
1 file changed, 39 insertions(+), 39 deletions(-)
diff --git a/src/views/produce/manage_sheep/trans_group/index.vue b/src/views/produce/manage_sheep/trans_group/index.vue
index 0589400..d6e517d 100644
--- a/src/views/produce/manage_sheep/trans_group/index.vue
+++ b/src/views/produce/manage_sheep/trans_group/index.vue
@@ -38,11 +38,11 @@
-
+
搜索
重置
@@ -85,20 +85,20 @@
-
+
-
审批
-
+ -->
删除
@@ -178,7 +178,7 @@
-
+
@@ -240,9 +240,9 @@ const title = ref('');
const daterangeTransDate = ref([]);
const daterangeCreateTime = ref([]);
const eventTypeOptions = trans_group_event_type || [];
-const approveDialog = ref(false);
-const approveForm = ref({});
-const displayManageTags = ref('');
+// const approveDialog = ref(false);
+// const approveForm = ref({});
+// const displayManageTags = ref('');
const sheepOptions = ref([]);
const sheepfoldOptions = ref([]);
const sheepfoldNameMap = ref({});
@@ -699,38 +699,38 @@ function handleExport() {
}
// 审核
-function handleApprove(row) {
- approveForm.value = { ...row };
- approveDialog.value = true;
- displayManageTags.value = row.manageTags;
-}
+//function handleApprove(row) {
+// approveForm.value = { ...row };
+// approveDialog.value = true;
+// displayManageTags.value = row.manageTags;
+// }
// 审批同意
-function handleApproveAgree() {
- if (typeof approveForm.value.foldTo !== 'number') {
- approveForm.value.foldTo = Number(approveForm.value.foldTo);
- }
+// function handleApproveAgree() {
+// if (typeof approveForm.value.foldTo !== 'number') {
+// approveForm.value.foldTo = Number(approveForm.value.foldTo);
+// }
- approveForm.value.status = 1;
- approveScTransGroup(approveForm.value).then(() => {
- approveDialog.value = false;
- proxy.$modal.msgSuccess('审批通过,羊只所在羊舍已更新');
- getList();
- }).catch(error => {
- proxy.$modal.msgError(`审批失败:${error.message}`);
- });
-}
+// approveForm.value.status = 1;
+// approveScTransGroup(approveForm.value).then(() => {
+// approveDialog.value = false;
+// proxy.$modal.msgSuccess('审批通过,羊只所在羊舍已更新');
+// getList();
+// }).catch(error => {
+// proxy.$modal.msgError(`审批失败:${error.message}`);
+// });
+// }
-function handleApproveReject() {
- approveForm.value.status = 2;
- approveScTransGroup(approveForm.value).then(() => {
- approveDialog.value = false;
- proxy.$modal.msgSuccess('审批已驳回');
- getList();
- }).catch(error => {
- proxy.$modal.msgError(`审批失败:${error.message}`);
- });
-}
+// function handleApproveReject() {
+// approveForm.value.status = 2;
+// approveScTransGroup(approveForm.value).then(() => {
+// approveDialog.value = false;
+// proxy.$modal.msgSuccess('审批已驳回');
+// getList();
+// }).catch(error => {
+// proxy.$modal.msgError(`审批失败:${error.message}`);
+// });
+// }
//加载羊舍数据
function loadSheepfold() {