|  |  | 
 |  |  |  | 
 |  |  | const CheckOrderEdit = () => { | 
 |  |  |     const translate = useTranslate(); | 
 |  |  |     const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_order_type')) || []; | 
 |  |  |     const business = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_business_type')) || []; | 
 |  |  |     const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_order_type' && dict.group == 3)) || []; | 
 |  |  |     const business = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_check_order_type')) || []; | 
 |  |  |  | 
 |  |  |     return ( | 
 |  |  |         <> | 
 |  |  | 
 |  |  |                                     readOnly | 
 |  |  |                                     parse={v => v} | 
 |  |  |                                 /> | 
 |  |  |                                 <TextInput | 
 |  |  |                                     label="table.field.outStock.poCode" | 
 |  |  |                                     source="poCode" | 
 |  |  |                                     readOnly | 
 |  |  |                                     parse={v => v} | 
 |  |  |                                 /> | 
 |  |  |                                 <AutocompleteInput | 
 |  |  |                                     choices={dicts} | 
 |  |  |                                     optionText="label" | 
 |  |  | 
 |  |  |                                     parse={v => v} | 
 |  |  |                                 /> | 
 |  |  |                                 <TextInput | 
 |  |  |                                     label="table.field.outStock.qty" | 
 |  |  |                                     source="qty" | 
 |  |  |                                     label="table.field.outStock.workQty" | 
 |  |  |                                     source="workQty" | 
 |  |  |                                     readOnly | 
 |  |  |                                     parse={v => v} | 
 |  |  |                                 /> |