From 6cd1cd09c6b13c071dc085e24f0980cc102b99a2 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期六, 02 八月 2025 15:33:31 +0800
Subject: [PATCH] 添加流转节点

---
 src/views/eam/maintenance/modules/EamThirdMaintenanceOrderModal.vue |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/views/eam/maintenance/modules/EamThirdMaintenanceOrderModal.vue b/src/views/eam/maintenance/modules/EamThirdMaintenanceOrderModal.vue
index 144ba61..75a9706 100644
--- a/src/views/eam/maintenance/modules/EamThirdMaintenanceOrderModal.vue
+++ b/src/views/eam/maintenance/modules/EamThirdMaintenanceOrderModal.vue
@@ -13,8 +13,8 @@
           <a-col :span="8">
             <a-form-model-item prop="equipmentId" label="缁熶竴缂栫爜">
               <maintenance-equipment-select placeholder="璇疯緭鍏ョ粺涓�缂栫爜鎴栧悕绉版悳绱�" v-model="model.equipmentId"
-                                            maintenanceCategory="THIRD_MAINTENANCE" @autocompleteForm="autocompleteForm"
-                                            :disabled="editable"/>
+                                            maintenanceCategory="THIRD_MAINTENANCE"
+                                            @autocompleteForm="autocompleteForm"/>
             </a-form-model-item>
           </a-col>
           <a-col :span="8">
@@ -27,7 +27,7 @@
         <a-row>
           <a-col :span="8">
             <a-form-model-item prop="maintenanceDate" label="淇濆吇鏃ユ湡">
-              <a-date-picker placeholder="璇烽�夋嫨璁″垝淇濆吇鏃ユ湡" v-model="model.maintenanceDate" format="YYYY-MM-DD"
+              <a-date-picker placeholder="璇烽�夋嫨璁″垝淇濆吇鏃ユ湡" v-model="model.maintenanceDate" value-format="YYYY-MM-DD"
                              style="width: 100%"/>
             </a-form-model-item>
           </a-col>
@@ -88,12 +88,8 @@
         confirmLoading: false,
         spinning: false,
         validatorRules: {
-          equipmentId: [
-            { required: true, message: '璇疯緭鍏ョ粺涓�缂栫爜鎴栧悕绉版悳绱�' }
-          ],
-          maintenanceDate: [
-            { required: true, message: '璇烽�夋嫨璁″垝淇濆吇鏃ユ湡!' }
-          ]
+          equipmentId: [{ required: true, message: '璇疯緭鍏ョ粺涓�缂栫爜鎴栧悕绉版悳绱�', trigger: 'change' }],
+          maintenanceDate: [{ required: true, message: '璇烽�夋嫨璁″垝淇濆吇鏃ユ湡', trigger: 'change' }]
         },
         url: {
           add: '/eam/thirdMaintenanceOrder/add',

--
Gitblit v1.9.3