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
83d4a589
authored
Jul 12, 2023
by
peii
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat: 查询单据时默认只查询最新1个月
parent
6da86323
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
app/containers/historicalOrder/module/FilterModel.js
app/containers/historicalOrder/module/FilterModel.js
View file @
83d4a589
...
...
@@ -88,7 +88,7 @@ class FilterModel extends Component {
ship_to_site_code
:
''
,
// 收货地点
doctor_name
:
''
,
// 主治医生
// surgery_type_code: '', // 手术类型 -- 不用此参数
surgery_date_from
:
''
,
// 手术时间开始
surgery_date_from
:
moment
(
new
Date
()).
subtract
(
1
,
'month'
).
format
(
'YYYY-MM-DD'
)
,
// 手术时间开始
surgery_date_to
:
''
,
// 手术时间结束
order_type_code
:
''
,
// 订单类型
department_code
:
''
,
// 部门
...
...
@@ -101,7 +101,7 @@ class FilterModel extends Component {
customer_code
:
''
,
// 客户名称
patient_name
:
''
,
// 患者姓名
patient_id
:
''
,
// 病历号
consume_date_from
:
''
,
// 消耗时间开始
consume_date_from
:
moment
(
new
Date
()).
subtract
(
1
,
'month'
).
format
(
'YYYY-MM-DD'
)
,
// 消耗时间开始
consume_date_to
:
''
,
// 消耗时间结束
patient_bed
:
''
,
// 床位
hospitalization_number
:
''
,
// 住院号
...
...
@@ -179,7 +179,7 @@ class FilterModel extends Component {
id
:
'8'
,
title
:
'手术时间'
,
name
:
'开始时间'
,
value
:
''
,
value
:
moment
(
new
Date
()).
subtract
(
1
,
'month'
).
format
(
'YYYY-MM-DD'
),
// 手术时间开始
,
dateValue
:
new
Date
(),
},
{
...
...
@@ -245,7 +245,7 @@ class FilterModel extends Component {
id
:
'6'
,
title
:
'消耗时间'
,
name
:
'开始时间'
,
value
:
''
,
value
:
moment
(
new
Date
()).
subtract
(
1
,
'month'
).
format
(
'YYYY-MM-DD'
),
// 手术时间开始
'',
dateValue
:
new
Date
(),
},
{
...
...
@@ -1647,7 +1647,7 @@ class FilterModel extends Component {
tempSubOption
.
doctor_name
=
borrowListOptionData
[
6
].
value
}
// tempSubOption.surgery_type_code = borrowListOptionData[7].value
tempSubOption
.
surgery_date_from
=
borrowListOptionData
[
8
].
value
tempSubOption
.
surgery_date_from
=
borrowListOptionData
[
8
].
value
||
moment
(
new
Date
()).
subtract
(
1
,
'month'
).
format
(
'YYYY-MM-DD'
)
tempSubOption
.
surgery_date_to
=
borrowListOptionData
[
9
].
value
tempSubOption
.
order_type_code
=
borrowListOptionData
[
10
].
value
tempSubOption
.
department_code
=
borrowListOptionData
[
11
].
value
...
...
@@ -1669,7 +1669,7 @@ class FilterModel extends Component {
tempSubOption
.
customer_code
=
consumeListOptionData
[
3
].
value
tempSubOption
.
patient_name
=
consumeListOptionData
[
4
].
value
tempSubOption
.
patient_id
=
consumeListOptionData
[
5
].
value
tempSubOption
.
consume_date_from
=
consumeListOptionData
[
6
].
value
tempSubOption
.
consume_date_from
=
consumeListOptionData
[
6
].
value
||
moment
(
new
Date
()).
subtract
(
1
,
'month'
).
format
(
'YYYY-MM-DD'
)
tempSubOption
.
consume_date_to
=
consumeListOptionData
[
7
].
value
tempSubOption
.
patient_bed
=
consumeListOptionData
[
8
].
value
tempSubOption
.
hospitalization_number
=
consumeListOptionData
[
9
].
value
...
...
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