소스 검색

船舶档案-关联客户表单客户下拉框增加搜索

jingbb 5 달 전
부모
커밋
34cb3dfe72
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/baseCode/ShipArchive/BaseShipArchiveRelateCustomer.data.ts

+ 3 - 0
src/views/baseCode/ShipArchive/BaseShipArchiveRelateCustomer.data.ts

@@ -58,6 +58,9 @@ export const formSchema: FormSchema[] = [
       valueField: 'id',
       params:{},
       resultField:'records',
+      optionFilterProp:"label",
+      filterOption:true,
+      showSearch: true,
       getPopupContainer: (node) => document.body,
     },
     show: ({ values }) => {