From 6d4e2e28287d66e749b8f7fc51a478640f0f8291 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 16 四月 2026 14:34:13 +0800
Subject: [PATCH] fix: 是否入库、是否报工字段修改

---
 src/views/productionManagement/processRoute/processRouteItem/index.vue |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/src/views/productionManagement/processRoute/processRouteItem/index.vue b/src/views/productionManagement/processRoute/processRouteItem/index.vue
index 3aecfa0..aca3550 100644
--- a/src/views/productionManagement/processRoute/processRouteItem/index.vue
+++ b/src/views/productionManagement/processRoute/processRouteItem/index.vue
@@ -87,6 +87,16 @@
           {{scope.row.isQuality ? "鏄�" : "鍚�"}}
         </template>
       </el-table-column>
+      <el-table-column label="鏄惁鍏ュ簱" prop="inbound" width="100">
+        <template #default="scope">
+          {{ scope.row.inbound ? "鏄�" : "鍚�" }}
+        </template>
+      </el-table-column>
+      <el-table-column label="鏄惁鎶ュ伐" prop="reportWork" width="100">
+        <template #default="scope">
+          {{ scope.row.reportWork ? "鏄�" : "鍚�" }}
+        </template>
+      </el-table-column>
       <el-table-column label="鎿嶄綔" align="center" fixed="right" width="150">
         <template #default="scope">
           <el-button type="primary" link size="small" @click="handleEdit(scope.row)" :disabled="scope.row.isComplete">缂栬緫</el-button>
@@ -136,6 +146,10 @@
                 <!-- <span v-if="item.unit" class="product-unit">{{ item.unit }}</span> -->
               </div>
               <el-tag type="primary" class="product-tag" v-if="item.isQuality">璐ㄦ</el-tag>
+              <div class="product-flags">
+                <span>鍏ュ簱锛歿{ item.inbound ? "鏄�" : "鍚�" }}</span>
+                <span>鎶ュ伐锛歿{ item.reportWork ? "鏄�" : "鍚�" }}</span>
+              </div>
             </div>
             <div v-else class="product-info empty">鏆傛棤浜у搧淇℃伅</div>
           </div>
@@ -202,8 +216,8 @@
       </el-form>
 
       <template #footer>
-        <el-button @click="closeDialog">鍙栨秷</el-button>
         <el-button type="primary" @click="handleSubmit" :loading="submitLoading">纭畾</el-button>
+        <el-button @click="closeDialog">鍙栨秷</el-button>
       </template>
     </el-dialog>
 
@@ -753,6 +767,15 @@
   margin: 10px 0;
 }
 
+.product-flags {
+  margin-top: 8px;
+  display: flex;
+  justify-content: center;
+  gap: 12px;
+  color: #606266;
+  font-size: 12px;
+}
+
 .card-footer {
   display: flex;
   justify-content: space-around;

--
Gitblit v1.9.3