From 847696329faa795077d966845f37b88fbd3a2cdc Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期二, 21 五月 2024 16:33:28 +0800
Subject: [PATCH] 2023-5-21 selOutBatchNo接口 质量的过程检验,新增不触发接口,编辑或者查看才触发 与 追溯select切换只显示第一条数据问题

---
 src/views/product/producttraceability/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/product/producttraceability/index.vue b/src/views/product/producttraceability/index.vue
index a4b1dd2..437b369 100644
--- a/src/views/product/producttraceability/index.vue
+++ b/src/views/product/producttraceability/index.vue
@@ -10,6 +10,7 @@
                 :data="partList"
                 :formatter="labelFormatter"
                 :selectLoading="selectLoading"
+                ref="systemSelect"
                 :valueColumn="valueColumn"
                 @selectChange="queryBatchNoData"
                 @remoteSearch="queryPart"
@@ -343,7 +344,7 @@
             </div>
           </el-tab-pane> -->
           <el-tab-pane label="妫�娴嬩俊鎭�" name="妫�娴嬩俊鎭�">
-            <div style="margin-top:10px;">
+            <div style="margin-top:10px;height: 80vh;overflow-y: scroll;">
                 <div class="process" v-if="process">
                     <el-divider
                     class="pane-divider"
@@ -383,7 +384,7 @@
                         {{
                           scope.row.isQualified == 0
                             ? '涓嶅悎鏍�'
-                            : '鍚堟牸'
+                            : (scope.row.isQualified==1?'鍚堟牸':'')
                         }}
                       </template>
                     </el-table-column>
@@ -434,7 +435,7 @@
                         {{
                           scope.row.isQualified == 0
                             ? '涓嶅悎鏍�'
-                            : '鍚堟牸'
+                            : (scope.row.isQualified==1?'鍚堟牸':'')
                         }}
                       </template>
                     </el-table-column>
@@ -531,7 +532,7 @@
           </el-tab-pane>
           <el-tab-pane label="鐢熶骇璁板綍" name="鐢熶骇璁板綍">
             <div style="margin-top:10px;">
-              <div style="padding:0px 14px;height: 100%;overflow: auto;">
+              <div style="padding:0px 14px;height: 80vh !important;overflow: auto;">
                 <div class="product-record-div">
                   <div class="product-record-div-left">
                     <div class="product-record-list-header">
@@ -1305,7 +1306,7 @@
     },
     labelFormatter(ele) {
       let partLabel
-      const part = this.partList.find((item) => ele.systemNo === item.systemNo)
+      const part = this.partList.find((item) => ele.customerOrderId === item.customerOrderId)
       if (part !== undefined) {
         partLabel =
           '閿�鍞鍗曞彿锛�' +

--
Gitblit v1.9.3