From 2191bf2bdf90ba7d3c7f65cb7107fb872b6f51bc Mon Sep 17 00:00:00 2001 From: huang <1724659546@qq.com> Date: Thu, 23 Oct 2025 15:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=88=86=E9=85=8D=E7=8C=AA?= =?UTF-8?q?=E5=8F=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AllocatePigsDialog.vue | 80 ++++++++++++++++++++++++ src/components/PigBatchList.vue | 42 ++++++++++--- src/components/PigBatchPenCard.vue | 10 +-- src/views/pms/PigBatchManagementView.vue | 1 + 4 files changed, 120 insertions(+), 13 deletions(-) create mode 100644 src/components/AllocatePigsDialog.vue diff --git a/src/components/AllocatePigsDialog.vue b/src/components/AllocatePigsDialog.vue new file mode 100644 index 00000000..d6829b3c --- /dev/null +++ b/src/components/AllocatePigsDialog.vue @@ -0,0 +1,80 @@ + + + diff --git a/src/components/PigBatchList.vue b/src/components/PigBatchList.vue index c023a469..21808496 100644 --- a/src/components/PigBatchList.vue +++ b/src/components/PigBatchList.vue @@ -39,7 +39,7 @@ :key="pen.id" :pen="pen" :isBatchActive="batch.is_active" - @modify-pig-count="emitModifyPigCountPen" + @allocate-pigs="showAllocatePigsDialog($event, batch)" @remove="emitRemovePen" /> @@ -66,18 +66,29 @@ + + +