Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
511bf879
Commit
511bf879
authored
May 07, 2022
by
神话
Browse files
给单据增加账户、状态和备注的筛选
parent
44b8ea46
Changes
21
Show whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/mixins/FinancialListMixin.js
View file @
511bf879
import
{
findBySelectSup
,
findBySelectCus
,
findBySelectOrgan
,
findBySelectRetail
,
getUserList
,
getPersonByType
}
from
'
@/api/api
'
import
{
findBySelectSup
,
findBySelectCus
,
findBySelectOrgan
,
findBySelectRetail
,
getUserList
,
getPersonByType
,
getAccount
}
from
'
@/api/api
'
export
const
FinancialListMixin
=
{
data
()
{
...
...
@@ -8,7 +8,8 @@ export const FinancialListMixin = {
organList
:
[],
retailList
:
[],
userList
:
[],
personList
:
[]
personList
:
[],
accountList
:
[]
}
},
computed
:
{
...
...
@@ -109,6 +110,14 @@ export const FinancialListMixin = {
}
})
},
initAccount
()
{
getAccount
({}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
let
list
=
res
.
data
.
accountList
this
.
accountList
=
list
}
})
},
onDateChange
:
function
(
value
,
dateString
)
{
this
.
queryParam
.
beginTime
=
dateString
[
0
];
this
.
queryParam
.
endTime
=
dateString
[
1
];
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
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