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
400fbd61
Commit
400fbd61
authored
Jul 09, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1车辆折旧
parent
1c0cdadb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
2 deletions
+64
-2
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+61
-2
EasyReport.vue
src/components/FinancialModule/ReportForm/EasyReport.vue
+3
-0
No files found.
src/components/FinancialModule/RecPayQuery.vue
View file @
400fbd61
...
...
@@ -312,7 +312,7 @@
:
loading
=
"loadingDC2"
class
=
"normalBtn"
@
click
=
"method5(2)"
>
{{
$t
(
'objFill.fapiaopzdc'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"isBatchPrinting"
:
loading
=
"loadingDC"
class
=
"normalBtn"
:
loading
=
"loadingDC"
class
=
"normalBtn"
@
click
=
"goPrinting()"
>
批量打印
<
/el-button
>
<
/li
>
<
/ul
>
...
...
@@ -605,6 +605,7 @@
<
div
class
=
"recpayQueryMore"
v
-
if
=
"IsUpdatePayment == true && scope.row.Type==2"
@
click
=
"showPayment(scope.row.FrID)"
>
{{
$t
(
'objFill.xiugaidianfudx'
)
}}
<
/div
>
<
div
class
=
"recpayQueryMore"
v
-
if
=
"scope.row.KingdeeInvoice!=3&&scope.row.Type==2&&IsUpdatePayment"
@
click
=
"EditInvoiceStatus(scope.row)"
>
{{(
scope
.
row
.
KingdeeInvoice
==
1
||
scope
.
row
.
KingdeeInvoice
==
0
)?
$t
(
'objFill.buxuyaofapiao'
):
$t
(
'objFill.xuyaofapiao'
)
}}
<
/div
>
<
div
class
=
"recpayQueryMore"
v
-
if
=
"(scope.row.Type==1||scope.row.Type==2)&& IsUpdatePayment"
@
click
=
"showHelpBranch(scope.row)"
>
{{
scope
.
row
.
Type
==
1
?
$t
(
'objFill.xiugaibdsgs'
):(
scope
.
row
.
Type
==
2
?
$t
(
'objFill.xiugaibdfgs'
):
''
)
}}
<
/div
>
<
div
class
=
"recpayQueryMore"
v
-
if
=
"scope.row.Type==2 && scope.row.CostTypeList && scope.row.CostTypeList[0]=='固定资产-车辆'"
@
click
=
"showAssets(scope.row.FrID)"
>
设置折旧期限
<
/div
>
<
i
slot
=
"reference"
style
=
"width: 30px;
height: 30px;
display: inline-block;
...
...
@@ -874,6 +875,22 @@
{{
$t
(
'pub.sureBtn'
)
}}
<
/el-button
>
<
/div
>
<
/el-dialog
>
<!--
设置折旧期限
-->
<
el
-
dialog
title
=
"设置折旧期限"
width
=
"300px"
:
visible
.
sync
=
"ShowFixedAssets"
center
>
<
el
-
form
class
=
"cdForm"
label
-
width
=
"90px"
>
<
el
-
form
-
item
label
=
"起始月份"
prop
=
"CreateDate"
>
<
el
-
input
v
-
model
=
"FixedAssetsMsg.CreateDate"
class
=
""
><
/el-input
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"折旧月数"
prop
=
"RelevanceFrId2"
>
<
el
-
input
v
-
model
=
"FixedAssetsMsg.RelevanceFrId2"
class
=
""
><
/el-input
>
<
/el-form-item
>
<
/el-form
>
<
div
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
class
=
"hollowFixedBtn"
@
click
=
"ShowFixedAssets=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
<
/el-button
>
<
el
-
button
class
=
"normalBtn"
type
=
"primary"
@
click
=
"setFixedAssets"
:
loading
=
"transTax.loading"
>
{{
$t
(
'pub.sureBtn'
)
}}
<
/el-button
>
<
/div
>
<
/el-dialog
>
<
/div
>
<
/template
>
<
script
>
...
...
@@ -1045,6 +1062,12 @@
dialogTitle1
:
""
,
multipleSelection
:
[],
isBatchPrinting
:
false
,
ShowFixedAssets
:
false
,
FixedAssetsMsg
:{
BaseFinanceId
:
0
,
RelevanceFrId2
:
0
,
CreateDate
:
''
}
}
}
,
created
()
{
...
...
@@ -1288,7 +1311,43 @@
this
.
financeinfo_post_GetClientTypeList
();
this
.
PaymentSync
=
true
;
}
,
showAssets
(
FrId
)
{
//弹出付款对象修改
this
.
FixedAssetsMsg
.
BaseFinanceId
=
FrId
;
this
.
apipost
(
"Financial_post_GetCarFixedAssetsDate"
,
{
FrId
:
FrId
}
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ShowFixedAssets
=
true
;
this
.
FixedAssetsMsg
.
CreateDate
=
res
.
data
.
data
.
CreateDate
;
this
.
FixedAssetsMsg
.
RelevanceFrId2
=
res
.
data
.
data
.
RelevanceFrId2
;
}
}
,
err
=>
{
}
);
}
,
// 确定垫付对象
setFixedAssets
()
{
if
(
this
.
transTax
.
loading
)
return
;
this
.
transTax
.
loading
=
true
;
if
(
this
.
FixedAssetsMsg
.
BaseFinanceId
&&
this
.
FixedAssetsMsg
.
CreateDate
&&
this
.
FixedAssetsMsg
.
RelevanceFrId2
)
{
this
.
apipost
(
"Financial_post_SetCarFixedAssetsDate"
,
this
.
FixedAssetsMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
`更新成功`
)
;
this
.
ShowFixedAssets
=
false
;
}
this
.
transTax
.
loading
=
false
;
}
,
err
=>
{
this
.
transTax
.
loading
=
false
;
}
);
}
else
{
this
.
transTax
.
loading
=
false
;
this
.
Error
(
`请输入起始月份以及折旧月数`
)
;
}
}
,
showHelpBranch
(
item
)
{
//弹出付款对象修改
...
...
src/components/FinancialModule/ReportForm/EasyReport.vue
View file @
400fbd61
...
...
@@ -1184,6 +1184,9 @@ export default {
that
.
GoUrlFan
(
'JumpReport'
,
month
,
rowData
.
Year
,
rowData
.
BranchId
,
rowData
.
CostIds
,
StandardCurrencyId
)
//}
}
else
if
(
rowData
.
ZhaiYao
==
'车辆折旧'
){
//不跳转
}
else
{
that
.
GoUrlFan
(
'JumpReport'
,
month
,
rowData
.
Year
,
rowData
.
BranchId
,
rowData
.
CostIds
,
StandardCurrencyId
)
}
...
...
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