From b8416f4c7ebf230a92e11c2ef39348fef7e162bd Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期二, 20 十月 2026 15:17:21 +0800
Subject: [PATCH] feat: 工序添加是否领料,用于后续生产订单领料

---
 src/views/productionManagement/productionProcess/index.vue |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/views/productionManagement/productionProcess/index.vue b/src/views/productionManagement/productionProcess/index.vue
index ee49657..1423eac 100644
--- a/src/views/productionManagement/productionProcess/index.vue
+++ b/src/views/productionManagement/productionProcess/index.vue
@@ -57,6 +57,11 @@
                         :type="process.isProduction ? 'warning' : 'info'">
                   {{ process.isProduction ? '鐢熶骇' : '涓嶇敓浜�' }}
                 </el-tag>
+                <el-tag size="small"
+                        style="margin-left: 8px"
+                        :type="process.isPick ? 'success' : 'info'">
+                  {{ process.isPick ? '棰嗘枡' : '涓嶉鏂�' }}
+                </el-tag>
                 <el-tag v-if="process.type !== null && process.type !== undefined"
                         size="small"
                         :type="process.type == 1 ? 'primary' : 'success'"
@@ -131,6 +136,11 @@
         <el-form-item label="鏄惁鐢熶骇"
                       prop="isProduction">
           <el-switch v-model="processForm.isProduction" />
+        </el-form-item>
+        <el-form-item label="鏄惁棰嗘枡"
+                      prop="isPick">
+          <el-switch v-model="processForm.isPick" />
+          <div class="form-tip">寮�鍚悗锛岃宸ュ簭娑堣�楃殑鐗╂枡鎵嶄細杩涘叆鐢熶骇璁㈠崟鐨勯鏂欏彴璐�</div>
         </el-form-item>
         <el-form-item label="璁¤垂绫诲瀷"
                       prop="type">
@@ -344,6 +354,7 @@
     salaryQuota: null,
     isQuality: false,
     isProduction: false,
+    isPick: false,
     remark: "",
     deviceLedgerId: null,
     type: 0,
@@ -555,6 +566,7 @@
     processForm.salaryQuota = null;
     processForm.isQuality = false;
     processForm.isProduction = false;
+    processForm.isPick = false;
     processForm.remark = "";
     processForm.deviceLedgerId = null;
     processForm.type = 0;
@@ -569,6 +581,7 @@
     processForm.salaryQuota = process.salaryQuota;
     processForm.isQuality = !!process.isQuality;
     processForm.isProduction = !!process.isProduction;
+    processForm.isPick = !!process.isPick;
     processForm.remark = process.remark || "";
     // 濡傛灉璁惧 ID 涓� 0 鎴栬�呭湪璁惧鍒楄〃涓壘涓嶅埌锛屽垯鍥炴樉涓虹┖锛坣ull锛�
     const deviceId = Number(process.deviceLedgerId);
@@ -805,6 +818,14 @@
     min-height: calc(100vh - 84px);
   }
 
+  .form-tip {
+    width: 100%;
+    margin-top: 4px;
+    font-size: 12px;
+    line-height: 18px;
+    color: #909399;
+  }
+
   .process-config-container {
     display: flex;
     gap: 20px;

--
Gitblit v1.9.3