| | |
| | | <AutocompleteInput label="table.field.checkOrder.type" optionValue="value" /> |
| | | </ReferenceInput>, |
| | | <ReferenceInput source="wkType" reference="dictData" filter={{ dictTypeCode: 'sys_check_order_type' }} label="table.field.checkOrder.checkType" alwaysOn> |
| | | <AutocompleteInput label="table.field.checkOrder.checkType" optionValue="value" /> |
| | | <AutocompleteInput label="table.field.checkOrder.checkType" optionValue="value"/> |
| | | </ReferenceInput>, |
| | | <TextInput source="logisNo" label="table.field.checkOrder.logisNo" />, |
| | | <DateInput source="arrTime" label="table.field.checkOrder.arrTime" />, |
| | |
| | | <DictionarySelect |
| | | label='table.field.checkOrder.exceStatus' |
| | | name="exceStatus" |
| | | dictTypeCode="sys_asn_exce_status" |
| | | dictTypeCode="sys_check_exce_status" |
| | | alwaysOn |
| | | />, |
| | | ] |
| | |
| | | const notify = useNotify(); |
| | | const refresh = useRefresh(); |
| | | const cancelOrder = async () => { |
| | | const { data: { code, data, msg } } = await request.get(`/outStock/cancel/${record?.id}`); |
| | | const { data: { code, data, msg } } = await request.get(`/check/cancel/${record?.id}`); |
| | | if (code === 200) { |
| | | notify(msg); |
| | | refresh() |