From ac02e562a1dadfa2a0f7b8e6f2d0a066522d7d3b Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 11 六月 2026 14:52:06 +0800
Subject: [PATCH] refactor(workOrder): 重构工单管理页面为父子表格结构

---
 src/views/qualityManagement/rawMaterialInspection/index.vue |   43 ++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 40 insertions(+), 3 deletions(-)

diff --git a/src/views/qualityManagement/rawMaterialInspection/index.vue b/src/views/qualityManagement/rawMaterialInspection/index.vue
index f50ddb8..1e47496 100644
--- a/src/views/qualityManagement/rawMaterialInspection/index.vue
+++ b/src/views/qualityManagement/rawMaterialInspection/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="app-container">
-    <div class="search_form">
+    <div class="search_form mb20">
       <div>
         <span class="search_title">渚涘簲鍟嗭細</span>
         <el-input
@@ -14,6 +14,15 @@
         <span style="margin-left: 10px" class="search_title">妫�娴嬫棩鏈燂細</span>
         <el-date-picker v-model="searchForm.entryDate" value-format="YYYY-MM-DD" format="YYYY-MM-DD" type="daterange"
                         placeholder="璇烽�夋嫨" clearable @change="changeDaterange"/>
+        <span style="margin-left: 10px" class="search_title">閲囪喘璁㈠崟鍙凤細</span>
+        <el-input
+            v-model="searchForm.purchaseContractNo"
+            style="width: 240px"
+            placeholder="璇疯緭鍏ラ噰璐鍗曞彿鎼滅储"
+            @change="handleQuery"
+            clearable
+            :prefix-icon="Search"
+        />
         <el-button type="primary" @click="handleQuery" style="margin-left: 10px"
         >鎼滅储
         </el-button
@@ -83,6 +92,7 @@
   searchForm: {
     supplier: "",
     entryDate: undefined, // 褰曞叆鏃ユ湡
+    purchaseContractNo: "",
     entryDateStart: undefined,
     entryDateEnd: undefined,
   },
@@ -95,6 +105,11 @@
   {
     label: "妫�娴嬫棩鏈�",
     prop: "checkTime",
+    width: 120
+  },
+  {
+    label: "閲囪喘璁㈠崟鍙�",
+    prop: "purchaseContractNo",
     width: 120
   },
   {
@@ -119,8 +134,23 @@
     prop: "unit",
   },
   {
-    label: "鏁伴噺",
+    label: "鎬绘暟閲�",
     prop: "quantity",
+    width: 100
+  },
+  {
+    label: "鍚堟牸鏁伴噺",
+    prop: "qualifiedQuantity",
+    width: 100
+  },
+  {
+    label: "涓嶅悎鏍兼暟閲�",
+    prop: "unqualifiedQuantity",
+    width: 100
+  },
+  {
+    label: "妫�娴嬪崟浣�",
+    prop: "checkCompany",
     width: 120
   },
   {
@@ -138,7 +168,7 @@
       } else if (params === '鍚堟牸') {
         return "success";
       } else {
-        return null;
+        return 'danger';
       }
     },
   },
@@ -177,6 +207,13 @@
 				}
       },
       {
+        name: "鏌ョ湅",
+        type: "text",
+        clickFun: (row) => {
+          openForm("view", row);
+        },
+      },
+      {
         name: "闄勪欢",
         type: "text",
         clickFun: (row) => {

--
Gitblit v1.9.3