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
e3dc1da8
Commit
e3dc1da8
authored
Mar 09, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
如果是审批界面还是能编辑
parent
6c9b1e3f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
typesBill.vue
...ms-plugin-billexpand/src/components-control/typesBill.vue
+2
-1
bill-form-runner.vue
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
+2
-1
No files found.
develop/@gms/gms-plugin-billexpand/src/components-control/typesBill.vue
View file @
e3dc1da8
...
@@ -70,7 +70,8 @@ export default {
...
@@ -70,7 +70,8 @@ export default {
loadFinishFun
(
bill
)
{
loadFinishFun
(
bill
)
{
console
.
log
(
'billState'
,
bill
.
getMasterData
().
getValue
(
'billState'
))
console
.
log
(
'billState'
,
bill
.
getMasterData
().
getValue
(
'billState'
))
const
workflowState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
const
workflowState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
if
(
this
.
state
!=
'readOnly'
&&
[
90
,
92
].
includes
(
workflowState
))
{
let
readArr
=
this
.
templateName
.
endsWith
(
'_A'
)?[
92
]:[
90
,
92
];
//如果是审批界面话,90能编辑
if
(
this
.
state
!=
'readOnly'
&&
readArr
.
includes
(
workflowState
))
{
this
.
state
=
'readOnly'
;
this
.
state
=
'readOnly'
;
this
.
init
=
false
;
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
View file @
e3dc1da8
...
@@ -95,7 +95,8 @@ export default {
...
@@ -95,7 +95,8 @@ export default {
loadFinishFun
(
bill
)
{
loadFinishFun
(
bill
)
{
this
.
curBill
=
bill
;
this
.
curBill
=
bill
;
const
billState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
const
billState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
if
(
this
.
state
!=
'readOnly'
&&
[
90
,
92
].
includes
(
billState
))
{
let
readArr
=
this
.
templateName
.
endsWith
(
'_A'
)?[
92
]:[
90
,
92
];
//如果是审批界面话,90能编辑
if
(
this
.
state
!=
'readOnly'
&&
readArr
.
includes
(
billState
))
{
this
.
state
=
'readOnly'
;
this
.
state
=
'readOnly'
;
this
.
init
=
false
;
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
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