From 20dbdee5a002544f6a4e12b5e39e338052418782 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 26 十二月 2025 10:36:27 +0800
Subject: [PATCH] fix: 完成成品单丝报工逻辑

---
 src/pages/production/list/index.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/pages/production/list/index.vue b/src/pages/production/list/index.vue
index 79b8d0e..c24f894 100644
--- a/src/pages/production/list/index.vue
+++ b/src/pages/production/list/index.vue
@@ -41,6 +41,10 @@
   amount: "amount",
   unAmount: "unAmount",
   unit: "unit",
+  poleModel: "poleModel",
+  contractNo: "contractNo",
+  isMonofil: "isMonofil",
+  totalWeight: "totalWeight",
 });
 const props = defineProps({
   api: {
@@ -51,7 +55,7 @@
     type: String,
     default: "",
   },
-  model: {
+  search: {
     type: String,
     default: "",
   },
@@ -80,8 +84,8 @@
     current: pageNo,
     size: pageSize,
   };
-  if (props.model) {
-    params.model = props.model;
+  if (props.search) {
+    params.search = props.search;
   }
   const { code, data } = await props.api(params);
   if (code == 200) {
@@ -99,6 +103,10 @@
       map.totalAmount = "totalAmount";
       map.amount = "amount";
       map.unAmount = "unAmount";
+      map.poleModel = "poleModel";
+      map.contractNo = "contractNo";
+      map.isMonofil = "isMonofil";
+      map.totalWeight = "totalWeight";
     }
     if (data.data.total == 0) {
       pagingRef.value.complete(true);

--
Gitblit v1.9.3