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
af0d13e0
Commit
af0d13e0
authored
Mar 22, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
curId
parent
a9948cea
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
8 deletions
+16
-8
agreeAction.js
...lop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
+2
-1
createBill.js
develop/@gms/gms-plugin-billexpand/src/actions/createBill.js
+2
-1
deleteBill.js
develop/@gms/gms-plugin-billexpand/src/actions/deleteBill.js
+2
-1
editBill.js
develop/@gms/gms-plugin-billexpand/src/actions/editBill.js
+3
-1
rejectAction.js
...op/@gms/gms-plugin-billexpand/src/actions/rejectAction.js
+2
-1
saveActionBXD.js
...p/@gms/gms-plugin-billexpand/src/actions/saveActionBXD.js
+3
-2
tempSave.js
develop/@gms/gms-plugin-billexpand/src/actions/tempSave.js
+2
-1
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
View file @
af0d13e0
...
@@ -176,7 +176,8 @@ export default {
...
@@ -176,7 +176,8 @@ export default {
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"enable"
,
true
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"enable"
,
true
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"loading"
,
false
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"loading"
,
false
)
GMS
.
$hideContainer
.
$Message
.
success
(
'审批成功!'
)
GMS
.
$hideContainer
.
$Message
.
success
(
'审批成功!'
)
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
})
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
},
curTagId
)
if
(
if
(
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
&&
...
...
develop/@gms/gms-plugin-billexpand/src/actions/createBill.js
View file @
af0d13e0
...
@@ -2,7 +2,8 @@ import {setQueryIndex} from '../query-actions/util/queryTag.js';
...
@@ -2,7 +2,8 @@ import {setQueryIndex} from '../query-actions/util/queryTag.js';
export
default
{
export
default
{
execute
(
context
,
param
)
{
execute
(
context
,
param
)
{
setQueryIndex
(
-
1
);
//上张下张用
setQueryIndex
(
-
1
);
//上张下张用
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
// 新建单据状态设置为可编辑,单据id为空
// 新建单据状态设置为可编辑,单据id为空
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
,
billId
:
null
}
)
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
,
billId
:
null
}
,
curTagId
);
},
},
}
}
develop/@gms/gms-plugin-billexpand/src/actions/deleteBill.js
View file @
af0d13e0
...
@@ -19,7 +19,8 @@ export default {
...
@@ -19,7 +19,8 @@ export default {
GMS
.
$hideContainer
.
$Modal
.
remove
();
GMS
.
$hideContainer
.
$Modal
.
remove
();
GMS
.
$hideContainer
.
$Message
.
success
(
'删除成功'
);
GMS
.
$hideContainer
.
$Message
.
success
(
'删除成功'
);
setQueryIndex
(
-
1
);
//上张下张用 ,删除成功后,跳转到新建界面
setQueryIndex
(
-
1
);
//上张下张用 ,删除成功后,跳转到新建界面
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
,
billId
:
null
})
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
,
billId
:
null
},
curTagId
)
}
else
{
}
else
{
GMS
.
$hideContainer
.
$Modal
.
remove
();
GMS
.
$hideContainer
.
$Modal
.
remove
();
GMS
.
$hideContainer
.
$Message
.
error
(
data
.
data
.
message
);
GMS
.
$hideContainer
.
$Message
.
error
(
data
.
data
.
message
);
...
...
develop/@gms/gms-plugin-billexpand/src/actions/editBill.js
View file @
af0d13e0
export
default
{
export
default
{
execute
:
function
(
bill
,
param
)
{
execute
:
function
(
bill
,
param
)
{
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
// 编辑单据状态设置为可编辑,单据id不传
// 编辑单据状态设置为可编辑,单据id不传
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
})
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
}
,
curTagId
)
}
}
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/actions/rejectAction.js
View file @
af0d13e0
...
@@ -81,7 +81,8 @@ export default {
...
@@ -81,7 +81,8 @@ export default {
}
}
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"enable"
,
true
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"enable"
,
true
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"loading"
,
false
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"loading"
,
false
)
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
})
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
},
curTagId
)
GMS
.
$hideContainer
.
$Message
.
success
(
'驳回成功!'
)
GMS
.
$hideContainer
.
$Message
.
success
(
'驳回成功!'
)
if
(
if
(
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
&&
...
...
develop/@gms/gms-plugin-billexpand/src/actions/saveActionBXD.js
View file @
af0d13e0
...
@@ -147,8 +147,9 @@ export default {
...
@@ -147,8 +147,9 @@ export default {
}).
then
(
response
=>
{
}).
then
(
response
=>
{
let
data
=
response
.
data
;
let
data
=
response
.
data
;
if
(
data
.
code
==
0
)
{
if
(
data
.
code
==
0
)
{
const
id
=
data
.
content
.
billData
.
id
const
id
=
data
.
content
.
billData
.
id
;
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
})
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
},
curTagId
)
GMS
.
vbus
.
$emit
(
'cacheEcho'
,
buidData
);
//正常情况回去给子表赋值
GMS
.
vbus
.
$emit
(
'cacheEcho'
,
buidData
);
//正常情况回去给子表赋值
}
else
if
(
data
.
code
==
-
1
&&
data
.
message
){
}
else
if
(
data
.
code
==
-
1
&&
data
.
message
){
let
stringOne
=
data
.
message
.
split
(
':'
)[
1
];
let
stringOne
=
data
.
message
.
split
(
':'
)[
1
];
...
...
develop/@gms/gms-plugin-billexpand/src/actions/tempSave.js
View file @
af0d13e0
...
@@ -102,7 +102,8 @@ export default {
...
@@ -102,7 +102,8 @@ export default {
const
id
=
response
.
data
.
content
.
billData
.
id
;
const
id
=
response
.
data
.
content
.
billData
.
id
;
initIndexZero
();
//处理上张下张
initIndexZero
();
//处理上张下张
GMS
.
vbus
.
$Message
.
success
(
"暂存成功"
);
GMS
.
vbus
.
$Message
.
success
(
"暂存成功"
);
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
})
let
curTagId
=
window
.
nros
.
context
.
getCurrTag
();
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
},
curTagId
)
GMS
.
vbus
.
$emit
(
"saveSuccess"
,
buidData
,
param
);
GMS
.
vbus
.
$emit
(
"saveSuccess"
,
buidData
,
param
);
}
else
{
}
else
{
response
.
data
.
message
&&
GMS
.
vbus
.
$Message
.
error
({
response
.
data
.
message
&&
GMS
.
vbus
.
$Message
.
error
({
...
...
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