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
d81b7798
Commit
d81b7798
authored
Feb 28, 2022
by
袁成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:单据待审批可编辑配置
parent
280eb4b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
typesBill.vue
...ms-plugin-billexpand/src/components-control/typesBill.vue
+1
-1
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+7
-1
examineAction.js
.../gms-plugin-billexpand/src/query-actions/examineAction.js
+3
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/components-control/typesBill.vue
View file @
d81b7798
...
...
@@ -70,7 +70,7 @@ export default {
loadFinishFun
(
bill
)
{
console
.
log
(
'billState'
,
bill
.
getMasterData
().
getValue
(
'billState'
))
const
workflowState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
if
([
9
0
,
9
2
].
includes
(
workflowState
))
{
if
([
92
].
includes
(
workflowState
))
{
this
.
state
=
'readOnly'
}
let
that
=
this
;
...
...
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
d81b7798
...
...
@@ -974,6 +974,12 @@ export default {
"type"
:
"field"
,
"title"
:
"字段taskId"
,
"key"
:
"taskId"
},
{
"isRequired"
:
true
,
"type"
:
"Boolean"
,
"title"
:
"可编辑"
,
"key"
:
"canEdit"
}
]
},
...
...
@@ -1563,7 +1569,7 @@ export default {
"description"
:
""
,
"title"
:
"财务_保存[CW_saveAction]"
,
"value"
:
"CW_saveAction"
,
"btnDisable"
:
"billReadOnly;9
0;9
2"
"btnDisable"
:
"billReadOnly;92"
},
{
"discard"
:
false
,
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/examineAction.js
View file @
d81b7798
...
...
@@ -6,6 +6,7 @@ export default {
context
.
dom
.
$Message
.
info
(
"请配置跳转页面的参数"
);
return
;
}
const
billState
=
param
.
canEdit
?
''
:
'readOnly'
GMS
.
queryObject
=
{
//上张下张用
currentDataQueryConditionSet
:
context
.
currentDataQueryConditionSet
,
index
:
context
.
selects
[
0
].
_index
||
(
context
.
selects
[
0
].
_serialIndex
)
*
1
-
1
,
...
...
@@ -26,7 +27,7 @@ export default {
{
templateName
:
templateName
,
id
:
billId
,
state
:
'readOnly'
state
:
billState
},
{
openWay
:
"FUNCTAB"
,
...
...
@@ -37,7 +38,7 @@ export default {
GMS
.
$hideContainer
.
addComponent
(
typesBill
,
{},
function
(
c
)
{
c
.
templateName
=
templateName
;
c
.
billId
=
billId
;
c
.
state
=
"readOnly"
;
c
.
state
=
billState
;
c
.
init
=
true
;
c
.
modal_visible
=
true
;
});
...
...
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