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
faf6d847
Commit
faf6d847
authored
May 24, 2022
by
yangchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增按钮 年中调整
parent
a9609f96
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
0 deletions
+73
-0
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+25
-0
mcon.js
develop/@gms/gms-plugin-billexpand/src/mcon.js
+2
-0
gh_djTransfer.js
...billexpand/src/query-actions/labourUnion/gh_djTransfer.js
+46
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
faf6d847
...
...
@@ -1433,6 +1433,31 @@ export default {
"title"
:
"自定义删除"
},
{
"value"
:
"GH_djTransfer"
,
"discard"
:
false
,
"path"
:
"工会"
,
"extends"
:
{
"paramDes"
:
[
{
"isRequired"
:
true
,
"ref"
:
"bill"
,
"type"
:
"metaData"
,
"title"
:
"单据billDefine"
,
"key"
:
"billDefine"
},
{
"isRequired"
:
true
,
"ref"
:
"columnField"
,
"type"
:
"field"
,
"title"
:
"单据id"
,
"key"
:
"billId"
}
]
},
"description"
:
"年中调整"
,
"title"
:
"年中调整"
},
{
"value"
:
"DEQKD_batchEditorAction"
,
"discard"
:
false
,
"path"
:
"工会"
,
...
...
develop/@gms/gms-plugin-billexpand/src/mcon.js
View file @
faf6d847
...
...
@@ -76,6 +76,7 @@ import openNewPageDetail from "./query-actions/openNewPageDetail";
import
DEQKD_batchEditorAction
from
"./query-actions/DEQKD_batchEditorAction"
;
import
GH_cfBalance
from
"./query-actions/labourUnion/gh_cfBalance.js"
import
GH_cfProject
from
"./query-actions/labourUnion/gh_cfProject.js"
import
GH_djTransfer
from
"./query-actions/labourUnion/gh_djTransfer.js"
//control
import
applyDetail
from
'./control/applyDetail'
;
import
linkShowDetail
from
'./control/linkShowDetail'
;
...
...
@@ -219,6 +220,7 @@ export default {
lincaoReadView
,
openNewPageDetail
,
GH_cfBalance
,
GH_djTransfer
,
GH_cfProject
,
GH_agreeAction
,
GH_rejectAction
,
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/labourUnion/gh_djTransfer.js
0 → 100644
View file @
faf6d847
import
axios
from
'axios'
export
default
{
execute
(
context
,
param
)
{
if
(
!
param
.
billId
||
!
param
.
billDefine
)
{
context
.
dom
.
$Message
.
info
(
"请配置查询单据参数"
);
return
;
}
if
(
context
.
selects
&&
context
.
selects
.
length
==
0
)
{
context
.
dom
.
$Message
.
info
(
"请勾择需要结转的数据"
);
return
;
}
let
billDefine
=
param
.
billDefine
.
replace
(
/_E/gi
,
""
)
.
replace
(
/_R/gi
,
""
)
.
replace
(
/_A/gi
,
""
);
let
list
=
context
.
selects
.
map
(
v
=>
{
v
.
billDefine
=
billDefine
;
v
.
billId
=
v
[
param
.
billId
];
return
v
})
this
.
generateVoucher
(
list
,
context
);
},
generateVoucher
(
list
,
context
)
{
window
.
GMS
.
$http
.
post
(
"/rbczgh/modifyBudget"
,
list
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
0
){
context
.
dom
.
$Modal
.
warning
({
title
:
"信息提示"
,
content
:
res
.
data
.
msg
,
onOk
:
()
=>
{
GMS
.
vbus
.
$emit
(
"custom-query-refresh"
);
GMS
.
vbus
.
$emit
(
"tab-count-refresh"
);
},
});
}
else
{
context
.
dom
.
$Modal
.
error
({
title
:
"信息提示"
,
content
:
res
.
data
.
msg
,
onOk
:
()
=>
{},
});
}
});
}
}
\ No newline at end of file
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