瀏覽代碼

fix:修复bug

chenjj 1 月之前
父節點
當前提交
5c60e5eba1
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 3 2
      src/views/staff/volunteer/manage/index.vue
  2. 3 2
      src/views/staff/volunteer/price/index.vue

+ 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 },
+
 
         },
         {