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
39fc7064
Commit
39fc7064
authored
Jul 04, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加单据驳回备注
parent
84b138e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
19 deletions
+40
-19
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+40
-19
No files found.
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
39fc7064
...
...
@@ -352,6 +352,19 @@
color
:
#3980C8
;
font-size
:
12px
;
}
.FD_remark_list
{
margin-top
:
10px
;
color
:
#E95252
;
}
.FD_remark_list
span
:first-child
{
display
:
inline-block
;
width
:
26px
;
vertical-align
:
top
;
}
.FD_remark_list
span
:last-child
{
display
:
inline-block
;
width
:
90%
;
}
</
style
>
<
template
>
...
...
@@ -772,6 +785,21 @@
<viewer
:images=
"images"
:options=
'imageOptions'
@
inited=
"inited"
class=
"viewer"
ref=
"viewer"
>
<img
v-for=
"src in images"
:src=
"src"
:key=
"src"
>
</viewer>
<el-dialog
custom-class=
'w400'
title=
"提示"
:visible
.
sync=
"finacialDialog"
center
>
<
template
>
<el-input
type=
"textarea"
v-model=
"AuditOrRefundMsg.Description"
rows=
"3"
resize=
"none"
></el-input>
<div
class=
"FD_remark_list"
>
<span>
注:
</span>
<span>
驳回后,单据将重新开始审批流程。备注内容将在操作日志里显示
</span>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"finacialDialog=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"setBoHui()"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</
template
>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -790,6 +818,8 @@ import myDJieBill from "./FinancialSubmodule/DjieMergeBillModule.vue";
export
default
{
data
(){
return
{
//驳回弹窗
finacialDialog
:
false
,
ZhiDanRen
:
-
1
,
imageOptions
:{
navbar
:
false
,
...
...
@@ -808,6 +838,7 @@ export default {
},
AuditOrRefundMsg
:{
WorkFlowId
:
''
,
Description
:
''
},
AuditListData
:{
AuditList
:[]
...
...
@@ -951,30 +982,20 @@ export default {
},
null
)
},
bohui
(){
this
.
AuditOrRefundMsg
.
WorkFlowId
=
this
.
ID
;
this
.
$confirm
(
'是否驳回单号'
+
'“'
+
this
.
ID
+
'”'
+
'的单据?驳回后,单据将重新开始审批流程。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
finacialDialog
=
true
;
this
.
AuditOrRefundMsg
.
WorkFlowId
=
this
.
ID
;
},
//确定驳回
setBoHui
(){
this
.
apipost
(
'Financial_post_PersonRefund'
,
this
.
AuditOrRefundMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
$message
.
success
(
res
.
data
.
message
);
let
_this
=
this
;
setTimeout
(
function
()
{
_this
.
MsgBus
.
$emit
(
'msg'
,
'close'
);
},
500
)
this
.
Success
(
res
.
data
.
message
);
this
.
finacialDialog
=
false
;
this
.
Financial_post_GetDetail
(
this
.
ID
)
}
else
{
this
.
resultCode
=
res
.
data
.
resultCode
;
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
goPrintPage
(
type
,
id
,
Merge
,
OrderSource
){
if
(
type
===
1
){
...
...
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