Commit b0c8fb55 by peii

【DEMAND】混单消耗修改部分必填

parent 84708222
Showing with 3 additions and 6 deletions
......@@ -100,9 +100,7 @@ class ConsumeForm extends Component<IProps, IState> {
dateMode: 'datetime',
options: [],
placeholder: '请选择',
rules: [{ required: true, message: '请选择消耗时间' }],
},
{
field: 'doctor_name',
label: '医生姓名',
......@@ -132,7 +130,7 @@ class ConsumeForm extends Component<IProps, IState> {
},
],
placeholder: '请选择',
rules: [{ required: true, message: '请选择性别' }],
// rules: [{ required: true, message: '请选择性别' }],
},
{
field: 'patient_age',
......@@ -140,7 +138,6 @@ class ConsumeForm extends Component<IProps, IState> {
type: FieldType.TEXT,
placeholder: '请输入年龄',
rules: [
{ required: true, message: '请输入年龄' },
{ pattern: /\d{1,3}/, message: '请输入正确的年龄' },
],
},
......@@ -149,14 +146,14 @@ class ConsumeForm extends Component<IProps, IState> {
label: '床位',
type: FieldType.TEXT,
placeholder: '请输入床位',
rules: [{ required: true, message: '请输入床位' }],
// rules: [{ required: true, message: '请输入床位' }],
},
{
field: 'patient_id',
label: '病历号',
type: FieldType.TEXT,
placeholder: '请输入病历号',
rules: [{ required: true, message: '请输入病历' }],
// rules: [{ required: true, message: '请输入病历' }],
},
{
field: 'remark',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment