From 9b2c4250ece946f4f0faef2d54ab88ae260c1961 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 09 六月 2026 10:47:52 +0800
Subject: [PATCH] 富边电子 1.添加查询条件

---
 src/views/inventoryManagement/receiptManagement/Record.vue |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/Record.vue b/src/views/inventoryManagement/receiptManagement/Record.vue
index 3f90edf..146a73e 100644
--- a/src/views/inventoryManagement/receiptManagement/Record.vue
+++ b/src/views/inventoryManagement/receiptManagement/Record.vue
@@ -10,6 +10,11 @@
                         format="YYYY-MM-DD"
                         clearable
                         @change="handleQuery"/>
+        <span class="search_title ml10">閲囪喘鍗曞彿锛�</span>
+        <el-input v-model="searchForm.purchaseContractNumber"
+                  style="width: 240px"
+                  placeholder="璇疯緭鍏ラ噰璐崟鍙�"
+                  clearable/>
         <span class="search_title ml10">浜у搧澶х被锛�</span>
         <el-input v-model="searchForm.productName"
                   style="width: 240px"
@@ -30,15 +35,15 @@
                    style="margin-left: 10px">鎼滅储
         </el-button>
       </div>
-      <div>
-        <el-button @click="handleOut">瀵煎嚭</el-button>
-        <el-button type="danger"
-                   plain
-                   @click="handleDelete">鍒犻櫎
-        </el-button>
-      </div>
     </div>
     <div class="table_list">
+			<div style="text-align: right;margin-bottom: 10px">
+				<el-button @click="handleOut">瀵煎嚭</el-button>
+				<el-button type="danger"
+		               plain
+		               @click="handleDelete">鍒犻櫎
+				</el-button>
+			</div>
       <el-table :data="tableData"
                 border
                 v-loading="tableLoading"
@@ -57,6 +62,9 @@
         <el-table-column label="鍏ュ簱鎵规"
                          prop="inboundBatches"
                          width="280"
+                         show-overflow-tooltip/>
+        <el-table-column label="閲囪喘鍗曞彿"
+                         prop="purchaseContractNumber"
                          show-overflow-tooltip/>
         <el-table-column label="鍏ュ簱鏃堕棿"
                          prop="createTime"
@@ -138,6 +146,7 @@
     productName: "",
     timeStr: "",
     recordType: "",
+    purchaseContractNumber: "",
   },
 });
 const {searchForm} = toRefs(data);
@@ -164,6 +173,7 @@
   params.timeStr = searchForm.value.timeStr;
   params.productName = searchForm.value.productName;
   params.recordType = searchForm.value.recordType;
+  params.purchaseContractNumber = searchForm.value.purchaseContractNumber;
   getStockInRecordListPage(params)
       .then(res => {
         tableData.value = res.data.records;

--
Gitblit v1.9.3