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
1f3d539c
Commit
1f3d539c
authored
Oct 14, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1289d0af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
1 deletion
+47
-1
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+47
-1
No files found.
src/components/FinancialModule/RecPayQuery.vue
View file @
1f3d539c
...
...
@@ -599,6 +599,8 @@
<
el
-
popover
placement
=
"bottom-start"
trigger
=
"click"
width
=
"100"
>
<
div
class
=
"recpayQueryMore"
v
-
if
=
"Finance_ExpenseType==true && (scope.row.Type==2 || scope.row.Type==1)"
@
click
=
"showfeiy(scope.row)"
>
{{
$t
(
'fnc.feiyongleixing'
)
}}
<
/div
>
<
div
class
=
"recpayQueryMore"
v
-
if
=
"Finance_ExpenseType==true && (scope.row.Type==2 || scope.row.Type==1)"
@
click
=
"showUpCreateDialog(scope.row.FrID)"
>
修改制单日期
<
/div
>
<
div
class
=
"recpayQueryMore"
v
-
if
=
"F_Update_CurrencyRate==true && (scope.row.Type==2 || scope.row.Type==1)"
@
click
=
"editRate(scope.row)"
>
{{
$t
(
'objFill.modifytheexchangerate'
)
}}
<
/div
>
<
div
class
=
"recpayQueryMore"
v
-
if
=
"scope.row.Type==1&&(istransaction == true || isJapanCommission == true)"
...
...
@@ -899,6 +901,24 @@
<
el
-
button
class
=
"normalBtn"
type
=
"primary"
@
click
=
"setFixedAssets"
:
loading
=
"transTax.loading"
>
{{
$t
(
'pub.sureBtn'
)
}}
<
/el-button
>
<
/div
>
<
/el-dialog
>
<!--
修改制单日期
-->
<
el
-
dialog
title
=
"修改制单日期"
width
=
"400px"
:
visible
.
sync
=
"showUpdateCreate"
center
>
<
el
-
form
class
=
"cdForm"
label
-
width
=
"110px"
>
<
el
-
form
-
item
label
=
"制单日期"
prop
=
"CreateDate"
>
<
el
-
date
-
picker
v
-
model
=
"FixedAssetsMsg.CreateDate"
type
=
"date"
value
-
format
=
"yyyy-MM-dd"
placeholder
=
"选择新制单日期"
>
<
/el-date-picker
>
<
/el-form-item
>
<
/el-form
>
<
div
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
class
=
"hollowFixedBtn"
@
click
=
"showUpdateCreate=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
<
/el-button
>
<
el
-
button
class
=
"normalBtn"
type
=
"primary"
@
click
=
"setUpdateCreate"
:
loading
=
"transTax.loading"
>
{{
$t
(
'pub.sureBtn'
)
}}
<
/el-button
>
<
/div
>
<
/el-dialog
>
<
/div
>
<
/template
>
<
script
>
...
...
@@ -1074,6 +1094,7 @@
multipleSelection
:
[],
isBatchPrinting
:
false
,
ShowFixedAssets
:
false
,
showUpdateCreate
:
false
,
FixedAssetsMsg
:{
BaseFinanceId
:
0
,
RelevanceFrId2
:
0
,
...
...
@@ -1348,6 +1369,11 @@
}
);
}
,
showUpCreateDialog
(
FrId
){
this
.
FixedAssetsMsg
.
BaseFinanceId
=
FrId
;
this
.
FixedAssetsMsg
.
CreateDate
=
''
;
this
.
showUpdateCreate
=
true
;
}
,
// 确定垫付对象
setFixedAssets
()
{
if
(
this
.
transTax
.
loading
)
return
;
...
...
@@ -1370,7 +1396,27 @@
this
.
Error
(
`请输入起始月份以及折旧月数`
)
;
}
}
,
setUpdateCreate
(){
if
(
this
.
transTax
.
loading
)
return
;
this
.
transTax
.
loading
=
true
;
if
(
this
.
FixedAssetsMsg
.
BaseFinanceId
&&
this
.
FixedAssetsMsg
.
CreateDate
)
{
this
.
apipost
(
"Financial_post_SetFinanceCreateDate"
,
{
FrIds
:
this
.
FixedAssetsMsg
.
BaseFinanceId
,
CreateDate
:
this
.
FixedAssetsMsg
.
CreateDate
}
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
`更新成功`
)
;
this
.
showUpdateCreate
=
false
;
}
this
.
transTax
.
loading
=
false
;
}
,
err
=>
{
this
.
transTax
.
loading
=
false
;
}
);
}
else
{
this
.
transTax
.
loading
=
false
;
this
.
Error
(
`请选择新制单日期`
)
;
}
}
,
showHelpBranch
(
item
)
{
//弹出付款对象修改
this
.
HelpBranchMsg
.
FrId
=
item
.
FrID
;
...
...
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