Quellcode durchsuchen

fix:修复bug

chenjj vor 1 Monat
Ursprung
Commit
5c60e5eba1

+ 3 - 2
src/views/staff/volunteer/manage/index.vue

@@ -42,7 +42,8 @@ const listPageData = reactive({
             isSearch: true,
             tableProp: 'projectName',
             options: options,
-            props: { label: 'businessName', value: 'id' }
+            props: { label: 'businessName', value: 'id', checkStrictly:true },
+
 
         },
         {
@@ -169,7 +170,7 @@ const dialogData = reactive({
             type: 'cascader',
             isSearch: true,
             options: options,
-            props: { label: 'businessName', value: 'id' },
+            props: { label: 'businessName', value: 'id', checkStrictly:true },
 
         },
         {

+ 3 - 2
src/views/staff/volunteer/price/index.vue

@@ -8,7 +8,7 @@
                 <el-form ref="dialogFormsRef" :model="form" :rules="rules" label-width="80px">
                     <el-form-item label="服务项目" prop="businessManagementId">
                         <el-cascader v-model="form.businessManagementId" :options="options" style="width: 100%;"
-                            :props="{ label: 'businessName', value: 'id' }" />
+                            :props="{ label: 'businessName', value: 'id',checkStrictly:true }" />
                     </el-form-item>
                     <el-form-item label="服务时间" prop="businessDuration">
                         <el-input v-model="form.businessDuration" placeholder="请输入服务时间" >
@@ -49,7 +49,8 @@ const listPageData = reactive({
             isSearch: true,
             tableProp:'projectName',
             options:options,
-            props:{ label: 'businessName', value: 'id' }
+            props: { label: 'businessName', value: 'id', checkStrictly:true },
+
 
         },
         {