Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
王衍超
rbc-demo
Commits
89f2b293
Commit
89f2b293
authored
Mar 24, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(@gms/gms-plugin-billexpand): 路由模式下新建单据报错时关闭单据
parent
22e70ecb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
typesBill.vue
...ms-plugin-billexpand/src/components-control/typesBill.vue
+8
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/components-control/typesBill.vue
View file @
89f2b293
...
...
@@ -79,8 +79,14 @@ export default {
this
.
init
=
true
;
});
},
loadFinishFun
(
bill
)
{
console
.
log
(
'billState'
,
bill
.
getMasterData
().
getValue
(
'billState'
))
loadFinishFun
(
bill
,
err
)
{
if
(
err
)
{
this
.
$Message
.
error
(
err
)
setTimeout
(()
=>
{
this
.
close
()
},
0
);
return
}
const
workflowState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
let
readArr
=
this
.
templateName
.
endsWith
(
'_A'
)?[
92
]:[
90
,
92
];
//如果是审批界面话,90能编辑
if
(
this
.
state
!=
'readOnly'
&&
readArr
.
includes
(
workflowState
))
{
...
...
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