From a5e63e8c80490d1c8c0ad48556cb54dc056ec301 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 19 九月 2024 15:48:22 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/funcSta/FuncStaCreate.jsx | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/zy-acs-flow/src/page/funcSta/FuncStaCreate.jsx b/zy-acs-flow/src/page/funcSta/FuncStaCreate.jsx index ed4b8f9..b8e9ea2 100644 --- a/zy-acs-flow/src/page/funcSta/FuncStaCreate.jsx +++ b/zy-acs-flow/src/page/funcSta/FuncStaCreate.jsx @@ -124,9 +124,13 @@ /> </Grid> <Grid item xs={6} display="flex" gap={1}> - <TextInput - label="table.field.funcSta.type" + <SelectInput source="type" + label="table.field.funcSta.type" + choices={[ + { id: 'CHARGE', name: 'page.funcSta.enums.type.charge' }, + { id: 'STANDBY', name: 'page.funcSta.enums.type.standby' }, + ]} parse={v => v} /> </Grid> @@ -150,16 +154,19 @@ /> </Grid> <Grid item xs={6} display="flex" gap={1}> - <TextInput - label="table.field.funcSta.state" + <SelectInput source="state" + label="table.field.funcSta.state" + choices={[ + { id: 'IDLE', name: 'page.funcSta.enums.state.idle' }, + { id: 'OCCUPIED', name: 'page.funcSta.enums.state.occupied' }, + ]} parse={v => v} /> </Grid> - - <Grid item xs={6} display="flex" gap={1}> + {/* <Grid item xs={6} display="flex" gap={1}> <StatusSelectInput /> - </Grid> + </Grid> */} <Grid item xs={12} display="flex" gap={1}> <Stack direction="column" spacing={1} width={'100%'}> <MemoInput /> -- Gitblit v1.9.1