Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b0c8fb55
authored
Nov 04, 2022
by
peii
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
【DEMAND】混单消耗修改部分必填
parent
84708222
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
src/pages/mix_consume/form.tsx
src/pages/mix_consume/form.tsx
View file @
b0c8fb55
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment