From d2e867966539004b6b5a73ae3566a659ac6f8b6d Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 30 十月 2025 11:55:34 +0800
Subject: [PATCH] 检验任务数据分类查询问题修复

---
 src/views/business/inspectionReview/index.vue |   36 +++++++++++++++++++++++++++---------
 1 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/src/views/business/inspectionReview/index.vue b/src/views/business/inspectionReview/index.vue
index 98861dd..2bce1d0 100644
--- a/src/views/business/inspectionReview/index.vue
+++ b/src/views/business/inspectionReview/index.vue
@@ -2,6 +2,11 @@
   <div class="app-container">
     <div>
       <el-form :model="entity" ref="entity" size="small" :inline="true">
+        <el-form-item label="鎵瑰彿" prop="updateBatchNo">
+          <el-input v-model="entity.updateBatchNo" clearable placeholder="璇疯緭鍏�" size="small"
+                    @keyup.enter.native="refreshTable()">
+          </el-input>
+        </el-form-item>
         <el-form-item label="濮旀墭缂栧彿" prop="entrustCode">
           <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="entity.entrustCode"
             @keyup.enter.native="refreshTable()"></el-input>
@@ -12,8 +17,8 @@
           </el-select>
         </el-form-item>
         <el-form-item>
-          <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button>
-          <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button>
+          <el-button type="primary" size="mini" @click="refreshTable">鏌ヨ</el-button>
+          <el-button size="mini" @click="refresh">閲嶇疆</el-button>
         </el-form-item>
       </el-form>
       <div class="page_total">
@@ -82,6 +87,11 @@
       tableData: [],
       column: [
         {
+          label: "鎵瑰彿",
+          prop: "updateBatchNo",
+          width: "120px",
+        },
+        {
           label: "濮旀墭缂栧彿",
           prop: "entrustCode",
           width: "160px",
@@ -96,9 +106,11 @@
           dataType: "tag",
           formatData: (params) => {
             if (params == 0) {
-              return "鎴愬搧涓嬪崟";
-            } else {
+              return "澶栬喘涓嬪崟";
+            } else if(params==1) {
               return "鍘熸潗鏂欎笅鍗�";
+            }else{
+              return "濮旀墭涓嬪崟";
             }
           },
         },
@@ -236,7 +248,8 @@
       currentTime: null,
       sonLaboratoryList: [],
       typeSourceList: [
-        { label: '鎴愬搧涓嬪崟', value: 0 },
+        { label: '濮旀墭涓嬪崟', value: -1 },
+        { label: '澶栬喘涓嬪崟', value: 0 },
         { label: '鍘熸潗鏂欎笅鍗�', value: 1 },
       ],
       isCopper: null,
@@ -315,7 +328,7 @@
         case 0:
           // 鍘熸潗鏂�
           this.$router.push({
-            path: "/materialOrder/customsInspection", query: {
+            path: "/materialOrder/customsInspectionView", query: {
               customsInspection: row,
               active: this.activeFace,
               currentId: this.currentId,
@@ -326,7 +339,7 @@
         case null:
           // 鎴愬搧
           this.$router.push({
-            path: "/productOrder/add", query: {
+            path: "/productOrder/addView", query: {
               examine: this.examine,
               active: this.activeFace,
               currentId: this.currentId
@@ -336,7 +349,7 @@
         case 1:
           // 閾滄潗
           this.$router.push({
-            path: "/materialOrder/copperOrder", query: {
+            path: "/materialOrder/CopperView", query: {
               active: this.activeFace,
               currentId: this.currentId
             }
@@ -384,7 +397,6 @@
     // 鏌ョ湅鎶ュ憡
     handleIssued(row) {
       // todo: 鏌ョ湅鎶ュ憡缁勪欢
-      console.log(this.javaApi)
       this.currentInfo = row;
       let fileName = row.url
       let fileType = "docx"
@@ -425,5 +437,11 @@
 <style scoped>
 .page_total {
   margin-bottom: 10px;
+  display: flex;
+}
+.page_total span:last-child {
+  color: #3a7bfa;
+  font-size: 23px;
+  font-weight: 400;
 }
 </style>

--
Gitblit v1.9.3