From 0ca44dcd97ec5e2530959eafd516bfed696d0e62 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 07 五月 2026 11:59:24 +0800
Subject: [PATCH] 重构客户档案

---
 src/views/productionManagement/productionProcess/index.vue |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/src/views/productionManagement/productionProcess/index.vue b/src/views/productionManagement/productionProcess/index.vue
index ae1732f..b759276 100644
--- a/src/views/productionManagement/productionProcess/index.vue
+++ b/src/views/productionManagement/productionProcess/index.vue
@@ -52,6 +52,11 @@
                         :type="process.isQuality ? 'warning' : 'info'">
                   {{ process.isQuality ? '璐ㄦ' : '闈炶川妫�' }}
                 </el-tag>
+                <el-tag size="small"
+                        style="margin-left: 8px"
+                        :type="process.isProduction ? 'warning' : 'info'">
+                  {{ process.isProduction ? '鐢熶骇' : '涓嶇敓浜�' }}
+                </el-tag>
                 <el-tag v-if="process.type !== null && process.type !== undefined"
                         size="small"
                         :type="process.type == 1 ? 'primary' : 'success'"
@@ -123,6 +128,10 @@
                       prop="isQuality">
           <el-switch v-model="processForm.isQuality" />
         </el-form-item>
+        <el-form-item label="鏄惁鐢熶骇"
+                      prop="isProduction">
+          <el-switch v-model="processForm.isProduction" />
+        </el-form-item>
         <el-form-item label="璁¤垂绫诲瀷"
                       prop="type">
           <el-radio-group v-model="processForm.type">
@@ -153,9 +162,8 @@
       </el-form>
       <template #footer>
         <span class="dialog-footer">
+          <el-button type="primary" @click="handleProcessSubmit">纭畾</el-button>
           <el-button @click="processDialogVisible = false">鍙栨秷</el-button>
-          <el-button type="primary"
-                     @click="handleProcessSubmit">纭畾</el-button>
         </span>
       </template>
     </el-dialog>
@@ -243,10 +251,8 @@
       </div>
       <template #footer>
         <span class="dialog-footer">
+          <el-button type="primary" :disabled="!selectedParam" @click="handleParamSubmit">纭畾</el-button>
           <el-button @click="paramDialogVisible = false">鍙栨秷</el-button>
-          <el-button type="primary"
-                     :disabled="!selectedParam"
-                     @click="handleParamSubmit">纭畾</el-button>
         </span>
       </template>
     </el-dialog>
@@ -321,6 +327,7 @@
     name: "",
     salaryQuota: null,
     isQuality: false,
+    isProduction: false,
     remark: "",
     deviceLedgerId: null,
     type: 0,
@@ -513,6 +520,7 @@
     processForm.name = "";
     processForm.salaryQuota = null;
     processForm.isQuality = false;
+    processForm.isProduction = false;
     processForm.remark = "";
     processForm.deviceLedgerId = null;
     processForm.type = 0;
@@ -526,6 +534,7 @@
     processForm.name = process.name;
     processForm.salaryQuota = process.salaryQuota;
     processForm.isQuality = !!process.isQuality;
+    processForm.isProduction = !!process.isProduction;
     processForm.remark = process.remark || "";
     processForm.deviceLedgerId = Number(process.deviceLedgerId);
     processForm.type = process.type;

--
Gitblit v1.9.3