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
6bde892d
Commit
6bde892d
authored
Dec 18, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
付款对象我的财务单据以及收支查询模糊查询
parent
ab10755e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
115 additions
and
3 deletions
+115
-3
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+53
-3
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+62
-0
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
6bde892d
...
...
@@ -763,11 +763,12 @@
</span>
</li>
<!-- v-show="msg.Type==2" -->
<!-- @change="financeinfo_post_GetClientAccountList(msg.ClientType),msg.ClientID=''" class="w150">-->
<li>
<span>
<em>
{{
$t
(
'fnc.dxleixing'
)
}}
</em>
<el-select
filterable
v-model=
'msg.ClientType'
@
change=
"
financeinfo_post_GetClientAccountList(msg.ClientType
),msg.ClientID=''"
class=
"w150"
>
@
change=
"
ClaerClientAccountList(
),msg.ClientID=''"
class=
"w150"
>
<el-option
value=
""
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in ClientTypeList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
...
...
@@ -778,11 +779,23 @@
<li>
<span>
<em>
{{
$t
(
'fnc.fkduixiang'
)
}}
</em>
<el-select
filterable
v-model=
'msg.ClientID'
class=
"w150"
>
<el-select
v-model=
"msg.ClientID"
class=
"w150"
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"GetClientAccountListByKeyWord"
>
<el-option
value=
""
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in ClientAccountList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
<!--
<el-select
filterable
v-model=
'msg.ClientID'
class=
"w150"
>
<el-option
value=
""
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in ClientAccountList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</el-select>
-->
</span>
</li>
<li>
...
...
@@ -2419,6 +2432,43 @@
err
=>
{}
);
},
ClaerClientAccountList
(){
this
.
ClientAccountList
=
[];
//this.transTax.ClientID='';
},
GetClientAccountListByKeyWord
(
query
)
{
if
(
query
!==
''
)
{
// 获取对象类型
let
msg
=
{
Type
:
this
.
transTax
.
ClientType
,
ObjID
:
0
,
CardNum
:
""
,
KeyWord
:
query
,
};
this
.
apipost
(
"financeinfo_post_GetClientAccountList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
ClientAccountList
=
[];
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
AccountAlias
,
Nom
:
x
.
CardNum
};
ClientAccountList
.
push
(
obj
);
});
this
.
ClientAccountList
=
ClientAccountList
;
}
},
err
=>
{}
);
}
},
GetClientAccountList
(
i
)
{
//获取客户名称并且根据费用类型和付款对象获取客户账号
this
.
msg
.
AccountNumber
=
''
;
this
.
transTax
.
ClientID
=
''
...
...
src/components/FinancialModule/RecPayQuery.vue
View file @
6bde892d
...
...
@@ -91,6 +91,33 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('fnc.dxleixing')"
>
<el-select
filterable
v-model=
'msg.ClientType'
@
change=
"ClaerClientAccountList(),msg.ClientID=''"
class=
"w150"
>
<el-option
value=
""
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in ClientTypeList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('fnc.fkduixiang')"
>
<el-select
v-model=
"msg.ClientID"
class=
"w150"
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"GetClientAccountListByKeyWord"
>
<el-option
value=
""
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in ClientAccountList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"收付款账户:"
>
<el-select
filterable
v-model=
'msg.BankID'
>
...
...
@@ -1005,6 +1032,41 @@
})
},
methods
:
{
ClaerClientAccountList
(){
this
.
ClientAccountList
=
[];
},
GetClientAccountListByKeyWord
(
query
)
{
if
(
query
!==
''
)
{
// 获取对象类型
let
msg
=
{
Type
:
this
.
transTax
.
ClientType
,
ObjID
:
0
,
CardNum
:
""
,
KeyWord
:
query
,
};
this
.
apipost
(
"financeinfo_post_GetClientAccountList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
ClientAccountList
=
[];
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
AccountAlias
,
Nom
:
x
.
CardNum
};
ClientAccountList
.
push
(
obj
);
});
this
.
ClientAccountList
=
ClientAccountList
;
}
},
err
=>
{}
);
}
},
// 是否需要发票
EditInvoiceStatus
(
row
){
let
KingdeeInvoice
...
...
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