|  |  |  | 
|---|
|  |  |  | useRecordContext, | 
|---|
|  |  |  | DeleteButton, | 
|---|
|  |  |  | } from "react-admin"; | 
|---|
|  |  |  | import { useWatch, useFormContext } from "react-hook-form"; | 
|---|
|  |  |  | import { Stack, Grid, Box, Typography } from "@mui/material"; | 
|---|
|  |  |  | import * as Common from "@/utils/common.js"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import { EDIT_MODE, REFERENCE_INPUT_PAGESIZE } from "@/config/setting.js"; | 
|---|
|  |  |  | import EditBaseAside from "../../components/EditBaseAside.jsx"; | 
|---|
|  |  |  | import CustomerTopToolBar from "../../components/EditTopToolBar.jsx"; | 
|---|
|  |  |  | import MemoInput from "../../components/MemoInput.jsx"; | 
|---|
|  |  |  | import StatusSelectInput from "../../components/StatusSelectInput.jsx"; | 
|---|
|  |  |  | import CustomerTopToolBar from "../../components/EditTopToolBar.jsx"; | 
|---|
|  |  |  | import EditBaseAside from "../../components/EditBaseAside.jsx"; | 
|---|
|  |  |  | import { Stack, Grid, Box, Typography } from "@mui/material"; | 
|---|
|  |  |  | import { useWatch, useFormContext } from "react-hook-form"; | 
|---|
|  |  |  | import MemoInput from "../../components/MemoInput.jsx"; | 
|---|
|  |  |  | import TransferItemList from "./TransferItemList.jsx"; | 
|---|
|  |  |  | import * as Common from "@/utils/common.js"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const FormToolbar = () => { | 
|---|
|  |  |  | const { getValues } = useFormContext(); | 
|---|
|  |  |  | 
|---|
|  |  |  | autoFocus | 
|---|
|  |  |  | readOnly | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <NumberInput label="table.field.transfer.type" source="type" readOnly/> | 
|---|
|  |  |  | <TextInput label="table.field.transfer.type" source="type$" readOnly/> | 
|---|
|  |  |  | <SelectInput | 
|---|
|  |  |  | label="table.field.transfer.source" | 
|---|
|  |  |  | source="source" | 
|---|
|  |  |  | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <SelectInput | 
|---|
|  |  |  | label="table.field.transfer.exceStatus" | 
|---|
|  |  |  | source="exceStatus" | 
|---|
|  |  |  | source="exceStatus$" | 
|---|
|  |  |  | readOnly | 
|---|
|  |  |  | choices={[ | 
|---|
|  |  |  | { id: 0, name: "未执行" }, | 
|---|