Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
4bad0846
Commit
4bad0846
authored
Oct 24, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单优化
parent
b62d56ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+26
-1
No files found.
src/views/ecw/financial/receiptDetail.vue
View file @
4bad0846
...
...
@@ -10,7 +10,7 @@
<el-descriptions-item
:label=
"$t('客户')"
>
{{
form
.
customerName
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('部门')"
>
{{
form
.
departmentName
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('业务员')"
>
{{
form
.
salesmanName
}}
</el-descriptions-item>
<
el-descriptions-item
:label=
"$t('手续费(RMB)')"
>
{{
form
.
feeRate
}}
</el-descriptions-item
>
<
!--
<el-descriptions-item
:label=
"$t('手续费(RMB)')"
>
{{
form
.
feeRate
}}
</el-descriptions-item>
--
>
<el-descriptions-item
:label=
"$t('备注')"
>
{{
form
.
remark
}}
</el-descriptions-item>
</el-descriptions>
</el-card>
...
...
@@ -406,6 +406,7 @@
<
script
>
import
{
getBankAccountPage
}
from
"
@/api/ecw/bankAccount
"
;
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
getCustomer
}
from
'
@/api/ecw/customer
'
import
{
getReceiptInfoByIds
,
...
...
@@ -442,6 +443,8 @@ export default {
}
,
addForm
:
{
}
,
detailed
:
[],
deptData
:
[],
deptArr
:
[],
dialogTitle
:
this
.
$t
(
'
添加银行实收明细
'
),
saveBtnText
:
this
.
$t
(
'
添加
'
),
isView
:
false
,
...
...
@@ -523,6 +526,23 @@ export default {
async
created
()
{
// 获取汇率
await
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
await
listSimpleDepts
().
then
((
res
)
=>
{
res
.
data
.
forEach
((
item
)
=>
{
if
(
item
.
parentId
==
0
)
{
this
.
deptArr
.
push
(
item
);
}
else
{
this
.
deptData
.
push
(
item
);
}
}
);
this
.
deptData
.
forEach
((
value
)
=>
{
var
dept
=
this
.
deptArr
.
filter
((
itt
)
=>
itt
.
id
==
value
.
parentId
);
if
(
dept
.
length
>
0
)
{
value
.
name
=
dept
[
0
].
name
+
"
|
"
+
value
.
name
;
}
}
);
// console.log(this.deptData)
}
);
await
getBankAccountPage
(
this
.
params
).
then
((
res
)
=>
(
this
.
bankData
=
res
.
data
.
list
));
if
(
this
.
$route
.
query
.
id
)
{
this
.
id
=
this
.
$route
.
query
.
id
;
...
...
@@ -531,6 +551,11 @@ export default {
getCustomer
(
this
.
form
.
customerId
).
then
(
res
=>
{
this
.
form
.
customerName
=
res
?.
data
?.
name
}
)
var
dept
=
this
.
deptData
.
filter
((
itt
)
=>
itt
.
id
==
res
.
data
.
departmentId
);
// console.log(dept)
if
(
dept
.
length
>
0
){
this
.
form
.
departmentName
=
dept
[
0
].
name
}
}
)
await
getInvoicingItem
({
id
:
this
.
id
}
).
then
(
res
=>
{
this
.
list
=
[...
res
.
data
]
...
...
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