From 8e95706c67eed1424b2654eaab232307cb12df2d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 05 七月 2024 18:32:44 +0800
Subject: [PATCH] ‘’

---
 admin/src/components/business/OperaCarUseBookWindow.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/admin/src/components/business/OperaCarUseBookWindow.vue b/admin/src/components/business/OperaCarUseBookWindow.vue
index 607212d..6af1e03 100644
--- a/admin/src/components/business/OperaCarUseBookWindow.vue
+++ b/admin/src/components/business/OperaCarUseBookWindow.vue
@@ -122,9 +122,9 @@
         :visible.sync="isShowProblem"
         width="480px"
     >
-      <el-form :model="dealForm" ref="dealForm" >
+      <el-form :model="dealForm" :rules="rules" ref="dealForm" >
         <!-- <el-form-item label="娲捐溅鍙告満" prop="driverId" required v-if="model.approveDateVO!=null && model.approveDateVO.driverParam === 1"> -->
-        <el-form-item label="娲捐溅鍙告満" prop="driverId" required v-if="model.approveDateVO!=null && model.approveDateVO.driverParam == 1">
+        <el-form-item label="娲捐溅鍙告満" prop="driverId" v-if="model.approveDateVO!=null && model.approveDateVO.driverParam == 1">
           <el-select v-model="dealForm.driverId" style="width: 300px"  filterable clearable placeholder="璇烽�夋嫨娲鹃仯鍙告満">
             <el-option
                 v-for="item in memberList"
@@ -200,6 +200,9 @@
       },
       backForm: {
         checkInfo: null
+      },
+      rules: {
+        driverId: [{ required: true, message: '璇烽�夋嫨娲鹃仯鍙告満', trigger: 'blur' }]
       }
     }
   },
@@ -263,7 +266,7 @@
           objId: this.dataId,
           objType: this.model.type == 1 ? 4 : 3,
           status: 3,
-          checkInfo: this.dealForm.checkInfo
+          checkInfo: this.backForm.checkInfo
         }).then(res => {
           this.$tip.apiSuccess('閫�鍥炴垚鍔�')
           this.getDetail()

--
Gitblit v1.9.3