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
392b9407
Commit
392b9407
authored
Mar 02, 2022
by
fengjiansheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop-fengjiansheng
parents
726eddf3
87db52dc
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
5 deletions
+29
-5
saveAction.js
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
+5
-1
showDetailSPAction.js
...s/gms-plugin-billexpand/src/actions/showDetailSPAction.js
+3
-1
add-info-modal.vue
...ugin-billexpand/src/components-control/add-info-modal.vue
+2
-0
edit-modal.vue
...ugin-billexpand/src/control/baseDataSelect/edit-modal.vue
+9
-0
buttonGrouop.vue
...p/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
+10
-3
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
View file @
392b9407
...
@@ -114,8 +114,12 @@ export default {
...
@@ -114,8 +114,12 @@ export default {
GMS
.
queryObject
.
index
=
0
;
GMS
.
queryObject
.
index
=
0
;
}
}
GMS
.
vbus
.
$Message
.
success
(
"保存成功"
);
GMS
.
vbus
.
$Message
.
success
(
"保存成功"
);
if
(
param
.
param
&&
param
.
param
.
isApprove
)
{
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
})
}
else
{
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
})
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
})
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
({
content
:
errorMessageUtil
.
saveAction
.
getErrorMessage
(
response
.
data
.
message
),
content
:
errorMessageUtil
.
saveAction
.
getErrorMessage
(
response
.
data
.
message
),
...
...
develop/@gms/gms-plugin-billexpand/src/actions/showDetailSPAction.js
View file @
392b9407
...
@@ -7,7 +7,9 @@ export default {
...
@@ -7,7 +7,9 @@ export default {
GMS
.
showDetailAction
=
true
;
//详情,点击确定按钮。记录此参数
GMS
.
showDetailAction
=
true
;
//详情,点击确定按钮。记录此参数
component
=
c
;
component
=
c
;
c
.
bill
=
bill
;
c
.
bill
=
bill
;
c
.
isReadOnly
=
true
c
.
isReadOnly
=
true
;
c
.
state
=
'readOnly'
;
c
.
hideButtonGroup
=
true
;
let
tableName
=
null
;
let
tableName
=
null
;
if
(
param
.
param
&&
param
.
param
.
tableName
){
if
(
param
.
param
&&
param
.
param
.
tableName
){
tableName
=
param
.
param
.
tableName
tableName
=
param
.
param
.
tableName
...
...
develop/@gms/gms-plugin-billexpand/src/components-control/add-info-modal.vue
View file @
392b9407
...
@@ -76,6 +76,7 @@
...
@@ -76,6 +76,7 @@
:state=
"state"
:state=
"state"
v-if=
"selectBill"
v-if=
"selectBill"
@
loadFinish=
"loadFinishFun"
@
loadFinish=
"loadFinishFun"
:hideButtonGroup=
"hideButtonGroup"
></gms-bill-form>
></gms-bill-form>
<div
slot=
"footer"
style=
"height: 0"
></div>
<div
slot=
"footer"
style=
"height: 0"
></div>
</Modal>
</Modal>
...
@@ -112,6 +113,7 @@ export default {
...
@@ -112,6 +113,7 @@ export default {
tableColnum
:
[],
tableColnum
:
[],
subBillData
:
null
,
subBillData
:
null
,
masterFieldsObj
:{},
masterFieldsObj
:{},
hideButtonGroup
:
false
};
};
},
},
mounted
()
{
mounted
()
{
...
...
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/edit-modal.vue
View file @
392b9407
...
@@ -25,9 +25,11 @@
...
@@ -25,9 +25,11 @@
<
template
>
<
template
>
<div
class=
"dept-person-div"
>
<div
class=
"dept-person-div"
>
<Modal
<Modal
ref=
"modal"
v-model=
"visible"
v-model=
"visible"
:title=
"title"
:title=
"title"
:width=
"modalWidth"
:width=
"modalWidth"
:mask-closable=
"false"
@
on-ok=
"onOk"
@
on-ok=
"onOk"
@
on-cancel=
"onCancel"
@
on-cancel=
"onCancel"
>
>
...
@@ -134,8 +136,15 @@ export default {
...
@@ -134,8 +136,15 @@ export default {
window
.
onresize
=
()
=>
{
window
.
onresize
=
()
=>
{
this
.
getModalHeight
()
this
.
getModalHeight
()
}
}
this
.
$refs
.
modal
.
$el
.
addEventListener
(
'click'
,
this
.
stopPropagation
)
},
beforeUnmount
()
{
this
.
$refs
.
modal
.
$el
.
removeeventlistener
(
'click'
,
this
.
stopPropagation
)
},
},
methods
:
{
methods
:
{
stopPropagation
(
event
)
{
event
.
stopPropagation
()
},
getModalHeight
()
{
getModalHeight
()
{
let
viewport
=
window
.
innerHeight
let
viewport
=
window
.
innerHeight
if
(
viewport
<=
600
&&
viewport
>=
400
)
{
if
(
viewport
<=
600
&&
viewport
>=
400
)
{
...
...
develop/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
View file @
392b9407
...
@@ -136,9 +136,16 @@ export default {
...
@@ -136,9 +136,16 @@ export default {
approveState
=
this
.
workflowState
approveState
=
this
.
workflowState
}
}
let
disableState
=
val
.
split
(
';'
)
let
disableState
=
val
.
split
(
';'
)
// 配置工作流已提交未审批90状态下可用
// 配置工作流已提交未审批90, billReadOnly状态下可用
if
(
btnItem
&&
btnItem
.
isApprove
)
{
// 主要用于保存在审批状态下可用,审批还能修改··
disableState
=
disableState
.
filter
(
item
=>
item
!==
'90'
)
if
(
this
.
define
.
btnGroupAction
&&
this
.
define
.
btnGroupAction
[
btnItem
]
&&
this
.
define
.
btnGroupAction
[
btnItem
].
isApprove
)
{
disableState
=
disableState
.
filter
(
item
=>
{
if
(
item
===
'90'
)
{
return
false
}
else
{
return
true
}
})
}
}
const
getBillState
=
()
=>
{
const
getBillState
=
()
=>
{
if
(
this
.
tmpBill
.
state
===
''
)
{
if
(
this
.
tmpBill
.
state
===
''
)
{
...
...
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