From 377c0a70c094d024aeb0bb94f4b791c6d5530c1e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 06 八月 2026 10:21:55 +0800
Subject: [PATCH] 新疆_马铃薯 1.不合格管理添加拒收逻辑

---
 src/views/qualityManagement/processInspection/index.vue |   29 +++++++++++++++++++++++++++--
 1 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/src/views/qualityManagement/processInspection/index.vue b/src/views/qualityManagement/processInspection/index.vue
index a4f6add..68f4cb4 100644
--- a/src/views/qualityManagement/processInspection/index.vue
+++ b/src/views/qualityManagement/processInspection/index.vue
@@ -11,6 +11,14 @@
                         placeholder="璇烽�夋嫨"
                         clearable
                         @change="changeDaterange" />
+        <span style="margin-left: 10px"
+              class="search_title">妫�楠屽憳锛�</span>
+        <el-input v-model="searchForm.checkName"
+                  style="width: 240px"
+                  placeholder="璇疯緭鍏ユ楠屽憳鎼滅储"
+                  @change="handleQuery"
+                  clearable
+                  :prefix-icon="Search" />
         <el-button type="primary"
                    @click="handleQuery"
                    style="margin-left: 10px">鎼滅储</el-button>
@@ -21,7 +29,7 @@
       <el-button type="primary" @click="openQuickCheck">蹇�熸楠�</el-button>
       <el-button type="primary" @click="openForm('add')">鏂板</el-button>
       <el-button @click="handleOut">瀵煎嚭</el-button>
-      <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+      <el-button type="danger" plain @click="handleDelete" v-hasPermi="['qualityManagement:processInspection:remove']">鍒犻櫎</el-button>
     </div>
       <PIMTable rowKey="id"
                 :column="tableColumn"
@@ -53,7 +61,7 @@
                ref="formRef">
         <el-form-item label="妫�楠屽憳锛�"
                       prop="checkName">
-          <el-select v-model="form.checkName"
+          <el-select filterable v-model="form.checkName"
                      placeholder="璇烽�夋嫨"
                      clearable>
             <el-option v-for="item in userList"
@@ -138,6 +146,7 @@
     searchForm: {
       entryDate: undefined, // 褰曞叆鏃ユ湡
       workOrderNo: "",
+      checkName: "",
       entryDateStart: undefined,
       entryDateEnd: undefined,
     },
@@ -237,6 +246,22 @@
       },
     },
     {
+      label: "妫�楠岃鍒�",
+      prop: "inspectRule",
+      width: 100,
+      formatData: (val) => val === 0 ? "鍏ㄦ" : val === 1 ? "鎶芥" : ""
+    },
+    {
+      label: "鎶芥姣斾緥(%)",
+      prop: "sampleRatio",
+      width: 120,
+    },
+    {
+      label: "鎶芥鏁伴噺",
+      prop: "sampleQuantity",
+      width: 100,
+    },
+    {
       dataType: "action",
       label: "鎿嶄綔",
       align: "center",

--
Gitblit v1.9.3