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
280eb4b3
Commit
280eb4b3
authored
Feb 24, 2022
by
袁成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 缓存单据数据按钮禁用
parent
5ba2ce63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
cacheSaveAction.js
...@gms/gms-plugin-billexpand/src/actions/cacheSaveAction.js
+7
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/cacheSaveAction.js
View file @
280eb4b3
...
...
@@ -67,14 +67,18 @@ export default {
}
else
{
if
(
msg
[
0
]
==
1
){
GAMS
.
Common
.
messagePrompt
(
msg
[
1
]);
this
.
bill
.
setControlsSate
(
param
[
"_control_name_"
],
'enable'
,
true
)
}
else
{
GMS
.
$hideContainer
.
$Modal
.
confirm
({
title
:
'信息提示'
,
content
:
msg
[
1
],
onOk
:
()
=>
{
this
.
bill
.
setControlsSate
(
param
[
"_control_name_"
],
'enable'
,
true
)
GMS
.
vbus
.
$emit
(
'cacheEcho'
,
buidData
);
//正常情况回去给子表赋值
},
onCancel
:
()
=>
{}
onCancel
:
()
=>
{
this
.
bill
.
setControlsSate
(
param
[
"_control_name_"
],
'enable'
,
true
)
}
});
}
}
...
...
@@ -82,7 +86,8 @@ export default {
}).
catch
(
resp
=>
{
// bill.setControlsSate(param["_control_name_"], 'enable',true);
console
.
error
(
"cacheSaveAction:接口调用失败 resp:"
+
resp
)
GAMS
.
Common
.
messagePrompt
(
'单据保存失败..'
);
this
.
bill
.
setControlsSate
(
param
[
"_control_name_"
],
'enable'
,
true
)
GAMS
.
Common
.
messagePrompt
(
'单据保存失败。'
);
})
}
}
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