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
c2b04415
Commit
c2b04415
authored
Oct 23, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印收款单收款日期修改
parent
951c0797
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
30 deletions
+38
-30
printVoucher.vue
src/views/ecw/financial/printVoucher.vue
+38
-30
No files found.
src/views/ecw/financial/printVoucher.vue
View file @
c2b04415
...
...
@@ -5,18 +5,18 @@
<div
style=
"text-align: center;font-weight: bold;font-size: 26px;padding: 22px 0;border-top: 1px solid #666;border-left:1px solid #666;border-right: 1px solid #666;"
>
捷道货运收款单
</div>
<table
border=
"1"
style=
"width: 100%;text-align: center;border-collapse: collapse; "
>
<tr>
<td
style=
"font-weight: bold;width:12.5%"
>
部门
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
departmentName
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
客户名称
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
form
?
form
.
customerName
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
收款日期
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
form
?
form
.
payedAt
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
部门
'
)
}}
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
departmentName
:
$t
(
'
无
'
)
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
客户名称
'
)
}}
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
form
?
form
.
customerName
:
$t
(
'
无
'
)
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
收款日期
'
)
}}
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
parseTime
(
date
)
||
$t
(
'
无
'
)
}}
</td>
</tr>
<tr>
<td
style=
"font-weight: bold;width:12.5%"
>
收款单号
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
receiptNo
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
备注
</td>
<td
colspan=
"4"
style=
"width: 50%;"
>
{{
form
?
form
.
remark
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
收款单号
'
)
}}
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
receiptNo
:
$t
(
'
无
'
)
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
备注
'
)
}}
</td>
<td
colspan=
"4"
style=
"width: 50%;"
>
{{
form
?
form
.
remark
:
$t
(
'
无
'
)
}}
</td>
</tr>
<tr>
<td
colspan=
"8"
>
Form/To:
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
startTitleZh
:
''
}}
>
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
destAddressZh
:
''
}}
</td>
...
...
@@ -24,14 +24,14 @@
</table>
<table
border=
"1"
style=
"width: 100%;text-align: center;border-collapse: collapse; border-top: 0;"
>
<tr>
<th
style=
"width: 12.5%;"
>
序号
</th>
<th
style=
"width: 12.5%;"
>
提单号
</th>
<th
style=
"width: 12.5%;"
>
订单号
</th>
<th
style=
"width: 12.5%;"
>
品名
</th>
<th
style=
"width: 12.5%;"
>
收入类型
</th>
<th
style=
"width: 12.5%;"
>
金额
</th>
<th
style=
"width: 12.5%;"
>
币种
</th>
<th
style=
"width: 12.5%;"
>
优惠金额
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
序号
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
提单号
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
订单号
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
品名
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
收入类型
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
金额
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
币种
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
优惠金额
'
)
}}
</th>
</tr>
<tr
v-for=
"(item, index) in list"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
...
...
@@ -44,38 +44,38 @@
<td>
{{
item
.
discountTotal
||
0
}}
</td>
</tr>
<tr
v-for=
"(items, indexs) in receiptAccountList"
:key=
"indexs"
>
<td><dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"items.currencyId"
/>
应收合计
</td>
<td><dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"items.currencyId"
/>
{{
$t
(
'
应收合计
'
)
}}
</td>
<td
><span
v-if=
"items.discountTotal>0"
>
{{
`${items.receivableAmount - items.discountTotal
}
(${items.receivableAmount
}
- ${items.discountTotal
}
)`
}}
<
/span
>
<
span
v
-
else
>
{{
`${items.receivableAmount - items.discountTotal
}
`
}}
<
/span
>
<
/td
>
<
td
>
汇率
<
/td
>
<
td
>
{{
$t
(
'
汇率
'
)
}}
<
/td
>
<
td
>
{{
items
.
collectionRate
}}
<
/td
>
<
td
>
收款金额
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
items.collectionCurrencyId
"
/>
)
<
/td
>
<
td
>
{{
$t
(
'
收款金额
'
)
}}
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
items.collectionCurrencyId
"
/>
)
<
/td
>
<
td
colspan
=
"
3
"
>
{{
items
.
collectionAmount
}}
<
/td
>
<
/tr
>
<
/table
>
<
div
style
=
"
text-align: center;border-left:1px solid #666;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
银行信息
{{
$t
(
'
银行信息
'
)
}}
<
/div
>
<
div
style
=
"
display: flex;align-items: center;border-top: 1px solid #666;border-left:1px solid #666;border-right: 1px solid #666;
"
v
-
for
=
"
(bankTiem,index) in detailed
"
:
key
=
"
index
"
>
<
div
style
=
"
padding:6px 0;width: 12.5%;text-align: center;border-right: 1px solid #666;
"
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
户名
:
{{
bankTiem
.
accountName
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
银行名称
:
{{
bankTiem
.
accountBankName
||
''
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
{{
$t
(
'
户名
'
)
}}
:
{{
bankTiem
.
accountName
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
{{
$t
(
'
银行名称
'
)
}}
:
{{
bankTiem
.
accountBankName
||
''
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
A
/
C
NO
:
{{
bankTiem
.
accountNo
}}
<
/p
>
<
/div
>
<
div
style
=
"
padding:6px 0;width: 87.5%;text-align: center;
"
>
<
p
style
=
"
margin: 0;
"
>
实收
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
bankTiem.currencyId
"
/>
:
{{
bankTiem
.
writeOffAmount
}}
¥
<
/p
>
<
p
style
=
"
margin: 0;
"
>
{{
$t
(
'
实收
'
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
bankTiem.currencyId
"
/>
:
{{
bankTiem
.
writeOffAmount
}}
¥
<
/p
>
<!--
<
p
style
=
"
margin: 0;
"
>
未收:¥
{{
bankTiem
.
noReceipt
}}
<
/p> --
>
<
/div
>
<
/div
>
<
div
style
=
"
display: flex;align-items: center;border: 1px solid #666;
"
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
主管
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
主管
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
><
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
会计
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
会计
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
><
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
出纳
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
出纳
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;height: 36px;line-height: 36px;border-right: 1px solid #666;
"
><
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
经手人
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
经手人
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;height: 36px;line-height: 36px;
"
><
/div
>
<
/div
>
<
/div
>
...
...
@@ -120,7 +120,8 @@
deptArr
:[],
id
:
0
,
orderData
:{
}
,
detailed
:[]
detailed
:[],
date
:
''
}
}
,
async
created
()
{
...
...
@@ -206,6 +207,13 @@
getList
()
{
getReceivableItem
({
id
:
this
.
id
}
).
then
(
res
=>
{
this
.
detailed
=
res
.
data
this
.
detailed
.
forEach
(
item
=>
{
if
(
!
this
.
date
){
this
.
date
=
item
.
amountDate
}
else
if
(
this
.
date
<
item
.
amountDate
){
this
.
date
=
item
.
amountDate
}
}
)
}
)
}
,
getCollectionData
(){
...
...
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