From 27c416bf9742574411401fb67203ee9669e57c8a Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 26 十一月 2025 14:20:02 +0800
Subject: [PATCH] fix: 绞线报工的盘具领用和芯线领用的厂家字段使用字典维护做下拉框

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

diff --git a/src/pages/production/list/index.vue b/src/pages/production/list/index.vue
index 79b8d0e..bd6f0e4 100644
--- a/src/pages/production/list/index.vue
+++ b/src/pages/production/list/index.vue
@@ -41,6 +41,8 @@
   amount: "amount",
   unAmount: "unAmount",
   unit: "unit",
+  poleModel: "poleModel",
+  contractNo: "contractNo",
 });
 const props = defineProps({
   api: {
@@ -51,7 +53,7 @@
     type: String,
     default: "",
   },
-  model: {
+  search: {
     type: String,
     default: "",
   },
@@ -80,8 +82,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 +101,8 @@
       map.totalAmount = "totalAmount";
       map.amount = "amount";
       map.unAmount = "unAmount";
+      map.poleModel = "poleModel";
+      map.contractNo = "contractNo";
     }
     if (data.data.total == 0) {
       pagingRef.value.complete(true);

--
Gitblit v1.9.3