|  |  |  | 
|---|
|  |  |  | }, [dictTypeCode]); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const http = async () => { | 
|---|
|  |  |  | const res = await request.post('/warehouseAreas/page', {}); | 
|---|
|  |  |  | const res = await request.post('/warehouseAreas/page', { current: 1, pageSize: 100 }); | 
|---|
|  |  |  | if (res?.data?.code === 200) { | 
|---|
|  |  |  | setList(res.data.data.records.map((item) => { | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | 
|---|
|  |  |  | const validValue = list.some(item => item.id === value) ? value : ''; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return ( | 
|---|
|  |  |  | <FormControl fullWidth> | 
|---|
|  |  |  | <FormControl required fullWidth> | 
|---|
|  |  |  | <InputLabel id="demo-select-small-label">{label}</InputLabel> | 
|---|
|  |  |  | <Select | 
|---|
|  |  |  | labelId="demo-select-small-label" | 
|---|