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
b4c2f5ce
Commit
b4c2f5ce
authored
Oct 28, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单审核添加应收明细
parent
cbe13ca5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
2 deletions
+58
-2
CollectionApproval.vue
src/views/ecw/financial/components/CollectionApproval.vue
+58
-2
No files found.
src/views/ecw/financial/components/CollectionApproval.vue
View file @
b4c2f5ce
...
@@ -17,6 +17,50 @@
...
@@ -17,6 +17,50 @@
<
/el-descriptions-item
>
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
reason
"
:
label
=
"
$t('申请理由')
"
>
{{
reason
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
reason
"
:
label
=
"
$t('申请理由')
"
>
{{
reason
}}
<
/el-descriptions-item
>
<
/el-descriptions
>
<
/el-descriptions
>
<
el
-
card
class
=
"
card
"
>
<
div
slot
=
"
header
"
class
=
"
card-title
"
>
{{
$t
(
'
应收明细
'
)
}}
<
/div
>
<
el
-
table
:
data
=
"
list
"
border
>
<
el
-
table
-
column
:
label
=
"
$t('订单号')
"
align
=
"
center
"
prop
=
"
orderNo
"
/>
<
el
-
table
-
column
:
label
=
"
$t('提单号')
"
align
=
"
center
"
prop
=
"
tidanNo
"
/>
<
el
-
table
-
column
:
label
=
"
$t('唛头')
"
align
=
"
center
"
prop
=
"
marks
"
/>
<
el
-
table
-
column
:
label
=
"
$t('品名')
"
align
=
"
center
"
prop
=
"
title
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
v
-
if
=
"
scope.row.feeType!=5
"
>
{{
scope
.
row
.
titleZh
?(
scope
.
row
.
titleZh
+
"
(
"
+
scope
.
row
.
titleEn
+
"
)
"
):
''
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
num
"
/>
<
el
-
table
-
column
:
label
=
"
$t('体积/重量')
"
align
=
"
center
"
prop
=
"
weight
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
v
-
if
=
"
scope.row.feeType!=5
"
>
{{
scope
.
row
.
volume
+
"
/
"
+
scope
.
row
.
weight
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('收入类型')
"
align
=
"
center
"
prop
=
"
feeType
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.FEE_TYPE
"
:
value
=
"
scope.row.feeType
"
><
/dict-tag
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('单价金额')
"
align
=
"
center
"
prop
=
"
unitPrice
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
unitPrice
}}
<
/span
>
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('总金额')
"
align
=
"
center
"
prop
=
"
totalAmount
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
totalAmount
}}
<
/span
>
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('优惠金额')
"
align
=
"
center
"
>
<
template
slot
-
scope
=
"
scope
"
>
{{
scope
.
row
.
discountTotal
?
`${scope.row.discountTotal
}
(${scope.row.discountRemark
}
)`
:
0
}}
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/el-card
>
<
div
class
=
"
btn
"
>
<
div
class
=
"
btn
"
>
<
el
-
button
<
el
-
button
size
=
"
mini
"
size
=
"
mini
"
...
@@ -120,7 +164,12 @@ export default {
...
@@ -120,7 +164,12 @@ export default {
}
)
}
)
this
.
$set
(
this
,
'
collectionAmount
'
,
amountList
)
this
.
$set
(
this
,
'
collectionAmount
'
,
amountList
)
}
)
}
)
}
}
,
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
this
.
$i18n
.
locale
==
'
zh_CN
'
?
label
[
0
].
titleZh
:
label
[
0
].
titleEn
return
''
}
,
}
}
}
}
<
/script
>
<
/script
>
...
@@ -139,4 +188,11 @@ export default {
...
@@ -139,4 +188,11 @@ export default {
font
-
weight
:
600
;
font
-
weight
:
600
;
}
}
}
}
.
card
{
margin
-
top
:
20
px
;
}
.
card
-
title
{
font
-
size
:
18
px
;
font
-
weight
:
bold
;
}
<
/style
>
<
/style
>
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