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
f22f2119
Commit
f22f2119
authored
Jan 20, 2025
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
🐛
: 修复1/20 日bug
parent
601bc8f3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
79 deletions
+40
-79
BankReceiptsDetailItem.vue
...views/ecw/financial/components/BankReceiptsDetailItem.vue
+1
-1
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+4
-54
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+27
-18
index.vue
src/views/ecw/financial/selfNoReportNew/index.vue
+7
-3
index.vue
...financial/selfNoReportNew/selfNoReportDetailNew/index.vue
+1
-3
No files found.
src/views/ecw/financial/components/BankReceiptsDetailItem.vue
View file @
f22f2119
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<el-form-item
:label=
"$t('流水号')"
>
{{
bankReceiptDetails
.
serialNumber
}}
</el-form-item>
<el-form-item
:label=
"$t('流水号')"
>
{{
bankReceiptDetails
.
serialNumber
}}
</el-form-item>
<el-form-item
:label=
"$t('收款单号')"
>
{{
bankReceiptDetails
.
receiptNo
}}
</el-form-item>
<el-form-item
:label=
"$t('收款单号')"
>
{{
bankReceiptDetails
.
receiptNo
}}
</el-form-item>
<el-form-item
:label=
"$t('剩余应收金额')"
>
<el-form-item
:label=
"$t('剩余应收金额')"
>
<span>
{{
bankReceiptDetails
.
syValue
}}
</span>
<span>
{{
getCurrencySymbol
(
bankReceiptDetails
.
writeOffCurrencyId
)
}}
{{
bankReceiptDetails
.
syValue
}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
:label=
"$t('收款账户')"
:label=
"$t('收款账户')"
...
...
src/views/ecw/financial/creatCollection.vue
View file @
f22f2119
...
@@ -124,18 +124,6 @@
...
@@ -124,18 +124,6 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<!--
<
el
-
descriptions
:
column
=
"
2
"
border
class
=
"
card
"
>
<
el
-
descriptions
-
item
>
-->
<!--
<
el
-
form
-
item
:
label
=
"
$t('核销基准币种') + ':'
"
style
=
"
margin-bottom: 0; margin-top: 20px
"
>
{{
getCurrencyLabel
(
showCurrencyId
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
<
/el-form-item> --
>
<!--
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('核销基准币种')
"
>
<
/el-descriptions-item
>
<
/el-descriptions> --
>
<
/el-card
>
<
/el-card
>
<
el
-
card
class
=
"
card
"
>
<
el
-
card
class
=
"
card
"
>
...
@@ -371,11 +359,7 @@
...
@@ -371,11 +359,7 @@
<
/el-descriptions
>
<
/el-descriptions
>
<
/el-card
>
<
/el-card
>
<
/el-form
>
<
/el-form
>
<!--
<
div
slot
=
"
footer
"
style
=
"
margin: 20px 0
"
>
<
el
-
button
v
-
if
=
"
id==0||form.state==0
"
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(1)
"
>
{{
$t
(
'
保存草稿
'
)
}}
<
/el-button
>
<
el
-
button
v
-
else
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
$store.dispatch('tagsView/delCurrentView')
"
>
{{
$t
(
'
返回
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(0)
"
>
{{
id
&&
form
.
state
!=
0
?
$t
(
'
修改
'
)
:
$t
(
'
新增收款单
'
)
}}
<
/el-button
>
<
/div> --
>
<
div
slot
=
"
header
"
class
=
"
bpm-title
"
>
{{
$t
(
"
审核流程
"
)
}}
<
/div
>
<
div
slot
=
"
header
"
class
=
"
bpm-title
"
>
{{
$t
(
"
审核流程
"
)
}}
<
/div
>
<
work
-
flow
xmlkey
=
"
merge_order
"
v
-
model
=
"
form.copyUserList
"
><
/work-flow
>
<
work
-
flow
xmlkey
=
"
merge_order
"
v
-
model
=
"
form.copyUserList
"
><
/work-flow
>
...
@@ -383,9 +367,8 @@
...
@@ -383,9 +367,8 @@
<
el
-
button
type
=
"
primary
"
@
click
=
"
submitForm(0)
"
v
-
hasPermi
=
"
['ecw:voucher:create:sumbit']
"
>
{{
$t
(
"
提交申请
"
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
submitForm(0)
"
v
-
hasPermi
=
"
['ecw:voucher:create:sumbit']
"
>
{{
$t
(
"
提交申请
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
id == 0 || form.state == 0
"
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
v
-
hasPermi
=
"
['ecw:voucher:create:save']
"
@
click
=
"
submitForm(1)
"
>
{{
$t
(
"
保存草稿
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
id == 0 || form.state == 0
"
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
v
-
hasPermi
=
"
['ecw:voucher:create:save']
"
@
click
=
"
submitForm(1)
"
>
{{
$t
(
"
保存草稿
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
orderData.inWarehouseState == 207
"
type
=
"
primary
"
v
-
hasPermi
=
"
['ecw:voucher:create:see']
"
@
click
=
"
$router.push(`/bpm/process-instance/detail?id=` + orderApprovalBackVO.applyingFormId)
"
>
{{
$t
(
"
审核中
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
orderData.inWarehouseState == 207
"
type
=
"
primary
"
v
-
hasPermi
=
"
['ecw:voucher:create:see']
"
@
click
=
"
$router.push(`/bpm/process-instance/detail?id=` + orderApprovalBackVO.applyingFormId)
"
>
{{
$t
(
"
审核中
"
)
}}
<
/el-button
>
<!--
<
el
-
button
v
-
if
=
"
orderData.inWarehouseState==207
"
plain
type
=
"
primary
"
@
click
=
"
dialogVisible = true
"
>
{{
$t
(
'
取消审核
'
)
}}
<
/el-button> --
>
<
el
-
button
plain
type
=
"
primary
"
@
click
=
"
$store.dispatch('tagsView/delCurrentView')
"
>
{{
$t
(
"
返回
"
)
}}
<
/el-button
>
<
el
-
button
plain
type
=
"
primary
"
@
click
=
"
$store.dispatch('tagsView/delCurrentView')
"
>
{{
$t
(
"
返回
"
)
}}
<
/el-button
>
<!--
<
el
-
button
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(0)
"
>
{{
id
&&
form
.
state
!=
0
?
$t
(
'
修改
'
)
:
$t
(
'
新增收款单
'
)
}}
<
/el-button> --
>
<
/div
>
<
/div
>
<!--
添加应收明细的弹窗
-->
<!--
添加应收明细的弹窗
-->
...
@@ -1151,7 +1134,8 @@ export default {
...
@@ -1151,7 +1134,8 @@ export default {
discountTotal
:
discountDollar
,
discountTotal
:
discountDollar
,
currencyId
:
item
.
id
,
currencyId
:
item
.
id
,
receivableAmount
:
NP
.
round
(
dollar
,
2
),
receivableAmount
:
NP
.
round
(
dollar
,
2
),
writeOffRate
:
item
.
id
==
this
.
showCurrencyId
?
1
:
this
.
getRate
(
item
.
id
,
this
.
showCurrencyId
),
writeOffRate
:
item
.
id
==
this
.
showCurrencyId
?
1
:
dollarList
[
0
].
exchangeRate
,
// this.getRate(item.id, this.showCurrencyId),
platformAccountId
:
t
?.
platformAccountId
||
""
,
platformAccountId
:
t
?.
platformAccountId
||
""
,
collectionCurrencyId
:
item
.
id
,
collectionCurrencyId
:
item
.
id
,
collectionRate
:
1
collectionRate
:
1
...
@@ -1174,40 +1158,6 @@ export default {
...
@@ -1174,40 +1158,6 @@ export default {
this
.
form
.
receivableTotalAmount
=
totalt
.
toFixed
(
2
)
this
.
form
.
receivableTotalAmount
=
totalt
.
toFixed
(
2
)
}
}
// receiptAccountList: [
//
{
currencyId
:
1
,
receivableAmount
:
0
,
writeOffRate
:
1
,
writeOffAmount
:
999
,
platformAccountId
:
''
,
currencyId
:
''
,
rate
:
1
,
collectionAmount
:
0
}
,
//
{
currencyId
:
2
,
receivableAmount
:
0
,
writeOffRate
:
1
,
writeOffAmount
:
999
,
platformAccountId
:
''
,
currencyId
:
''
,
rate
:
1
,
collectionAmount
:
0
}
,
//
{
currencyId
:
3
,
receivableAmount
:
0
,
writeOffRate
:
1
,
writeOffAmount
:
999
,
platformAccountId
:
''
,
currencyId
:
''
,
rate
:
1
,
collectionAmount
:
0
}
,
// ]
if
(
this
.
showCurrencyId
===
1
)
{
// 美元
// const usCount = NP.plus(dollar, NP.times(this.RMBtoUS(), rmb), NP.times(this.NANtoUS(), naira))
// this.form.receivableDetailList[0].rate = 1
// this.form.receivableDetailList[0].amount = usCount
// this.form.receivableDetailList[1].rate || (this.form.receivableDetailList[1].rate = this.UStoRMB())
// this.form.receivableDetailList[2].rate || (this.form.receivableDetailList[2].rate = this.UStoNAN())
// this.form.receivableTotalAmount = usCount
// this.calculationCount(usCount)
}
else
if
(
this
.
showCurrencyId
===
2
)
{
// 人民币
// const rmbCount = NP.plus(rmb, NP.times(this.UStoRMB(), dollar), NP.times(this.NANtoRMB(), naira))
// this.form.receivableDetailList[1].rate = 1
// this.form.receivableDetailList[1].amount = usCount
// this.form.receivableDetailList[0].rate || (this.form.receivableDetailList[0].rate = this.RMBtoUS())
// this.form.receivableDetailList[2].rate || (this.form.receivableDetailList[2].rate = this.RMBtoNAN())
// this.form.receivableTotalAmount = rmbCount
// this.calculationCount(rmbCount)
}
else
if
(
this
.
showCurrencyId
===
3
)
{
// 奈拉
// const nairaCount = NP.plus(naira, NP.times(this.UStoNAN(), dollar), NP.times(this.RMBtoNAN(), rmb))
// this.form.receivableDetailList[2].rate = 1
// this.form.receivableDetailList[2].amount = nairaCount
// this.form.receivableDetailList[0].rate || (this.form.receivableDetailList[0].rate = this.NANtoUS())
// this.form.receivableDetailList[1].rate || (this.form.receivableDetailList[1].rate = this.NANtoRMB())
// this.form.receivableTotalAmount = nairaCount
// this.calculationCount(nairaCount)
}
this
.
$set
(
this
.
form
,
"
receiptAccountList
"
,
[...
this
.
form
.
receiptAccountList
])
this
.
$set
(
this
.
form
,
"
receiptAccountList
"
,
[...
this
.
form
.
receiptAccountList
])
}
,
}
,
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
f22f2119
...
@@ -270,12 +270,12 @@
...
@@ -270,12 +270,12 @@
<
el
-
table
-
column
:
label
=
"
$t('审核通过时间')
"
align
=
"
center
"
prop
=
"
approvalTime
"
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('审核通过时间')
"
align
=
"
center
"
prop
=
"
approvalTime
"
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
200
"
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
200
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
v
-
hasPermi
=
"
['ecw:payment:detail:delete']
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
"
删除
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
|| scope.row.status == 4
"
v
-
hasPermi
=
"
['ecw:payment:detail:delete']
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
"
删除
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
detailClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:payment:detail:detail']
"
>
{{
$t
(
"
详情
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
|| scope.row.status == 4
"
type
=
"
text
"
@
click
=
"
detailClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:payment:detail:detail']
"
>
{{
$t
(
"
详情
"
)
}}
<
/el-button
>
<!--
核销
改
提交
lanbm
2024
-
05
-
29
-->
<!--
核销
改
提交
lanbm
2024
-
05
-
29
-->
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
$router.push(`bankDetail?id=` + id + `&bankId=` + scope.row.id)
"
v
-
hasPermi
=
"
['ecw:payment:detail:writeOff']
"
>
{{
$t
(
"
提交
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
|| scope.row.status == 4
"
type
=
"
text
"
@
click
=
"
$router.push(`bankDetail?id=` + id + `&bankId=` + scope.row.id)
"
v
-
hasPermi
=
"
['ecw:payment:detail:writeOff']
"
>
{{
$t
(
"
提交
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 1
"
type
=
"
text
"
@
click
=
"
showCancel(scope.$index)
"
v
-
hasPermi
=
"
['ecw:payment:detail:cancelWriteOff']
"
>
{{
$t
(
"
反核销
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 1
"
type
=
"
text
"
@
click
=
"
showCancel(scope.$index)
"
v
-
hasPermi
=
"
['ecw:payment:detail:cancelWriteOff']
"
>
{{
$t
(
"
反核销
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
editClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:payment:detail:bankEdit']
"
>
{{
$t
(
"
编辑
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
|| scope.row.status == 4
"
type
=
"
text
"
@
click
=
"
editClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:payment:detail:bankEdit']
"
>
{{
$t
(
"
编辑
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 2
"
type
=
"
text
"
@
click
=
"
cancelClick(scope.$index, 1)
"
v
-
hasPermi
=
"
['ecw:payment:detail:cancelDetailApproval']
"
>
{{
$t
(
"
取消审核
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 2
"
type
=
"
text
"
@
click
=
"
cancelClick(scope.$index, 1)
"
v
-
hasPermi
=
"
['ecw:payment:detail:cancelDetailApproval']
"
>
{{
$t
(
"
取消审核
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 3
"
type
=
"
text
"
@
click
=
"
cancelClick(scope.$index, 2)
"
v
-
hasPermi
=
"
['ecw:payment:detail:cancelWriteOffNo']
"
>
{{
$t
(
"
取消反核销审核
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 3
"
type
=
"
text
"
@
click
=
"
cancelClick(scope.$index, 2)
"
v
-
hasPermi
=
"
['ecw:payment:detail:cancelWriteOffNo']
"
>
{{
$t
(
"
取消反核销审核
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 3 || scope.row.status == 2
"
type
=
"
text
"
@
click
=
"
$router.push(`/bpm/process-instance/detail?id=` + scope.row.bmpId)
"
v
-
hasPermi
=
"
['ecw:payment:detail:approval']
"
>
{{
$t
(
"
审核详情
"
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 3 || scope.row.status == 2
"
type
=
"
text
"
@
click
=
"
$router.push(`/bpm/process-instance/detail?id=` + scope.row.bmpId)
"
v
-
hasPermi
=
"
['ecw:payment:detail:approval']
"
>
{{
$t
(
"
审核详情
"
)
}}
<
/el-button
>
...
@@ -506,12 +506,13 @@
...
@@ -506,12 +506,13 @@
<
el
-
form
-
item
:
label
=
"
$t('流水号')
"
v
-
if
=
"
addForm.id
"
>
{{
addForm
.
serialNumber
}}
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('流水号')
"
v
-
if
=
"
addForm.id
"
>
{{
addForm
.
serialNumber
}}
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('收款单号')
"
>
{{
form
.
receiptNo
}}
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('收款单号')
"
>
{{
form
.
receiptNo
}}
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('剩余应收金额')
"
>
<
el
-
form
-
item
:
label
=
"
$t('剩余应收金额')
"
>
<
template
v
-
if
=
"
surplusData.length == 0
"
>
0
<
/template
>
<
template
>
{{
getCurrencySymbol
(
showCurrencyId
)
}}
{{
remainingAmountReceived
}}
<
/template
>
<!--
<
template
v
-
if
=
"
surplusData.length == 0
"
>
0
<
/template
>
<
div
v
-
else
>
<
div
v
-
else
>
<
div
v
-
for
=
"
(amount, currency) in surplusData
"
:
key
=
"
currency
"
>
<
div
v
-
for
=
"
(amount, currency) in surplusData
"
:
key
=
"
currency
"
>
<
span
v
-
if
=
"
amount
"
>
{{
amount
}}
{{
getCurrencyLabel
(
currency
)
}}
<
/span
>
<
span
v
-
if
=
"
amount
"
>
{{
amount
}}
{{
getCurrencyLabel
(
currency
)
}}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
/div>
--
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
<
el
-
form
-
item
:
label
=
"
$t('收款账户')
"
:
label
=
"
$t('收款账户')
"
...
@@ -688,6 +689,7 @@
...
@@ -688,6 +689,7 @@
width
=
"
160
"
width
=
"
160
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
{{
row
}}
<
el
-
input
-
number
style
=
"
width: 136px
"
@
change
=
"
changeCurrentItemWirteOff(scope.row.id)
"
v
-
if
=
"
!isView && addForm.writeOffAmount
"
:
min
=
"
0
"
:
precision
=
"
2
"
:
controls
=
"
false
"
v
-
model
=
"
scope.row.writeOffAmount
"
><
/el-input-number
>
<
el
-
input
-
number
style
=
"
width: 136px
"
@
change
=
"
changeCurrentItemWirteOff(scope.row.id)
"
v
-
if
=
"
!isView && addForm.writeOffAmount
"
:
min
=
"
0
"
:
precision
=
"
2
"
:
controls
=
"
false
"
v
-
model
=
"
scope.row.writeOffAmount
"
><
/el-input-number
>
<
span
v
-
else
>
{{
scope
.
row
.
writeOffAmount
}}
<
/span
>
<
span
v
-
else
>
{{
scope
.
row
.
writeOffAmount
}}
<
/span
>
<
/template
>
<
/template
>
...
@@ -896,11 +898,11 @@ export default {
...
@@ -896,11 +898,11 @@ export default {
return
"
XX
"
return
"
XX
"
}
}
}
,
}
,
// 已核销总金额
//
实收
已核销总金额
writeOffTotal
()
{
writeOffTotal
()
{
let
total
=
{
}
let
total
=
{
}
this
.
detailed
.
forEach
((
item
)
=>
{
this
.
detailed
.
forEach
((
item
)
=>
{
if
(
item
.
status
)
{
if
(
item
.
status
==
1
||
item
.
status
==
3
)
{
if
(
!
total
[
item
.
currencyId
])
{
if
(
!
total
[
item
.
currencyId
])
{
total
[
item
.
currencyId
]
=
item
.
amount
total
[
item
.
currencyId
]
=
item
.
amount
}
else
total
[
item
.
currencyId
]
=
NP
.
plus
(
total
[
item
.
currencyId
],
item
.
amount
)
}
else
total
[
item
.
currencyId
]
=
NP
.
plus
(
total
[
item
.
currencyId
],
item
.
amount
)
...
@@ -912,7 +914,7 @@ export default {
...
@@ -912,7 +914,7 @@ export default {
writeOffAmount
()
{
writeOffAmount
()
{
let
total
=
0
let
total
=
0
this
.
detailed
.
forEach
((
item
)
=>
{
this
.
detailed
.
forEach
((
item
)
=>
{
if
(
item
.
status
)
{
if
(
item
.
status
==
1
||
item
.
status
==
3
)
{
total
=
NP
.
plus
(
total
,
item
.
writeOffAmount
)
total
=
NP
.
plus
(
total
,
item
.
writeOffAmount
)
}
}
}
)
}
)
...
@@ -930,7 +932,7 @@ export default {
...
@@ -930,7 +932,7 @@ export default {
let
amountTotal
=
this
.
form
.
receiptAccountList
.
find
((
item
)
=>
item
.
type
==
"
total
"
).
writeOffAmount
let
amountTotal
=
this
.
form
.
receiptAccountList
.
find
((
item
)
=>
item
.
type
==
"
total
"
).
writeOffAmount
this
.
detailed
.
forEach
((
item
)
=>
{
this
.
detailed
.
forEach
((
item
)
=>
{
if
(
item
.
status
)
{
if
(
item
.
status
==
1
||
item
.
status
==
3
)
{
total
=
NP
.
plus
(
total
,
item
.
writeOffAmount
)
total
=
NP
.
plus
(
total
,
item
.
writeOffAmount
)
}
}
}
)
}
)
...
@@ -938,6 +940,17 @@ export default {
...
@@ -938,6 +940,17 @@ export default {
let
portion
=
NP
.
divide
(
total
,
amountTotal
)
let
portion
=
NP
.
divide
(
total
,
amountTotal
)
if
(
!
portion
)
return
0
if
(
!
portion
)
return
0
return
(
portion
*
100
).
toFixed
(
2
)
return
(
portion
*
100
).
toFixed
(
2
)
}
,
remainingAmountReceived
()
{
let
total
=
0
let
amountTotal
=
this
.
form
.
receiptAccountList
.
find
((
item
)
=>
item
.
type
==
"
total
"
).
writeOffAmount
this
.
detailed
.
forEach
((
item
)
=>
{
if
(
item
.
status
!=
0
||
item
.
status
!=
4
)
{
total
=
NP
.
plus
(
total
,
item
.
writeOffAmount
)
}
}
)
return
NP
.
minus
(
amountTotal
,
total
)
}
}
}
,
}
,
watch
:
{
watch
:
{
...
@@ -1159,13 +1172,6 @@ export default {
...
@@ -1159,13 +1172,6 @@ export default {
// 已填写核销金额
// 已填写核销金额
this
.
addForm
.
currentWriteOffAmount
=
NP
.
minus
(
this
.
addForm
.
writeOffAmount
,
writeOffAmount
)
this
.
addForm
.
currentWriteOffAmount
=
NP
.
minus
(
this
.
addForm
.
writeOffAmount
,
writeOffAmount
)
}
,
}
,
//银行收款明细基准金额
// addFormCurrentWriteOffAmount(writeOffAmount)
{
// this.addForm.currentWriteOffAmount = NP.round(writeOffAmount, 2)
// console.log("8888", this.addForm.currentWriteOffAmount)
// return this.addForm.currentWriteOffAmount
//
}
,
//根据ID 获取收款单应收明细列表信息
async
getReceiptItemList
()
{
async
getReceiptItemList
()
{
await
getInvoicingItem
({
id
:
this
.
$route
.
query
.
id
}
).
then
((
res
)
=>
{
await
getInvoicingItem
({
id
:
this
.
$route
.
query
.
id
}
).
then
((
res
)
=>
{
this
.
list
=
[...
res
.
data
]
this
.
list
=
[...
res
.
data
]
...
@@ -1511,7 +1517,7 @@ export default {
...
@@ -1511,7 +1517,7 @@ export default {
}
}
}
)
}
)
if
(
this
.
addForm
.
remainingWriteOffAmount
!=
0
)
{
if
(
this
.
addForm
.
remainingWriteOffAmount
!=
0
)
{
this
.
$modal
.
msgError
(
this
.
$t
(
`未填写核销金额
>
0 ,请检查`
))
this
.
$modal
.
msgError
(
this
.
$t
(
`未填写核销金额
不为
0 ,请检查`
))
throw
new
Error
(
"
Exit loop
"
)
throw
new
Error
(
"
Exit loop
"
)
}
}
if
(
totalInput
>
this
.
addForm
.
writeOffAmount
)
{
if
(
totalInput
>
this
.
addForm
.
writeOffAmount
)
{
...
@@ -1688,6 +1694,9 @@ export default {
...
@@ -1688,6 +1694,9 @@ export default {
this
.
currentReceiptItemId
=
null
this
.
currentReceiptItemId
=
null
loadBankReceiptItemList
({
receiptId
:
this
.
$route
.
query
.
id
}
).
then
((
res
)
=>
{
loadBankReceiptItemList
({
receiptId
:
this
.
$route
.
query
.
id
}
).
then
((
res
)
=>
{
this
.
bankReceiptItemList
=
res
.
data
this
.
bankReceiptItemList
=
res
.
data
this
.
bankReceiptItemList
.
forEach
((
item
)
=>
{
item
.
writeOffAmount
=
0
}
)
this
.
addForm
=
{
}
this
.
addForm
=
{
}
this
.
openAddDialog
=
true
this
.
openAddDialog
=
true
...
...
src/views/ecw/financial/selfNoReportNew/index.vue
View file @
f22f2119
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('自编号状态')"
prop=
"boxStatus"
>
<el-form-item
:label=
"$t('自编号状态')"
prop=
"boxStatus"
>
<dict-selector
:type=
"DICT_TYPE.BOX_ORDER_SHIPMENT_STATE"
v-model=
"queryParams.boxStatus"
clearable
></dict-selector>
<dict-selector
multiple
:type=
"DICT_TYPE.BOX_ORDER_SHIPMENT_STATE"
v-model=
"queryParams.boxStatus"
clearable
></dict-selector>
</el-form-item>
</el-form-item>
<!--
<el-form-item
:label=
"$t('结算时间')"
prop=
"dateFilter"
>
<!--
<el-form-item
:label=
"$t('结算时间')"
prop=
"dateFilter"
>
<el-date-picker
v-model=
"dateFilter"
type=
"datetimerange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
value-format=
"yyyy-MM-dd HH:mm:ss"
@
change=
"handleQuery"
>
</el-date-picker>
<el-date-picker
v-model=
"dateFilter"
type=
"datetimerange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
value-format=
"yyyy-MM-dd HH:mm:ss"
@
change=
"handleQuery"
>
</el-date-picker>
...
@@ -153,8 +153,12 @@
...
@@ -153,8 +153,12 @@
<el-table-column
:label=
"$t('财务结算')"
align=
"center"
prop=
"slSettledTime"
width=
"200"
fixed=
"left"
>
</el-table-column>
<el-table-column
:label=
"$t('财务结算')"
align=
"center"
prop=
"slSettledTime"
width=
"200"
fixed=
"left"
>
</el-table-column>
<el-table-column
:label=
"$t('No.柜号')"
width=
"130"
align=
"center"
prop=
"selfNo"
fixed=
"left"
>
<el-table-column
:label=
"$t('No.柜号')"
width=
"130"
align=
"center"
prop=
"selfNo"
fixed=
"left"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"permissions.indexOf('selfno:report:detail') > -1"
type=
"text"
@
click=
"$router.push('./selfNoReportDetailNew?containerNumber=' + scope.row.selfNo)"
>
{{
scope
.
row
.
selfNo
}}
</el-button>
<router-link
v-if=
"permissions.indexOf('selfno:report:detail') > -1"
:to=
"
{ path: './selfNoReportDetailNew?containerNumber=' + scope.row.selfNo }">
{{
scope
.
row
.
selfNo
}}
</router-link>
<span
v-else
>
{{
scope
.
row
.
selfNo
}}
</span>
<span
v-else
>
{{
scope
.
row
.
selfNo
}}
</span>
<!--
<el-button
type=
"text"
@
click=
"$router.push('./selfNoReportDetailNew?containerNumber=' + scope.row.selfNo)"
>
{{
scope
.
row
.
selfNo
}}
</el-button>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('应收款(Accounts receivable)')"
align=
"center"
>
<el-table-column
:label=
"$t('应收款(Accounts receivable)')"
align=
"center"
>
...
@@ -242,7 +246,7 @@ export default {
...
@@ -242,7 +246,7 @@ export default {
daogangTime
:
this
.
setETATime
(),
//到港时间
daogangTime
:
this
.
setETATime
(),
//到港时间
startWarehouseIdList
:
[],
//始发仓
startWarehouseIdList
:
[],
//始发仓
destWarehouseIdList
:
[],
//目的地
destWarehouseIdList
:
[],
//目的地
boxStatus
:
""
,
//自编号状态
boxStatus
:
[]
,
//自编号状态
page
:
1
,
page
:
1
,
rows
:
10
rows
:
10
},
},
...
...
src/views/ecw/financial/selfNoReportNew/selfNoReportDetailNew/index.vue
View file @
f22f2119
...
@@ -269,9 +269,7 @@
...
@@ -269,9 +269,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('提货率')"
align=
"center"
width=
"120"
>
<el-table-column
:label=
"$t('提货率')"
align=
"center"
width=
"120"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
{{
row
.
pickRatio
}}
%
</
template
>
{{
row
.
pickRatio
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('提单制作')"
align=
"center"
width=
"120"
>
<el-table-column
:label=
"$t('提单制作')"
align=
"center"
width=
"120"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
...
...
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