Ver Fonte

bug修改

祁鹏飞 há 1 mês atrás
pai
commit
d244c143e6

+ 1 - 2
src/views/quoteConfig/dispatch/components/rule.vue

@@ -443,8 +443,7 @@ const getOptions = (conditionValue: string) => {
     (item) => item.attrCode === conditionValue
   );
   let arr = target?.dictLabal || []
-  if (conditionValue === 'InsruanceProduct') arr = arr.map(v => ({ ...v, idStr: v.code }))
-  return target?.dictLabal || [];
+  return arr;
 };
 
 // 工具函数:根据条件类型获取输入组件类型

+ 1 - 1
src/views/quoteConfig/dispatch/index.vue

@@ -98,7 +98,7 @@
                             : row.attrDesc ?? "无"
                         }}
                       </template>
-                      <template v-else-if="['select','radio','inputNumber'].includes(row.attrType)">
+                      <template v-else-if="['select','radio','inputNumber','checkbox'].includes(row.attrType)">
                         {{
                           row.minName ?? "无"
                         }}