Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
2291bd5d
Commit
2291bd5d
authored
Nov 01, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
付款对象关键词搜索
parent
36498834
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
120 additions
and
44 deletions
+120
-44
CashAccDetail.vue
src/components/FinancialModule/accDetail/CashAccDetail.vue
+29
-9
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+30
-9
PlatformAccDetail.vue
...omponents/FinancialModule/accDetail/PlatformAccDetail.vue
+22
-8
PoolAccDetail.vue
src/components/FinancialModule/accDetail/PoolAccDetail.vue
+39
-18
No files found.
src/components/FinancialModule/accDetail/CashAccDetail.vue
View file @
2291bd5d
...
@@ -79,7 +79,13 @@
...
@@ -79,7 +79,13 @@
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.fkduixiang')"
>
<el-form-item
:label=
"$t('fnc.fkduixiang')"
>
<el-select
filterable
v-model=
'msg.ClientID'
>
<el-select
v-model=
'msg.ClientID'
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"remoteMethod"
:loading=
"AccountLoading"
>
<el-option
v-for=
'item in ClientAccountList'
<el-option
v-for=
'item in ClientAccountList'
:label=
'item.AccountAlias'
:label=
'item.AccountAlias'
:value=
'item.ID'
:value=
'item.ID'
...
@@ -394,6 +400,16 @@ import moment from "moment"
...
@@ -394,6 +400,16 @@ import moment from "moment"
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
AccountLoading
:
false
,
ClientAccountMsg
:{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
,
KeyWord
:
''
,
IsAll
:
true
,
Status
:
1
},
msg
:{
msg
:{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
...
@@ -839,15 +855,19 @@ export default {
...
@@ -839,15 +855,19 @@ export default {
}
}
)
)
},
},
remoteMethod
(
query
)
{
if
(
query
!==
''
)
{
this
.
ClientAccountMsg
.
KeyWord
=
query
this
.
AccountLoading
=
true
;
this
.
financeinfo_post_GetClientAccountList
()
}
else
{
this
.
ClientAccountList
=
[];
}
},
financeinfo_post_GetClientAccountList
(){
//获取付款对象
financeinfo_post_GetClientAccountList
(){
//获取付款对象
let
msg
=
{
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
this
.
ClientAccountMsg
,
res
=>
{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
};
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
msg
,
res
=>
{
this
.
ClientAccountList
=
res
.
data
.
data
;
this
.
ClientAccountList
=
res
.
data
.
data
;
this
.
AccountLoading
=
false
},
err
=>
{})
},
err
=>
{})
},
},
timeAdd
(){
// 日期格式
timeAdd
(){
// 日期格式
...
@@ -1007,7 +1027,7 @@ export default {
...
@@ -1007,7 +1027,7 @@ export default {
this
.
getAccountTypeList
();
this
.
getAccountTypeList
();
this
.
AccountType_post_GetList
();
this
.
AccountType_post_GetList
();
this
.
BankAccount_post_GetAccountType
();
this
.
BankAccount_post_GetAccountType
();
this
.
financeinfo_post_GetClientAccountList
();
//
this.financeinfo_post_GetClientAccountList();
this
.
financeinfo_post_GetCostTypeList
();
this
.
financeinfo_post_GetCostTypeList
();
this
.
getCompanyList
();
this
.
getCompanyList
();
}
}
...
...
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
2291bd5d
...
@@ -113,7 +113,14 @@
...
@@ -113,7 +113,14 @@
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.fkduixiang')"
>
<el-form-item
:label=
"$t('fnc.fkduixiang')"
>
<el-select
filterable
v-model=
'msg.ClientID'
@
change=
'getClientId(msg.ClientID)'
>
<el-select
v-model=
'msg.ClientID'
@
change=
'getClientId(msg.ClientID)'
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"remoteMethod"
:loading=
"AccountLoading"
>
<el-option
v-for=
'item in ClientAccountList'
<el-option
v-for=
'item in ClientAccountList'
:label=
'`$
{item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`'
:label=
'`$
{item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`'
:value='item.ID'
:value='item.ID'
...
@@ -457,6 +464,16 @@ import moment from "moment"
...
@@ -457,6 +464,16 @@ import moment from "moment"
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
AccountLoading
:
false
,
ClientAccountMsg
:{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
,
KeyWord
:
''
,
IsAll
:
true
,
Status
:
1
},
msg
:{
msg
:{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
...
@@ -620,16 +637,20 @@ export default {
...
@@ -620,16 +637,20 @@ export default {
this
.
isShowCheckAll
=
false
;
this
.
isShowCheckAll
=
false
;
}
}
},
},
remoteMethod
(
query
)
{
if
(
query
!==
''
)
{
this
.
ClientAccountMsg
.
KeyWord
=
query
this
.
AccountLoading
=
true
;
this
.
financeinfo_post_GetClientAccountList
()
}
else
{
this
.
ClientAccountList
=
[];
}
},
financeinfo_post_GetClientAccountList
(){
//获取付款对象
financeinfo_post_GetClientAccountList
(){
//获取付款对象
let
msg
=
{
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
this
.
ClientAccountMsg
,
res
=>
{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
};
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
msg
,
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
ClientAccountList
=
data
;
this
.
ClientAccountList
=
data
;
this
.
AccountLoading
=
false
},
err
=>
{})
},
err
=>
{})
},
},
timeAdd
(){
// 日期格式
timeAdd
(){
// 日期格式
...
@@ -1163,7 +1184,7 @@ export default {
...
@@ -1163,7 +1184,7 @@ export default {
this
.
getAccountTypeList
();
this
.
getAccountTypeList
();
this
.
AccountType_post_GetList
();
this
.
AccountType_post_GetList
();
this
.
BankAccount_post_GetAccountType
();
this
.
BankAccount_post_GetAccountType
();
this
.
financeinfo_post_GetClientAccountList
();
// this.financeinfo_post_GetClientAccountList(); //付款对象
this
.
financeinfo_post_GetCostTypeList
();
this
.
financeinfo_post_GetCostTypeList
();
this
.
getCompanyList
();
this
.
getCompanyList
();
}
}
...
...
src/components/FinancialModule/accDetail/PlatformAccDetail.vue
View file @
2291bd5d
...
@@ -477,6 +477,16 @@ import moment from 'moment'
...
@@ -477,6 +477,16 @@ import moment from 'moment'
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
AccountLoading
:
false
,
ClientAccountMsg
:{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
,
KeyWord
:
''
,
IsAll
:
true
,
Status
:
1
},
msg
:{
msg
:{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
...
@@ -630,16 +640,20 @@ export default {
...
@@ -630,16 +640,20 @@ export default {
}
}
)
)
},
},
remoteMethod
(
query
)
{
if
(
query
!==
''
)
{
this
.
ClientAccountMsg
.
KeyWord
=
query
this
.
AccountLoading
=
true
;
this
.
financeinfo_post_GetClientAccountList
()
}
else
{
this
.
ClientAccountList
=
[];
}
},
financeinfo_post_GetClientAccountList
(){
//获取付款对象
financeinfo_post_GetClientAccountList
(){
//获取付款对象
let
msg
=
{
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
this
.
ClientAccountMsg
,
res
=>
{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
}
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
msg
,
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
ClientAccountList
=
data
;
this
.
ClientAccountList
=
data
;
this
.
AccountLoading
=
false
},
err
=>
{})
},
err
=>
{})
},
},
timeAdd
(){
// 日期格式
timeAdd
(){
// 日期格式
...
@@ -1153,7 +1167,7 @@ export default {
...
@@ -1153,7 +1167,7 @@ export default {
this
.
getAccountTypeList
();
this
.
getAccountTypeList
();
this
.
AccountType_post_GetList
();
this
.
AccountType_post_GetList
();
this
.
BankAccount_post_GetAccountType
();
this
.
BankAccount_post_GetAccountType
();
this
.
financeinfo_post_GetClientAccountList
();
//
this.financeinfo_post_GetClientAccountList();
this
.
financeinfo_post_GetCostTypeList
();
this
.
financeinfo_post_GetCostTypeList
();
this
.
getCompanyList
();
this
.
getCompanyList
();
}
}
...
...
src/components/FinancialModule/accDetail/PoolAccDetail.vue
View file @
2291bd5d
...
@@ -62,7 +62,14 @@
...
@@ -62,7 +62,14 @@
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.fkduixiang')"
>
<el-form-item
:label=
"$t('fnc.fkduixiang')"
>
<el-select
filterable
v-model=
'msg.ClientID'
@
change=
'getClientId(msg.ClientID)'
>
<el-select
v-model=
'msg.ClientID'
@
change=
'getClientId(msg.ClientID)'
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"remoteMethod"
:loading=
"AccountLoading"
>
<el-option
v-for=
'item in ClientAccountList'
<el-option
v-for=
'item in ClientAccountList'
:label=
'item.AccountAlias'
:label=
'item.AccountAlias'
:value=
'item.ID'
:value=
'item.ID'
...
@@ -391,6 +398,16 @@ import moment from "moment"
...
@@ -391,6 +398,16 @@ import moment from "moment"
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
AccountLoading
:
false
,
ClientAccountMsg
:{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
,
KeyWord
:
''
,
IsAll
:
true
,
Status
:
1
},
msg
:{
msg
:{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
...
@@ -474,7 +491,7 @@ export default {
...
@@ -474,7 +491,7 @@ export default {
}
}
},
created
(){
},
created
(){
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
if
(
this
.
$route
.
query
.
TypeId
&&!
this
.
$route
.
query
.
ID
){
if
(
this
.
$route
.
query
.
TypeId
&&!
this
.
$route
.
query
.
ID
){
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
...
@@ -486,9 +503,9 @@ export default {
...
@@ -486,9 +503,9 @@ export default {
this
.
BankAccount_post_GetCashPoolList
(
"query"
);
this
.
BankAccount_post_GetCashPoolList
(
"query"
);
}
}
if
(
this
.
$route
.
query
.
ID
){
if
(
this
.
$route
.
query
.
ID
){
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
)?
parseInt
(
this
.
$route
.
query
.
TypeId
):
0
;
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
)?
parseInt
(
this
.
$route
.
query
.
TypeId
):
0
;
this
.
AccountId
=
parseInt
(
this
.
$route
.
query
.
ID
);
this
.
AccountId
=
parseInt
(
this
.
$route
.
query
.
ID
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
msg
.
sTradeDate
=
mon2
;
this
.
msg
.
sTradeDate
=
mon2
;
...
@@ -500,7 +517,7 @@ export default {
...
@@ -500,7 +517,7 @@ export default {
})
})
this
.
bankaccount_post_GetList
();
this
.
bankaccount_post_GetList
();
this
.
getList
();
this
.
getList
();
}
}
},
methods
:{
},
methods
:{
...
@@ -521,9 +538,9 @@ export default {
...
@@ -521,9 +538,9 @@ export default {
})
})
}
}
if
(
status
){
if
(
status
){
this
.
$router
.
push
({
name
:
"CapitalAllocationDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
"CapitalAllocationDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
}
else
{
}
else
{
this
.
$router
.
push
({
name
:
"FinancialDocumentsDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
"FinancialDocumentsDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
}
}
},
},
goUrl
(
path
,
id
){
goUrl
(
path
,
id
){
...
@@ -543,16 +560,20 @@ export default {
...
@@ -543,16 +560,20 @@ export default {
}
}
)
)
},
},
remoteMethod
(
query
)
{
if
(
query
!==
''
)
{
this
.
ClientAccountMsg
.
KeyWord
=
query
this
.
AccountLoading
=
true
;
this
.
financeinfo_post_GetClientAccountList
()
}
else
{
this
.
ClientAccountList
=
[];
}
},
financeinfo_post_GetClientAccountList
(){
//获取付款对象
financeinfo_post_GetClientAccountList
(){
//获取付款对象
let
msg
=
{
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
this
.
ClientAccountMsg
,
res
=>
{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
}
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
msg
,
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
ClientAccountList
=
data
;
this
.
ClientAccountList
=
data
;
this
.
AccountLoading
=
false
},
err
=>
{})
},
err
=>
{})
},
},
timeAdd
(){
// 日期格式
timeAdd
(){
// 日期格式
...
@@ -612,7 +633,7 @@ export default {
...
@@ -612,7 +633,7 @@ export default {
},
err
=>
{})
},
err
=>
{})
},
},
getList
(){
//获取列表
getList
(){
//获取列表
this
.
checkList
=
[];
this
.
checkList
=
[];
this
.
loading
=
true
this
.
loading
=
true
if
(
this
.
msg
.
ClientID
==
''
){
if
(
this
.
msg
.
ClientID
==
''
){
this
.
msg
.
ClientID
=
0
;
this
.
msg
.
ClientID
=
0
;
...
@@ -624,7 +645,7 @@ export default {
...
@@ -624,7 +645,7 @@ export default {
this
.
bZhi
=
0
;
this
.
bZhi
=
0
;
this
.
wZhi
=
0
;
this
.
wZhi
=
0
;
this
.
apipost
(
'Financial_post_GetAccountDetailList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'Financial_post_GetAccountDetailList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
if
(
data
.
length
){
if
(
data
.
length
){
...
@@ -1007,7 +1028,7 @@ export default {
...
@@ -1007,7 +1028,7 @@ export default {
},
err
=>
{})
},
err
=>
{})
},
},
getCompanyList
(){
//获取公司列表
getCompanyList
(){
//获取公司列表
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
let
msg
=
{
RB_Group_Id
:
userInfo
.
RB_Group_id
RB_Group_Id
:
userInfo
.
RB_Group_id
...
@@ -1023,7 +1044,7 @@ export default {
...
@@ -1023,7 +1044,7 @@ export default {
this
.
getAccountTypeList
();
this
.
getAccountTypeList
();
this
.
AccountType_post_GetList
();
this
.
AccountType_post_GetList
();
this
.
BankAccount_post_GetAccountType
();
this
.
BankAccount_post_GetAccountType
();
this
.
financeinfo_post_GetClientAccountList
();
//
this.financeinfo_post_GetClientAccountList();
this
.
financeinfo_post_GetCostTypeList
();
this
.
financeinfo_post_GetCostTypeList
();
this
.
getCompanyList
();
this
.
getCompanyList
();
}
}
...
...
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