| | |
| | | })); |
| | | |
| | | /** |
| | | * 入库/出库历史单列表共用骨架,仅 type 与标题由外部传入。 |
| | | * 入库历史单:typeFilter="in", listTitle="menu.asnOrderLog" |
| | | * 出库历史单:typeFilter="out", listTitle="menu.outStockOrderLog" |
| | | * 后端接口均为 asnOrderLog(出库由 dataProvider 映射),参数 filter.type 不同。 |
| | | */ |
| | | export default function AsnOrderLogListBase({ typeFilter, listTitle }) { |
| | | const [createDialog, setCreateDialog] = useState(false); |
| | |
| | | <NumberField source="poId" label="table.field.asnOrderLog.poId" /> |
| | | <TextField source="type$" label="table.field.asnOrderLog.type" /> |
| | | <TextField source="wkType$" label="table.field.asnOrderLog.wkType" /> |
| | | <NumberField source="anfme" label="table.field.asnOrderLog.anfme" /> |
| | | <NumberField source="qty" label="table.field.asnOrderLog.qty" /> |
| | | <NumberField source="anfme" label="table.field.asnOrderLog.anfme" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} /> |
| | | <NumberField source="qty" label="table.field.asnOrderLog.qty" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} /> |
| | | <TextField source="logisNo" label="table.field.asnOrderLog.logisNo" /> |
| | | <DateField source="arrTime" label="table.field.asnOrderLog.arrTime" showTime /> |
| | | <TextField source="rleStatus$" label="table.field.asnOrderLog.rleStatus" sortable={false} /> |