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
82297eb2
Commit
82297eb2
authored
Dec 05, 2021
by
季圣华
Browse files
优化收入和支出单的查询条件
parent
2c395b39
Changes
3
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/ItemInList.vue
View file @
82297eb2
...
...
@@ -27,9 +27,9 @@
</a-col>
<template
v-if=
"toggleSearchStatus"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"
客户
"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-select
placeholder=
"选择
客户
"
showSearch
optionFilterProp=
"children"
v-model=
"queryParam.organId"
>
<a-select-option
v-for=
"(item,index) in
cus
List"
:key=
"index"
:value=
"item.id"
>
<a-form-item
label=
"
往来单位
"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-select
placeholder=
"选择
往来单位
"
showSearch
optionFilterProp=
"children"
v-model=
"queryParam.organId"
>
<a-select-option
v-for=
"(item,index) in
organ
List"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
...
...
@@ -184,7 +184,7 @@
computed
:
{
},
created
()
{
this
.
init
Customer
()
this
.
init
Organ
()
this
.
initUser
()
this
.
initPerson
()
},
...
...
jshERP-web/src/views/financial/ItemOutList.vue
View file @
82297eb2
...
...
@@ -27,9 +27,9 @@
</a-col>
<template
v-if=
"toggleSearchStatus"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"
供应商
"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-select
placeholder=
"选择
供应商
"
showSearch
optionFilterProp=
"children"
v-model=
"queryParam.organId"
>
<a-select-option
v-for=
"(item,index) in
sup
List"
:key=
"index"
:value=
"item.id"
>
<a-form-item
label=
"
往来单位
"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-select
placeholder=
"选择
往来单位
"
showSearch
optionFilterProp=
"children"
v-model=
"queryParam.organId"
>
<a-select-option
v-for=
"(item,index) in
organ
List"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
...
...
@@ -184,7 +184,7 @@
computed
:
{
},
created
()
{
this
.
init
Supplier
()
this
.
init
Organ
()
this
.
initUser
()
this
.
initPerson
()
},
...
...
jshERP-web/src/views/financial/mixins/FinancialListMixin.js
View file @
82297eb2
import
{
findBySelectSup
,
findBySelectCus
,
findBySelectRetail
,
getUserList
,
getPersonByType
}
from
'
@/api/api
'
import
{
findBySelectSup
,
findBySelectCus
,
findBySelectOrgan
,
findBySelectRetail
,
getUserList
,
getPersonByType
}
from
'
@/api/api
'
export
const
FinancialListMixin
=
{
data
()
{
return
{
supList
:
[],
cusList
:
[],
organList
:
[],
retailList
:
[],
userList
:
[],
personList
:
[]
...
...
@@ -77,6 +78,14 @@ export const FinancialListMixin = {
}
});
},
initOrgan
()
{
let
that
=
this
;
findBySelectOrgan
({}).
then
((
res
)
=>
{
if
(
res
)
{
that
.
organList
=
res
;
}
});
},
initRetail
()
{
let
that
=
this
;
findBySelectRetail
({}).
then
((
res
)
=>
{
...
...
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