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
85b80a7e
Commit
85b80a7e
authored
Mar 22, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 点同意按钮只有只读不校验公式
parent
f6ff0504
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
agreeAction.js
...lop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
+18
-3
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
View file @
85b80a7e
...
...
@@ -14,10 +14,25 @@ export default {
}
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
let
oldObj
=
curTagId
&&
GMS
.
oldBillDataMap
[
curTagId
]?
GMS
.
oldBillDataMap
[
curTagId
]:
GMS
.
oldBillData
;
let
flag
=
compareData
(
oldObj
,
bill
.
getBuillData
())
||
bill
.
getGlobalParam
(
"noRunTimeFormula"
);
if
(
flag
)
{
const
dataChangeFlag
=
compareData
(
oldObj
,
bill
.
getBuillData
())
const
noRunTimeFormula
=
bill
.
getGlobalParam
(
"noRunTimeFormula"
)
if
(
noRunTimeFormula
)
{
this
.
approvalLogical
(
bill
,
param
,
this
)
}
else
{
}
else
if
(
!
dataChangeFlag
)
{
bill
.
runFormulaCheckData
(
param
,
(
msg
)
=>
{
if
(
msg
.
length
==
0
)
{
this
.
approvalLogical
(
bill
,
param
,
this
)
}
else
{
GMS
.
vbus
.
$Modal
.
warning
({
title
:
"信息错误"
,
content
:
msg
,
});
}
})
}
else
{
bill
.
runFormulaCheckData
(
param
,
(
msg
)
=>
{
if
(
msg
.
length
==
0
)
{
GMS
.
$hideContainer
.
$Modal
.
confirm
({
...
...
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