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
685915ce
Commit
685915ce
authored
Mar 08, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
42a9b5b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
bill-form-runner.vue
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
+8
-5
No files found.
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
View file @
685915ce
...
...
@@ -56,7 +56,6 @@ export default {
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
init
=
true
;
// this.type = 'load'
});
});
GMS
.
vbus
.
$on
(
"workflow-state-change"
,
(
val
)
=>
{
...
...
@@ -79,7 +78,7 @@ export default {
return
}
const
tem
=
this
.
curBill
&&
this
.
curBill
.
getBuillData
()
||
{}
if
(
compareData
(
GMS
.
oldBillDataMap
[
this
.
curTagId
],
tem
))
cb
(
true
)
if
(
compareData
(
GMS
.
oldBillDataMap
[
this
.
curTagId
],
tem
)
||
this
.
state
==
'readOnly'
)
cb
(
true
)
else
{
this
.
$Modal
.
confirm
({
title
:
"信息提示"
,
...
...
@@ -96,9 +95,13 @@ export default {
loadFinishFun
(
bill
)
{
this
.
curBill
=
bill
;
const
billState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
if
([
90
,
92
].
includes
(
billState
))
{
this
.
state
=
'readOnly'
}
if
(
this
.
state
!=
'readOnly'
&&
[
90
,
92
].
includes
(
billState
))
{
this
.
state
=
'readOnly'
;
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
init
=
true
;
});
}
setTimeout
(()
=>
{
GMS
.
oldBillData
=
bill
.
getBuillData
();
if
(
!
GMS
.
oldBillDataMap
)
GMS
.
oldBillDataMap
=
{}
...
...
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