From 38ac48eeebbf0f046cc75f280e782bc64783af97 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 15 十月 2024 18:17:04 +0800
Subject: [PATCH] 更改头部
---
admin/src/components/business/OperaCarUseBookWindow.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/admin/src/components/business/OperaCarUseBookWindow.vue b/admin/src/components/business/OperaCarUseBookWindow.vue
index 607212d..8321ae4 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' }]
}
}
},
@@ -241,16 +244,12 @@
},
agreeOpen () {
this.isShowProblem = true
- this.dealForm = {
- driveId: null,
- checkInfo: null
- }
+ this.$set(this.dealForm, 'checkInfo', '')
this.loadMemberList()
},
jectOpen () {
this.isBackProblem = true
- this.dealForm = {
- driveId: null,
+ this.backForm = {
checkInfo: null
}
},
@@ -263,7 +262,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()
@@ -372,6 +371,7 @@
}
.value {
+ flex: 1;
color: #111111;
}
}
--
Gitblit v1.9.3